diff options
Diffstat (limited to 'src/qml/qml/qqmlregistration.h')
-rw-r--r-- | src/qml/qml/qqmlregistration.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/qml/qml/qqmlregistration.h b/src/qml/qml/qqmlregistration.h index f40b39687c..562a79eaf1 100644 --- a/src/qml/qml/qqmlregistration.h +++ b/src/qml/qml/qqmlregistration.h @@ -10,19 +10,6 @@ // satisfy configure, which warns about public headers not using those QT_BEGIN_NAMESPACE -#define QML_FOREIGN(FOREIGN_TYPE) \ - Q_CLASSINFO("QML.Foreign", #FOREIGN_TYPE) \ - using QmlForeignType = FOREIGN_TYPE; \ - template<class, class> friend struct QML_PRIVATE_NAMESPACE::QmlResolved; \ - template<typename... Args> \ - friend void QML_REGISTER_TYPES_AND_REVISIONS(const char *uri, int versionMajor, QList<int> *); \ - inline constexpr void qt_qmlMarker_foreign() {} - -#define QML_FOREIGN_NAMESPACE(FOREIGN_NAMESPACE) \ - Q_CLASSINFO("QML.Foreign", #FOREIGN_NAMESPACE) - -#define QML_CUSTOMPARSER Q_CLASSINFO("QML.HasCustomParser", "true") - QT_END_NAMESPACE #endif // QQMLREGISTRATION_H |