summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/Complex/bar.cpp
diff options
context:
space:
mode:
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 000000000..734bd7a8e
--- /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"