diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-01-11 00:55:14 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-01-11 00:55:14 (GMT) |
commit | 7ca750fad4e74929c9c34a98c19bde37747a9dc5 (patch) | |
tree | 9918f7ac4660ff0106b8f8f78be0559b6ba3c812 /src/declarative/graphicsitems/qdeclarativeflickable_p.h | |
parent | 7d43a31902ca6d2132004c45db313194c9669bb6 (diff) | |
download | Qt-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.h | 5 |
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(); |