diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-01-18 00:40:26 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-01-19 04:59:00 (GMT) |
commit | 5ddfe819e93462eff396c24d10c0446c4cd9b0ac (patch) | |
tree | e4fca55eebf4772704f32bb7ec1924860753edda /src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h | |
parent | ebd4bc73c46c2962742a682b6a391fb68c482aec (diff) | |
download | Qt-5ddfe819e93462eff396c24d10c0446c4cd9b0ac.zip Qt-5ddfe819e93462eff396c24d10c0446c4cd9b0ac.tar.gz Qt-5ddfe819e93462eff396c24d10c0446c4cd9b0ac.tar.bz2 |
Rename Image::cached to 'cached' (and QDeclarativePixmap::Cached also)
This is to keep consistent property naming consistent. E.g. Image
has 'smooth', 'mirror' properties rather than 'smoothed', 'mirrored'.
For consistency QDeclarativePixmap::Cached was renamed as well.
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h index 475e7cd..39cf44e 100644 --- a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h @@ -71,7 +71,7 @@ public: progress(0.0), explicitSourceSize(false), async(false), - cached(true), + cache(true), mirror(false) { QGraphicsItemPrivate::flags = QGraphicsItemPrivate::flags & ~QGraphicsItem::ItemHasNoContents; @@ -84,7 +84,7 @@ public: QSize sourcesize; bool explicitSourceSize : 1; bool async : 1; - bool cached : 1; + bool cache : 1; bool mirror: 1; }; |