summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/sameName/bbb/aaa/item.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-09-03 19:12:14 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-09-21 07:58:23 (GMT)
commit4eb7d81791d38042e13ced8c01cb4e3a3452c704 (patch)
treed8be53fe0b950d932d85310542d1f03e96621131 /Tests/QtAutogen/sameName/bbb/aaa/item.cpp
parent3f2237433991764479362c3f530201a0305a64d6 (diff)
downloadCMake-4eb7d81791d38042e13ced8c01cb4e3a3452c704.zip
CMake-4eb7d81791d38042e13ced8c01cb4e3a3452c704.tar.gz
CMake-4eb7d81791d38042e13ced8c01cb4e3a3452c704.tar.bz2
Autogen: Tests: Add <SUBDIR>/item.moc includes to sameName test
Diffstat (limited to 'Tests/QtAutogen/sameName/bbb/aaa/item.cpp')
-rw-r--r--Tests/QtAutogen/sameName/bbb/aaa/item.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/sameName/bbb/aaa/item.cpp b/Tests/QtAutogen/sameName/bbb/aaa/item.cpp
index ac4b2c2..7ad01c3 100644
--- a/Tests/QtAutogen/sameName/bbb/aaa/item.cpp
+++ b/Tests/QtAutogen/sameName/bbb/aaa/item.cpp
@@ -3,8 +3,20 @@
namespace bbb {
namespace aaa {
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
+
void Item::go()
{
+ MocLocal obj;
}
}
}
+
+#include "bbb/aaa/item.moc"