summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocOnly/IncB.cpp
diff options
context:
space:
mode:
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"