summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/MocMacroName/Object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/MocMacroName/Object.hpp')
-rw-r--r--Tests/QtAutogen/MocMacroName/Object.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocMacroName/Object.hpp b/Tests/QtAutogen/MocMacroName/Object.hpp
new file mode 100644
index 000000000..aadae1f6d
--- /dev/null
+++ b/Tests/QtAutogen/MocMacroName/Object.hpp
@@ -0,0 +1,22 @@
+#ifndef OBJECT_HPP
+#define OBJECT_HPP
+
+#include <QObject>
+
+class Object : public QObject
+{
+ Q_OBJECT
+ Q_PROPERTY(int test READ getTest)
+public:
+ Object();
+
+ int getTest() { return _test; }
+
+ Q_SLOT
+ void aSlot();
+
+private:
+ int _test;
+};
+
+#endif