summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocInclude/SObjCExtra.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-12-08 18:40:17 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-12-13 12:50:17 (GMT)
commitcc66d356510c51b5240239a212a511fb0d23dc9a (patch)
tree5a844861aebf5ede3030bc2aedad2bea6d02298e /Tests/QtAutogen/MocInclude/SObjCExtra.cpp
parent7971202b3c58f78008f5b651c048910fcc49c49f (diff)
downloadCMake-cc66d356510c51b5240239a212a511fb0d23dc9a.zip
CMake-cc66d356510c51b5240239a212a511fb0d23dc9a.tar.gz
CMake-cc66d356510c51b5240239a212a511fb0d23dc9a.tar.bz2
Autogen: Tests: Separate MocInclude test
Diffstat (limited to 'Tests/QtAutogen/MocInclude/SObjCExtra.cpp')
-rw-r--r--Tests/QtAutogen/MocInclude/SObjCExtra.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocInclude/SObjCExtra.cpp b/Tests/QtAutogen/MocInclude/SObjCExtra.cpp
new file mode 100644
index 0000000..55dd1c3
--- /dev/null
+++ b/Tests/QtAutogen/MocInclude/SObjCExtra.cpp
@@ -0,0 +1,31 @@
+#include "SObjCExtra.hpp"
+
+class SObjCLocalExtra : public QObject
+{
+ Q_OBJECT
+
+public:
+ SObjCLocalExtra();
+ ~SObjCLocalExtra();
+};
+
+SObjCLocalExtra::SObjCLocalExtra()
+{
+}
+
+SObjCLocalExtra::~SObjCLocalExtra()
+{
+}
+
+SObjCExtra::SObjCExtra()
+{
+}
+
+SObjCExtra::~SObjCExtra()
+{
+}
+
+// Externally generated header moc
+#include "SObjCExtra_extMoc.cpp"
+// AUTOMOC generated source moc
+#include "SObjCExtra.moc"