summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/skipSource/qItemC.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-08-22 17:09:50 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-08-22 17:10:31 (GMT)
commit13bb716f046e33d9dbd20ac2156deb0f677797d3 (patch)
tree0ee34ff60e8fe16a2c48cb6f138ea061b63e400e /Tests/QtAutogen/skipSource/qItemC.cpp
parent727247c31629b12a3e3eca44462250e21c6a54c8 (diff)
downloadCMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.zip
CMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.tar.gz
CMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.tar.bz2
Autogen: Fix and extend SKIP_AUTOMOC test
Diffstat (limited to 'Tests/QtAutogen/skipSource/qItemC.cpp')
-rw-r--r--Tests/QtAutogen/skipSource/qItemC.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/skipSource/qItemC.cpp b/Tests/QtAutogen/skipSource/qItemC.cpp
index 700abd6..622f282 100644
--- a/Tests/QtAutogen/skipSource/qItemC.cpp
+++ b/Tests/QtAutogen/skipSource/qItemC.cpp
@@ -1,5 +1,17 @@
#include "qItemC.hpp"
+class QItemC_Local : public QObject
+{
+ Q_OBJECT
+public:
+ QItemC_Local(){};
+ ~QItemC_Local(){};
+};
+
void QItemC::go()
{
+ QItemC_Local localObject;
}
+
+// We need AUTOMOC processing
+#include "qItemC.moc"