aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypenotavailable_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmltypenotavailable_p.h')
-rw-r--r--src/qml/qml/qqmltypenotavailable_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmltypenotavailable_p.h b/src/qml/qml/qqmltypenotavailable_p.h
index 33630bf507..d8427f2961 100644
--- a/src/qml/qml/qqmltypenotavailable_p.h
+++ b/src/qml/qml/qqmltypenotavailable_p.h
@@ -55,11 +55,11 @@
QT_BEGIN_NAMESPACE
-
class QQmlTypeNotAvailable : public QObject {
Q_OBJECT
-public:
- QQmlTypeNotAvailable();
+ QML_NAMED_ELEMENT(TypeNotAvailable)
+ QML_UNCREATABLE("Type not available.")
+ QML_ADDED_IN_MINOR_VERSION(15)
};
QT_END_NAMESPACE