diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-05-04 17:53:51 +1000 |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-05-04 17:54:21 +1000 |
commit | 1b7c1b6ef86d3d56ff01b2eab118062a229b0d19 (patch) | |
tree | b85271416c0a6731b3a09bf6800c19bf574daeb1 /src/declarative/items/qsgimagebase_p.h | |
parent | ff62dede7b8f4d211ad1de922ccb901ab9ae055c (diff) |
Update SG items with GV item changes.
Diffstat (limited to 'src/declarative/items/qsgimagebase_p.h')
-rw-r--r-- | src/declarative/items/qsgimagebase_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/items/qsgimagebase_p.h b/src/declarative/items/qsgimagebase_p.h index fe42854304..00b14525f2 100644 --- a/src/declarative/items/qsgimagebase_p.h +++ b/src/declarative/items/qsgimagebase_p.h @@ -1,4 +1,4 @@ -// Commit: ab71df83ba4eb9d749efc0f3a2d4a0fe5486023f +// Commit: af05f64d3edc860c3cf79c7f0bdf2377faae5f40 /**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). @@ -60,7 +60,7 @@ class Q_AUTOTEST_EXPORT QSGImageBase : public QSGImplicitSizeItem Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged) Q_PROPERTY(bool asynchronous READ asynchronous WRITE setAsynchronous NOTIFY asynchronousChanged) Q_PROPERTY(bool cache READ cache WRITE setCache NOTIFY cacheChanged) - Q_PROPERTY(QSize sourceSize READ sourceSize WRITE setSourceSize NOTIFY sourceSizeChanged) + Q_PROPERTY(QSize sourceSize READ sourceSize WRITE setSourceSize RESET resetSourceSize NOTIFY sourceSizeChanged) Q_PROPERTY(bool mirror READ mirror WRITE setMirror NOTIFY mirrorChanged) public: @@ -81,6 +81,7 @@ public: virtual void setSourceSize(const QSize&); QSize sourceSize() const; + void resetSourceSize(); virtual void setMirror(bool mirror); bool mirror() const; |