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.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocPlugin/StyleD.hpp b/Tests/QtAutogen/mocPlugin/StyleD.hpp
new file mode 100644
index 0000000..df8a439
--- /dev/null
+++ b/Tests/QtAutogen/mocPlugin/StyleD.hpp
@@ -0,0 +1,17 @@
+#ifndef STYLED_HPP
+#define STYLED_HPP
+
+#include "StyleCommon.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")
+ A_CUSTOM_MACRO(SomeArg, "sub/StyleD_Custom.json", AnotherArg)
+public:
+ QStyle* create(const QString& key);
+};
+
+#endif