diff options
Diffstat (limited to 'Tests/QtAutogen/mocPlugin/StyleD.hpp')
-rw-r--r-- | Tests/QtAutogen/mocPlugin/StyleD.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Tests/QtAutogen/mocPlugin/StyleD.hpp b/Tests/QtAutogen/mocPlugin/StyleD.hpp index 2afe055..e58444d 100644 --- a/Tests/QtAutogen/mocPlugin/StyleD.hpp +++ b/Tests/QtAutogen/mocPlugin/StyleD.hpp @@ -3,6 +3,13 @@ #include <QStylePlugin> -class StyleD; +class StyleD : public QStylePlugin +{ + Q_OBJECT + // Json file in global sub director + Q_PLUGIN_METADATA(IID "org.styles.D" FILE "sub/StyleD.json") +public: + QStyle* create(const QString& key); +}; #endif |