aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickimageprovider.cpp
diff options
context:
space:
mode:
authorXingtao Zhang <zhxt@ovi.com>2013-01-12 19:07:46 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-21 18:30:39 +0100
commit7c5b2e93a0f61e2fbc3d554b97e23009e22b68bc (patch)
treebb3eccdbf17103f6ce86cd1872dc8e0f5490c31c /src/quick/util/qquickimageprovider.cpp
parent0111e8b35341f363f6728f89f92232e86f3de3c5 (diff)
QQuickImageProvider: fixed three \snippet paths
Change-Id: I289e61c7e3acc3d7047b2b26fae624900e076586 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/quick/util/qquickimageprovider.cpp')
-rw-r--r--src/quick/util/qquickimageprovider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp
index 5242269393..fb75a7669e 100644
--- a/src/quick/util/qquickimageprovider.cpp
+++ b/src/quick/util/qquickimageprovider.cpp
@@ -169,7 +169,7 @@ QImage QQuickTextureFactory::image() const
an image provider named "colors", and the images to be loaded are "yellow"
and "red", respectively:
- \snippet qml/imageprovider/imageprovider-example.qml 0
+ \snippet quick/imageprovider/imageprovider-example.qml 0
When these images are loaded by QML, it looks for a matching image provider
and calls its requestImage() or requestPixmap() method (depending on its
@@ -180,9 +180,9 @@ QImage QQuickTextureFactory::image() const
requested by the above QML. This implementation dynamically
generates QPixmap images that are filled with the requested color:
- \snippet qml/imageprovider/imageprovider.cpp 0
+ \snippet quick/imageprovider/imageprovider.cpp 0
\codeline
- \snippet qml/imageprovider/imageprovider.cpp 1
+ \snippet quick/imageprovider/imageprovider.cpp 1
To make this provider accessible to QML, it is registered with the QML engine
with a "colors" identifier: