summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-10-30 10:21:12 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-11-03 11:14:40 (GMT)
commitb71a9598a408a134bd7d003b6586b345f2b961fe (patch)
tree48f8208f367d3b9cb9d6f88b3e64a6a55bf3bd44 /Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp
parentf74c406501e5ffb5b6a3c8b76c831ca87e8f0168 (diff)
downloadCMake-b71a9598a408a134bd7d003b6586b345f2b961fe.zip
CMake-b71a9598a408a134bd7d003b6586b345f2b961fe.tar.gz
CMake-b71a9598a408a134bd7d003b6586b345f2b961fe.tar.bz2
Autogen: Add test for AUTOGEN_ORIGIN_DEPENDS=OFF
Diffstat (limited to 'Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp')
-rw-r--r--Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp
new file mode 100644
index 0000000..d7f0311
--- /dev/null
+++ b/Tests/QtAutogen/AutogenOriginDependsOff/b_qt.hpp
@@ -0,0 +1,25 @@
+#ifndef B_QT_HPP
+#define B_QT_HPP
+
+#include <QObject>
+#include <config.hpp>
+#include <string>
+
+namespace b_qt {
+
+/// @brief A header local QObject based class
+class Header_QObject : public QObject
+{
+ Q_OBJECT
+public:
+ Header_QObject() {}
+ ~Header_QObject() {}
+
+ std::string str;
+};
+
+/// @brief Function that returns the content of mocs_compilation.cpp
+extern std::string mocs_compilation();
+}
+
+#endif