summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/MocOnly/StyleA.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/MocOnly/StyleA.hpp')
-rw-r--r--Tests/QtAutogen/MocOnly/StyleA.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocOnly/StyleA.hpp b/Tests/QtAutogen/MocOnly/StyleA.hpp
new file mode 100644
index 000000000..5ba0a8768
--- /dev/null
+++ b/Tests/QtAutogen/MocOnly/StyleA.hpp
@@ -0,0 +1,17 @@
+#ifndef STYLEA_HPP
+#define STYLEA_HPP
+
+#include <QObject>
+
+/* clang-format off */
+/// Q_OBJECT on a single new line
+///
+class StyleA : public QObject
+{
+ Q_OBJECT
+public:
+ StyleA();
+};
+/* clang-format on */
+
+#endif