diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-19 04:55:21 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-19 04:55:21 (GMT) |
commit | 6438ecfd5026dc294c91a2efdc0ac84cdaddf8b5 (patch) | |
tree | bb7a1fbb1be80f5064bd0f15680e58f21d392d22 /src/declarative | |
parent | 2b386e05e495df97fffcdfb58096756ba6f394cd (diff) | |
download | Qt-6438ecfd5026dc294c91a2efdc0ac84cdaddf8b5.zip Qt-6438ecfd5026dc294c91a2efdc0ac84cdaddf8b5.tar.gz Qt-6438ecfd5026dc294c91a2efdc0ac84cdaddf8b5.tar.bz2 |
Remove unused, duplicate methods.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicsflickable.cpp | 12 | ||||
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicsflickable_p.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsflickable.cpp b/src/declarative/graphicsitems/qmlgraphicsflickable.cpp index ea9c173..b3a34ed 100644 --- a/src/declarative/graphicsitems/qmlgraphicsflickable.cpp +++ b/src/declarative/graphicsitems/qmlgraphicsflickable.cpp @@ -568,18 +568,6 @@ QmlGraphicsItem *QmlGraphicsFlickable::viewport() return d->viewport; } -qreal QmlGraphicsFlickable::visibleX() const -{ - Q_D(const QmlGraphicsFlickable); - return -d->_moveX.value(); -} - -qreal QmlGraphicsFlickable::visibleY() const -{ - Q_D(const QmlGraphicsFlickable); - return -d->_moveY.value(); -} - QmlGraphicsFlickableVisibleArea *QmlGraphicsFlickable::visibleArea() { Q_D(QmlGraphicsFlickable); diff --git a/src/declarative/graphicsitems/qmlgraphicsflickable_p.h b/src/declarative/graphicsitems/qmlgraphicsflickable_p.h index 10447f6..50248e1 100644 --- a/src/declarative/graphicsitems/qmlgraphicsflickable_p.h +++ b/src/declarative/graphicsitems/qmlgraphicsflickable_p.h @@ -159,9 +159,6 @@ protected: void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); void timerEvent(QTimerEvent *event); - qreal visibleX() const; - qreal visibleY() const; - QmlGraphicsFlickableVisibleArea *visibleArea(); protected Q_SLOTS: |