summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/sameName/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/sameName/item.cpp')
-rw-r--r--Tests/QtAutogen/sameName/item.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/QtAutogen/sameName/item.cpp b/Tests/QtAutogen/sameName/item.cpp
index e013cf3..3d1fbe7 100644
--- a/Tests/QtAutogen/sameName/item.cpp
+++ b/Tests/QtAutogen/sameName/item.cpp
@@ -1,5 +1,20 @@
#include "item.hpp"
+// Include ui_view.h in source and header
+#include <ui_view.h>
+
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
void Item::go()
{
+ Ui_View ui;
+ MocLocal obj;
}
+
+#include "item.moc"