summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeflickable_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-01-11 00:55:14 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-01-11 00:55:14 (GMT)
commit7ca750fad4e74929c9c34a98c19bde37747a9dc5 (patch)
tree9918f7ac4660ff0106b8f8f78be0559b6ba3c812 /src/declarative/graphicsitems/qdeclarativeflickable_p.h
parent7d43a31902ca6d2132004c45db313194c9669bb6 (diff)
downloadQt-7ca750fad4e74929c9c34a98c19bde37747a9dc5.zip
Qt-7ca750fad4e74929c9c34a98c19bde37747a9dc5.tar.gz
Qt-7ca750fad4e74929c9c34a98c19bde37747a9dc5.tar.bz2
Add versioning for new Flickable methods.
Task-number: QTBUG-15148
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeflickable_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeflickable_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable_p.h b/src/declarative/graphicsitems/qdeclarativeflickable_p.h
index ece2db7..4d3da92 100644
--- a/src/declarative/graphicsitems/qdeclarativeflickable_p.h
+++ b/src/declarative/graphicsitems/qdeclarativeflickable_p.h
@@ -149,9 +149,8 @@ public:
FlickableDirection flickableDirection() const;
void setFlickableDirection(FlickableDirection);
- //XXX Added in QtQuick 1.1
- Q_INVOKABLE void resizeContent(qreal w, qreal h, QPointF center);
- Q_INVOKABLE void returnToBounds();
+ Q_INVOKABLE Q_REVISION(1) void resizeContent(qreal w, qreal h, QPointF center);
+ Q_INVOKABLE Q_REVISION(1) void returnToBounds();
Q_SIGNALS:
void contentWidthChanged();