diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 07:16:54 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-04 07:18:28 (GMT) |
commit | 372f474d97f2169597f994ee80e6c3d5b7f6d7bf (patch) | |
tree | dbc09a6a774047f7e02f60039ccbe300d9c765eb | |
parent | a72a611f99acee05d44a5622ce50d25cdbb70b77 (diff) | |
download | Qt-372f474d97f2169597f994ee80e6c3d5b7f6d7bf.zip Qt-372f474d97f2169597f994ee80e6c3d5b7f6d7bf.tar.gz Qt-372f474d97f2169597f994ee80e6c3d5b7f6d7bf.tar.bz2 |
Mark QGraphicsItem position properties as FINAL
Some of these properties were already final, so this improves the
consistency. QTBUG-7948.
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.h b/src/gui/graphicsview/qgraphicsitem.h index d72833b..56f94a2 100644 --- a/src/gui/graphicsview/qgraphicsitem.h +++ b/src/gui/graphicsview/qgraphicsitem.h @@ -540,10 +540,10 @@ class Q_GUI_EXPORT QGraphicsObject : public QObject, public QGraphicsItem Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged FINAL) Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged) Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged FINAL) - Q_PROPERTY(QPointF pos READ pos WRITE setPos) - Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged) - Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged) - Q_PROPERTY(qreal z READ zValue WRITE setZValue NOTIFY zChanged) + Q_PROPERTY(QPointF pos READ pos WRITE setPos FINAL) + Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged FINAL) + Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged FINAL) + Q_PROPERTY(qreal z READ zValue WRITE setZValue NOTIFY zChanged FINAL) Q_PROPERTY(qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged) Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged) Q_PROPERTY(QPointF transformOriginPoint READ transformOriginPoint WRITE setTransformOriginPoint) |