author | unc0rr |
Sat, 11 Apr 2015 17:23:56 +0300 | |
branch | qmlfrontend |
changeset 10890 | 24e68c7d2e79 |
parent 10436 | 084e046f6bd5 |
permissions | -rw-r--r-- |
#ifndef THEMEICONPROVIDER_H #define THEMEICONPROVIDER_H #include <QQuickImageProvider> #include <QImage> #include "flib.h" class ThemeIconProvider : public QQuickImageProvider { public: ThemeIconProvider(); void setFileContentsFunction(getThemeIcon_t *f); QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize); private: getThemeIcon_t *getThemeIcon; }; #endif // THEMEICONPROVIDER_H