summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/qmlmacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/qmlmacro.h')
-rw-r--r--tests/auto/tools/moc/qmlmacro.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/qmlmacro.h b/tests/auto/tools/moc/qmlmacro.h
new file mode 100644
index 0000000000..cb3b291bf1
--- /dev/null
+++ b/tests/auto/tools/moc/qmlmacro.h
@@ -0,0 +1,19 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+
+#ifndef QMlMACRO_H
+#define QMlMACRO_H
+
+#include <QObject>
+#include <QByteArray>
+
+struct QmlMacro : QObject
+{
+ Q_OBJECT
+ Q_CLASSINFO("QML.Element", "auto")
+
+ signals:
+ void f(QByteArray &b);
+};
+#endif