diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 20:14:10 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-29 03:46:10 (GMT) |
commit | a6afeb2f0a12d781f5599da34d16f4dabfc9ccdb (patch) | |
tree | 39e24488e019287a85987f6b5f9b234609fcf8f9 /src/declarative | |
parent | ab795618fed2ef88536e14d1ef91b692bd765400 (diff) | |
download | Qt-a6afeb2f0a12d781f5599da34d16f4dabfc9ccdb.zip Qt-a6afeb2f0a12d781f5599da34d16f4dabfc9ccdb.tar.gz Qt-a6afeb2f0a12d781f5599da34d16f4dabfc9ccdb.tar.bz2 |
remove scenePos() as it exists in QGraphicsItem.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 8 | ||||
-rw-r--r-- | src/declarative/fx/qfxitem.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index 35f3b71..318ad3b 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -1896,14 +1896,6 @@ void QFxItem::parentChanged(QFxItem *, QFxItem *) } /*! - Returns the item's (0, 0) point mapped to scene coordinates. - */ -QPointF QFxItem::scenePos() const -{ - return mapToScene(QPointF(0, 0)); -} - -/*! \enum QFxItem::TransformOrigin Controls the point about which simple transforms like scale apply. diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h index 822af74..1c0db84 100644 --- a/src/declarative/fx/qfxitem.h +++ b/src/declarative/fx/qfxitem.h @@ -226,8 +226,6 @@ public: void setImplicitHeight(qreal); bool heightValid() const; // ### better name? - QPointF scenePos() const; // ### remove me - TransformOrigin transformOrigin() const; void setTransformOrigin(TransformOrigin); QPointF transformOriginPoint() const; |