aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-01-23 11:45:19 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2023-01-26 11:42:33 +0100
commit0c5821b366ce32472a91c8907432e37e8618847f (patch)
treec977721573b2ad2017e68f045fb5c521242c47d1 /src
parent396a7454e63809935bd92d1fa35c8af4accaff10 (diff)
Code style: split deprecation message into its own line
Pick-to: 6.5 Change-Id: I6d871abe494a946ef88bfbff414745fbb2cbc1bf Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quick/items/qquickitem.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/quick/items/qquickitem.h b/src/quick/items/qquickitem.h
index a9dbc4d4ef..6a1f8db8c8 100644
--- a/src/quick/items/qquickitem.h
+++ b/src/quick/items/qquickitem.h
@@ -317,7 +317,8 @@ public:
void polish();
#if QT_DEPRECATED_SINCE(6, 5)
- QT_DEPRECATED_VERSION_X_6_5("Use typed overload or mapRectFromItem") void mapFromItem(QQmlV4Function*) const;
+ QT_DEPRECATED_VERSION_X_6_5("Use typed overload or mapRectFromItem")
+ void mapFromItem(QQmlV4Function*) const;
#endif
Q_INVOKABLE QPointF mapFromItem(const QQuickItem *item, const QPointF &point) const;
// overloads mainly exist for QML
@@ -326,7 +327,8 @@ public:
Q_INVOKABLE QRectF mapFromItem(const QQuickItem *item, qreal x, qreal y, qreal width, qreal height) const;
#if QT_DEPRECATED_SINCE(6, 5)
- QT_DEPRECATED_VERSION_X_6_5("Use typed overload or mapRectToItem") void mapToItem(QQmlV4Function*) const;
+ QT_DEPRECATED_VERSION_X_6_5("Use typed overload or mapRectToItem")
+ void mapToItem(QQmlV4Function*) const;
#endif
Q_INVOKABLE QPointF mapToItem(const QQuickItem *item, const QPointF &point) const;
// overloads mainly exist for QML
@@ -335,14 +337,16 @@ public:
Q_INVOKABLE QRectF mapToItem(const QQuickItem *item, qreal x, qreal y, qreal width, qreal height) const;
#if QT_DEPRECATED_SINCE(6, 5)
- QT_DEPRECATED_VERSION_X_6_5("Use the typed overload") Q_REVISION(2, 7) void mapFromGlobal(QQmlV4Function*) const;
+ QT_DEPRECATED_VERSION_X_6_5("Use the typed overload")
+ Q_REVISION(2, 7) void mapFromGlobal(QQmlV4Function*) const;
#endif
Q_REVISION(2, 7) Q_INVOKABLE QPointF mapFromGlobal(qreal x, qreal y) const;
// overload mainly exists for QML
Q_REVISION(2, 7) Q_INVOKABLE QPointF mapFromGlobal(const QPointF &point) const;
#if QT_DEPRECATED_SINCE(6, 5)
- QT_DEPRECATED_VERSION_X_6_5("Use the typed overload") Q_REVISION(2, 7) void mapToGlobal(QQmlV4Function*) const;
+ QT_DEPRECATED_VERSION_X_6_5("Use the typed overload")
+ Q_REVISION(2, 7) void mapToGlobal(QQmlV4Function*) const;
#endif
Q_REVISION(2, 7) Q_INVOKABLE QPointF mapToGlobal(qreal x, qreal y) const;
// overload only exist for QML