summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/MocOnly/IncA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/MocOnly/IncA.cpp')
-rw-r--r--Tests/QtAutogen/MocOnly/IncA.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocOnly/IncA.cpp b/Tests/QtAutogen/MocOnly/IncA.cpp
new file mode 100644
index 000000000..94610cd48
--- /dev/null
+++ b/Tests/QtAutogen/MocOnly/IncA.cpp
@@ -0,0 +1,19 @@
+#include "moc_IncA.cpp"
+/// AUTOMOC moc_ include on the first line of the file!
+#include "IncA.hpp"
+
+/// @brief Source local QObject
+///
+class IncAPrivate : public QObject
+{
+ Q_OBJECT
+public:
+ IncAPrivate(){};
+};
+
+IncA::IncA()
+{
+ IncAPrivate priv;
+}
+
+#include "IncA.moc"