summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/Complex/bar.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-12-08 19:28:17 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-12-13 12:50:18 (GMT)
commit4988746e76703269d76c3fb633bafc0767fafbe4 (patch)
treed569e2f21cc046fb89e6ad601872542c972b9e78 /Tests/QtAutogen/Complex/bar.cpp
parent6ce6fd426ee7649a40c2f253dbc5f814650f0992 (diff)
downloadCMake-4988746e76703269d76c3fb633bafc0767fafbe4.zip
CMake-4988746e76703269d76c3fb633bafc0767fafbe4.tar.gz
CMake-4988746e76703269d76c3fb633bafc0767fafbe4.tar.bz2
Autogen: Tests: Separate Complex test
Diffstat (limited to 'Tests/QtAutogen/Complex/bar.cpp')
-rw-r--r--Tests/QtAutogen/Complex/bar.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Complex/bar.cpp b/Tests/QtAutogen/Complex/bar.cpp
new file mode 100644
index 0000000..734bd7a
--- /dev/null
+++ b/Tests/QtAutogen/Complex/bar.cpp
@@ -0,0 +1,17 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#include "sub/bar.h"
+
+#include <stdio.h>
+
+Bar::Bar()
+ : QObject()
+{
+}
+
+void Bar::doBar()
+{
+ printf("Hello bar !\n");
+}
+
+#include "sub/moc_bar.cpp"