summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocPlugin/StyleD.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/mocPlugin/StyleD.hpp')
-rw-r--r--Tests/QtAutogen/mocPlugin/StyleD.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocPlugin/StyleD.hpp b/Tests/QtAutogen/mocPlugin/StyleD.hpp
new file mode 100644
index 0000000..e58444d
--- /dev/null
+++ b/Tests/QtAutogen/mocPlugin/StyleD.hpp
@@ -0,0 +1,15 @@
+#ifndef STYLED_HPP
+#define STYLED_HPP
+
+#include <QStylePlugin>
+
+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