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