summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocInclude/subB/SubObjB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/mocInclude/subB/SubObjB.cpp')
-rw-r--r--Tests/QtAutogen/mocInclude/subB/SubObjB.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocInclude/subB/SubObjB.cpp b/Tests/QtAutogen/mocInclude/subB/SubObjB.cpp
new file mode 100644
index 0000000..1e77639
--- /dev/null
+++ b/Tests/QtAutogen/mocInclude/subB/SubObjB.cpp
@@ -0,0 +1,27 @@
+#include "SubObjB.hpp"
+
+namespace subB {
+
+class SubObjB : public QObject
+{
+ Q_OBJECT
+
+public:
+ SubObjB() {}
+ ~SubObjB() {}
+
+ Q_SLOT
+ void aSlot();
+};
+
+void SubObjB::aSlot()
+{
+}
+
+void ObjB::go()
+{
+ SubObjB subObj;
+}
+}
+
+#include "SubObjB.moc"