summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocInclude/LObjA.hpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-07-09 10:45:07 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-07-20 14:55:11 (GMT)
commitf5ccef17515ed4794659923706989fa059b4df38 (patch)
treea89fb812c1806f77ffa12621cb055694ac8a79dc /Tests/QtAutogen/mocInclude/LObjA.hpp
parenta8d8d2fd05e65444e52adb5164a38f3c64b247d5 (diff)
downloadCMake-f5ccef17515ed4794659923706989fa059b4df38.zip
CMake-f5ccef17515ed4794659923706989fa059b4df38.tar.gz
CMake-f5ccef17515ed4794659923706989fa059b4df38.tar.bz2
Autogen: Extended mocInclude tests
The extended tests cover more AUTOMOC use cases.
Diffstat (limited to 'Tests/QtAutogen/mocInclude/LObjA.hpp')
-rw-r--r--Tests/QtAutogen/mocInclude/LObjA.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocInclude/LObjA.hpp b/Tests/QtAutogen/mocInclude/LObjA.hpp
new file mode 100644
index 0000000..aac670c
--- /dev/null
+++ b/Tests/QtAutogen/mocInclude/LObjA.hpp
@@ -0,0 +1,19 @@
+#ifndef LOBJA_HPP
+#define LOBJA_HPP
+
+#include <QObject>
+
+// Object source comes with a .moc include
+class LObjAPrivate;
+class LObjA : public QObject
+{
+ Q_OBJECT
+public:
+ LObjA();
+ ~LObjA();
+
+private:
+ LObjAPrivate* const d;
+};
+
+#endif