aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlsplitlib/lib2.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlsplitlib/lib2.h')
-rw-r--r--tests/auto/qml/qmlsplitlib/lib2.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlsplitlib/lib2.h b/tests/auto/qml/qmlsplitlib/lib2.h
new file mode 100644
index 0000000000..6d6aaddda5
--- /dev/null
+++ b/tests/auto/qml/qmlsplitlib/lib2.h
@@ -0,0 +1,30 @@
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#ifndef SPLITLIB_LIB2_H
+#define SPLITLIB_LIB2_H
+#include "tst-qmlsplitlib-library-2_export.h"
+
+#include <QtQmlIntegration/qqmlintegration.h>
+#include <QtCore/qglobal.h>
+#include <QObject>
+
+class TST_QMLSPLITLIB_LIBRARY_2_EXPORT SplitLib2 : public QObject
+{
+public:
+ Q_OBJECT
+ QML_ELEMENT
+
+ Q_INVOKABLE bool transmogrify();
+};
+
+
+class TST_QMLSPLITLIB_LIBRARY_2_EXPORT Foo2 : public QObject
+{
+public:
+ Q_OBJECT
+ QML_NAMED_ELEMENT(Bar2)
+ QML_SINGLETON
+};
+
+#endif