summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocCMP0100/Obj.hh
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@web.de>2019-12-30 15:00:15 (GMT)
committerSebastian Holtermann <sebholt@web.de>2020-01-04 10:33:05 (GMT)
commit9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43 (patch)
treee5a52bff402d634c609da7fbd8d6d05dd7c10400 /Tests/QtAutogen/MocCMP0100/Obj.hh
parent8c2be3ae94986586aedc3c710694ee7f38296412 (diff)
downloadCMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.zip
CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.gz
CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.bz2
Tests: Add AUTOGEN policy CMP0100 test
Add a test for policy CMP0100 that configures whether or not AUTOMOC and AUTOUIC should process .hh header files.
Diffstat (limited to 'Tests/QtAutogen/MocCMP0100/Obj.hh')
-rw-r--r--Tests/QtAutogen/MocCMP0100/Obj.hh20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocCMP0100/Obj.hh b/Tests/QtAutogen/MocCMP0100/Obj.hh
new file mode 100644
index 0000000..940bfc2
--- /dev/null
+++ b/Tests/QtAutogen/MocCMP0100/Obj.hh
@@ -0,0 +1,20 @@
+#ifndef OBJ_HH
+#define OBJ_HH
+
+#include <QObject>
+
+// Qt enabled private class
+class ObjPrivate;
+// Qt enabled class
+class Obj : public QObject
+{
+ Q_OBJECT
+public:
+ Obj();
+ ~Obj();
+
+private:
+ ObjPrivate* const d;
+};
+
+#endif