QQuickImageProvider: fixed three \snippet paths
authorXingtao Zhang <zhxt@ovi.com>
Sat, 12 Jan 2013 19:07:46 +0000 (19:07 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 21 Jan 2013 17:30:39 +0000 (18:30 +0100)
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>

src/quick/util/qquickimageprovider.cpp

index 5242269..fb75a76 100644 (file)
@@ -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: