summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-19 04:55:21 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-19 04:55:21 (GMT)
commit6438ecfd5026dc294c91a2efdc0ac84cdaddf8b5 (patch)
treebb7a1fbb1be80f5064bd0f15680e58f21d392d22 /src/declarative
parent2b386e05e495df97fffcdfb58096756ba6f394cd (diff)
downloadQt-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.cpp12
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsflickable_p.h3
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: