diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-15 17:02:43 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-16 16:53:33 +0200 |
commit | 09dd94091f88ca29b4f829b881fcedda4013e28d (patch) | |
tree | 9c0570ed97987e5864d7657e80bf842c50fecd1b /src/widgets/graphicsview/qgraphicsitem.h | |
parent | 90295dcd030e731acfbcfe480cadfe84200b1a0a (diff) |
Remove deprecated members from graphics view classes
Change-Id: Ia192de674b1085edcf4a88cdeada6df89b442ddd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsitem.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsitem.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitem.h b/src/widgets/graphicsview/qgraphicsitem.h index 0fb46fc9a8..5989c428f1 100644 --- a/src/widgets/graphicsview/qgraphicsitem.h +++ b/src/widgets/graphicsview/qgraphicsitem.h @@ -169,9 +169,6 @@ public: QGraphicsWidget *window() const; QGraphicsItem *panel() const; void setParentItem(QGraphicsItem *parent); -#if QT_DEPRECATED_SINCE(5, 0) - QT_DEPRECATED inline QList<QGraphicsItem *> children() const { return childItems(); } -#endif QList<QGraphicsItem *> childItems() const; bool isWidget() const; bool isWindow() const; @@ -233,10 +230,6 @@ public: Qt::MouseButtons acceptedMouseButtons() const; void setAcceptedMouseButtons(Qt::MouseButtons buttons); -#if QT_DEPRECATED_SINCE(5, 0) - QT_DEPRECATED inline bool acceptsHoverEvents() const { return acceptHoverEvents(); } - QT_DEPRECATED inline void setAcceptsHoverEvents(bool enabled) { setAcceptHoverEvents(enabled); } -#endif bool acceptHoverEvents() const; void setAcceptHoverEvents(bool enabled); bool acceptTouchEvents() const; @@ -287,12 +280,6 @@ public: QTransform itemTransform(const QGraphicsItem *other, bool *ok = nullptr) const; void setTransform(const QTransform &matrix, bool combine = false); void resetTransform(); -#if QT_DEPRECATED_SINCE(5, 0) - QT_DEPRECATED inline void rotate(qreal angle) { setTransform(QTransform().rotate(angle), true); } - QT_DEPRECATED inline void scale(qreal sx, qreal sy) { setTransform(QTransform::fromScale(sx, sy), true); } - QT_DEPRECATED inline void shear(qreal sh, qreal sv) { setTransform(QTransform().shear(sh, sv), true); } - QT_DEPRECATED inline void translate(qreal dx, qreal dy) { setTransform(QTransform::fromTranslate(dx, dy), true); } -#endif void setRotation(qreal angle); qreal rotation() const; |