aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/qml/qqml.h b/src/qml/qml/qqml.h
index 7f0c81c514..bac8039251 100644
--- a/src/qml/qml/qqml.h
+++ b/src/qml/qml/qqml.h
@@ -151,6 +151,10 @@
template<typename T, typename... Args> \
friend void QML_REGISTER_TYPES_AND_REVISIONS(const char *uri, int versionMajor, QList<int> *);
+#define QML_IMPLEMENTS_INTERFACES(INTERFACES) \
+ Q_INTERFACES(INTERFACES) \
+ enum class QmlIsInterface {yes = false};
+
#define QML_UNAVAILABLE \
QML_FOREIGN(QQmlTypeNotAvailable)