summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeimage.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-01-18 00:40:26 (GMT)
committerBea Lam <bea.lam@nokia.com>2011-01-19 04:59:00 (GMT)
commit5ddfe819e93462eff396c24d10c0446c4cd9b0ac (patch)
treee4fca55eebf4772704f32bb7ec1924860753edda /src/declarative/graphicsitems/qdeclarativeimage.cpp
parentebd4bc73c46c2962742a682b6a391fb68c482aec (diff)
downloadQt-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/qdeclarativeimage.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeimage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimage.cpp b/src/declarative/graphicsitems/qdeclarativeimage.cpp
index 71a4f0c..2c9bde5 100644
--- a/src/declarative/graphicsitems/qdeclarativeimage.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeimage.cpp
@@ -459,11 +459,11 @@ QRectF QDeclarativeImage::boundingRect() const
*/
/*!
- \qmlproperty bool Image::cached
+ \qmlproperty bool Image::cache
\since Quick 1.1
- Specifies that the image should be cached. The default value is
- true. Setting \a cached to false is useful when dealing with large images,
+ Specifies whether the image should be cached. The default value is
+ true. Setting \a cache to false is useful when dealing with large images,
to make sure that they aren't cached at the expense of small 'ui element' images.
*/