- Fix compilation with Qt 4.4

- Fix compilation with older boost libraries
This commit is contained in:
Christophe Dumez 2009-11-28 21:46:46 +00:00
parent 88b77a63ed
commit 9323660c79
9 changed files with 68 additions and 32 deletions

View file

@ -32,7 +32,6 @@
#define FEEDDOWNLOADER_H
#include <QString>
#include <QHash>
#include <QSettings>
#include <QListWidget>
#include <QListWidgetItem>
@ -47,6 +46,14 @@
#include "bittorrent.h"
#include "ui_feeddownloader.h"
#ifdef QT_4_5
#include <QHash>
#else
#include <QMap>
#define QHash QMap
#define toHash toMap
#endif
class FeedFilter: public QHash<QString, QVariant> {
private:
bool valid;
@ -477,4 +484,7 @@ protected slots:
};
#undef QHash
#undef toHash
#endif // FEEDDOWNLOADER_H