summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocOnly/IncB.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-01-18 09:31:49 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-01-18 17:38:45 (GMT)
commitff91a5d54b5458eaebab6be814624925a02eccd7 (patch)
tree8ea2dfdf77d1df28ca960d4ce6a9ca318d580d5c /Tests/QtAutogen/MocOnly/IncB.cpp
parenta1d491ca2721d234eb10553a9e336f51752aa2a0 (diff)
downloadCMake-ff91a5d54b5458eaebab6be814624925a02eccd7.zip
CMake-ff91a5d54b5458eaebab6be814624925a02eccd7.tar.gz
CMake-ff91a5d54b5458eaebab6be814624925a02eccd7.tar.bz2
Autogen: Tests: Extend AUTOMOC include patterns test
Diffstat (limited to 'Tests/QtAutogen/MocOnly/IncB.cpp')
-rw-r--r--Tests/QtAutogen/MocOnly/IncB.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocOnly/IncB.cpp b/Tests/QtAutogen/MocOnly/IncB.cpp
new file mode 100644
index 0000000..bd441a9
--- /dev/null
+++ b/Tests/QtAutogen/MocOnly/IncB.cpp
@@ -0,0 +1,19 @@
+#include "IncB.hpp"
+
+/// @brief Source local QObject
+///
+class IncBPrivate : public QObject
+{
+ Q_OBJECT
+public:
+ IncBPrivate(){};
+};
+
+IncB::IncB()
+{
+ IncBPrivate priv;
+}
+
+/// AUTOMOC moc_ include on the last line of the file!
+#include "IncB.moc"
+#include "moc_IncB.cpp"