summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/SameName/ccc/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/SameName/ccc/item.cpp')
-rw-r--r--Tests/QtAutogen/SameName/ccc/item.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Tests/QtAutogen/SameName/ccc/item.cpp b/Tests/QtAutogen/SameName/ccc/item.cpp
new file mode 100644
index 0000000..ab8a281
--- /dev/null
+++ b/Tests/QtAutogen/SameName/ccc/item.cpp
@@ -0,0 +1,25 @@
+#include "item.hpp"
+// Include ui_view.h in source and header
+#include <ccc/ui_view.h>
+
+namespace ccc {
+
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
+
+void Item::go()
+{
+ Ui_ViewCCC ui;
+ MocLocal obj;
+}
+}
+
+// Include own moc files
+#include "ccc/item.moc"
+#include "moc_item.cpp"