Line data Source code
1 : /**
2 : * @file
3 : *
4 : * @brief XDG QQuickImageProvider (original source from http://gitlab.unique-conception.org/qt-libraries/lib-qt-qml-tricks)
5 : * @author Gabriel Rauter (rauter.gabriel@gmail.com)
6 : * @author Thomas Boutroue (thebootroo@gmail.com)
7 : * @copyright relicenced under BSD License (see LICENSE.md or https://www.libelektra.org)
8 : */
9 :
10 : #ifndef QQUICKTHEMEICONPROVIDER_H
11 : #define QQUICKTHEMEICONPROVIDER_H
12 :
13 : #include <QObject>
14 : #include <QPixmap>
15 : #include <QQuickImageProvider>
16 :
17 0 : class QQuickThemeIconProvider : public QQuickImageProvider
18 : {
19 : public:
20 : explicit QQuickThemeIconProvider (void);
21 :
22 : QPixmap requestPixmap (const QString & id, QSize * actualSize, const QSize & requestedSize);
23 : };
24 :
25 : #endif // QQUICKTHEMEICONPROVIDER_H
|