summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsitem.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-04 02:45:16 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-04 02:45:16 (GMT)
commit240f2732b808d4c23366f8a432136832b6dd86d5 (patch)
tree49625bf47b11755fc142d6a998ce6499d88729b9 /src/declarative/graphicsitems/qmlgraphicsitem.h
parent211791498291d7c8e7d1bbae5ba22863ac421179 (diff)
downloadQt-240f2732b808d4c23366f8a432136832b6dd86d5.zip
Qt-240f2732b808d4c23366f8a432136832b6dd86d5.tar.gz
Qt-240f2732b808d4c23366f8a432136832b6dd86d5.tar.bz2
use same name for setter/getter and property
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsitem.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsitem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsitem.h b/src/declarative/graphicsitems/qmlgraphicsitem.h
index bdfc245..f64964c 100644
--- a/src/declarative/graphicsitems/qmlgraphicsitem.h
+++ b/src/declarative/graphicsitems/qmlgraphicsitem.h
@@ -91,7 +91,7 @@ class Q_DECLARATIVE_EXPORT QmlGraphicsItem : public QGraphicsObject, public QmlP
Q_PROPERTY(bool wantsFocus READ wantsFocus NOTIFY wantsFocusChanged)
Q_PROPERTY(QmlList<QGraphicsTransform *>* transform READ transform DESIGNABLE false FINAL)
Q_PROPERTY(TransformOrigin transformOrigin READ transformOrigin WRITE setTransformOrigin)
- Q_PROPERTY(bool smooth READ smoothTransform WRITE setSmoothTransform)
+ Q_PROPERTY(bool smooth READ smooth WRITE setSmooth)
Q_PROPERTY(QGraphicsEffect *effect READ graphicsEffect WRITE setGraphicsEffect)
Q_ENUMS(TransformOrigin)
Q_CLASSINFO("DefaultProperty", "data")
@@ -144,8 +144,8 @@ public:
TransformOrigin transformOrigin() const;
void setTransformOrigin(TransformOrigin);
- bool smoothTransform() const;
- void setSmoothTransform(bool);
+ bool smooth() const;
+ void setSmooth(bool);
QRectF boundingRect() const;
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);