summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/sameName/aaa/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/sameName/aaa/item.cpp')
-rw-r--r--Tests/QtAutogen/sameName/aaa/item.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/QtAutogen/sameName/aaa/item.cpp b/Tests/QtAutogen/sameName/aaa/item.cpp
index 95dd3b6..e35d3d1 100644
--- a/Tests/QtAutogen/sameName/aaa/item.cpp
+++ b/Tests/QtAutogen/sameName/aaa/item.cpp
@@ -1,8 +1,22 @@
#include "item.hpp"
+// Include ui_view.h only in header
namespace aaa {
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
+
void Item::go()
{
+ Ui_ViewAAA ui;
+ MocLocal obj;
}
}
+
+#include "aaa/item.moc"