12345678910111213141516171819202122232425 |
- #ifndef FILEICONPROVIDER_H
- #define FILEICONPROVIDER_H
- #include <QDeclarativeImageProvider>
- #include <QDirModel>
- #include <QMap>
- class FileIconProvider : public QDeclarativeImageProvider
- {
- public:
- explicit FileIconProvider();
- QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);
- signals:
- public slots:
- private:
- QMap<QString,QString> mIconsMap;
- };
- #endif // FILEICONPROVIDER_H
|