diff options
author | Semih Yavuz <semih.yavuz@qt.io> | 2024-03-04 11:56:53 +0100 |
---|---|---|
committer | Semih Yavuz <semih.yavuz@qt.io> | 2024-03-04 13:41:41 +0100 |
commit | 05cc10865e8324d5dca84340a477d619a460063f (patch) | |
tree | 8615748c6a46147e9f7cf1ba953dea30da3119a3 | |
parent | fafdee52d70d03c22c89f77186ae6bb49cc939b3 (diff) |
QQuickEvents: add revision to 6.7
QQuickEvents were anonymous before 6.7, so this is a safe change,
as it could not be referred by name before. We need to mark it as new
in 6.7, as otherwise it might clash with other names.
Pick-to: dev
Change-Id: Ia7c77c683fac0fcd12ba52d44d8ea8d0fd48e79f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | src/quick/items/qquickevents_p_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquickevents_p_p.h b/src/quick/items/qquickevents_p_p.h index d65f519d4c..0f818daad4 100644 --- a/src/quick/items/qquickevents_p_p.h +++ b/src/quick/items/qquickevents_p_p.h @@ -48,7 +48,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickKeyEvent : public QObject Q_PROPERTY(bool accepted READ isAccepted WRITE setAccepted FINAL) QML_NAMED_ELEMENT(KeyEvent) QML_UNCREATABLE("Should only be used by signal handlers in the Keys attached property") - QML_ADDED_IN_VERSION(2, 0) + QML_ADDED_IN_VERSION(6, 7) public: QQuickKeyEvent() @@ -120,7 +120,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickMouseEvent : public QObject Q_PROPERTY(int flags READ flags CONSTANT REVISION(2, 11) FINAL) QML_NAMED_ELEMENT(MouseEvent) QML_UNCREATABLE("Should only be used by mouse event signal handlers, for example in MouseArea") - QML_ADDED_IN_VERSION(2, 0) + QML_ADDED_IN_VERSION(6, 7) public: QQuickMouseEvent() @@ -194,7 +194,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickWheelEvent : public QObject Q_PROPERTY(bool accepted READ isAccepted WRITE setAccepted FINAL) QML_NAMED_ELEMENT(WheelEvent) QML_UNCREATABLE("Should only be used by wheel event signal handlers, for example in MouseArea") - QML_ADDED_IN_VERSION(2, 0) + QML_ADDED_IN_VERSION(6, 7) public: QQuickWheelEvent() = default; @@ -245,7 +245,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickCloseEvent : public QObject Q_PROPERTY(bool accepted READ isAccepted WRITE setAccepted FINAL) QML_NAMED_ELEMENT(CloseEvent) QML_UNCREATABLE("Should only be used by Window's closing signal") - QML_ADDED_IN_VERSION(2, 0) + QML_ADDED_IN_VERSION(6, 7) public: QQuickCloseEvent() {} |