Fixes AnimatedImage documentation
authorYann Bodson <yann.bodson@nokia.com>
Tue, 26 Jul 2011 02:43:25 +0000 (12:43 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jul 2011 02:45:38 +0000 (04:45 +0200)
Animated images are not cached or shared internally.

Task-number: QTBUG-14847
Change-Id: I0b9362a4ff9299b4c18057fb6f005925386f48d1
Reviewed-on: http://codereview.qt.nokia.com/2143
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/qtquick1/graphicsitems/qdeclarativeanimatedimage.cpp

index ac72344..b1866e4 100644 (file)
@@ -83,6 +83,8 @@ QT_BEGIN_NAMESPACE
     about its state, such as the current frame and total number of frames.
     The result is an animated image with a simple progress indicator underneath it.
 
+    \bold Note: Unlike images, animated images are not cached or shared internally.
+
     \clearfloat
     \snippet doc/src/snippets/declarative/animatedimage.qml document
 
@@ -116,15 +118,6 @@ QT_BEGIN_NAMESPACE
 */
 
 /*!
-    \qmlproperty bool QtQuick1::AnimatedImage::cache
-    \since Quick 1.1
-
-    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.
-*/
-
-/*!
     \qmlproperty bool QtQuick1::AnimatedImage::mirror
     \since Quick 1.1