summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/Complex/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/Complex/foo.h')
-rw-r--r--Tests/QtAutogen/Complex/foo.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Complex/foo.h b/Tests/QtAutogen/Complex/foo.h
new file mode 100644
index 000000000..3e03fe6bd
--- /dev/null
+++ b/Tests/QtAutogen/Complex/foo.h
@@ -0,0 +1,20 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#ifndef FOO_H
+#define FOO_H
+
+#include <QObject>
+
+class Foo
+#ifdef FOO
+ : public QObject
+#endif
+{
+ Q_OBJECT
+public:
+ Foo();
+public slots:
+ void doFoo();
+};
+
+#endif