summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/complex/gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/complex/gadget.h')
-rw-r--r--Tests/QtAutogen/complex/gadget.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/complex/gadget.h b/Tests/QtAutogen/complex/gadget.h
new file mode 100644
index 0000000..3253e31
--- /dev/null
+++ b/Tests/QtAutogen/complex/gadget.h
@@ -0,0 +1,19 @@
+
+#ifndef GADGET_H
+#define GADGET_H
+
+#include <QObject>
+
+class Gadget
+{
+ Q_GADGET
+ Q_ENUMS(Type)
+public:
+ enum Type
+ {
+ Type0,
+ Type1
+ };
+};
+
+#endif