From 7c5b2e93a0f61e2fbc3d554b97e23009e22b68bc Mon Sep 17 00:00:00 2001 From: Xingtao Zhang Date: Sat, 12 Jan 2013 19:07:46 +0000 Subject: [PATCH] QQuickImageProvider: fixed three \snippet paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I289e61c7e3acc3d7047b2b26fae624900e076586 Reviewed-by: Topi Reiniö Reviewed-by: Venugopal Shivashankar Reviewed-by: Jerome Pasion --- src/quick/util/qquickimageprovider.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp index 5242269..fb75a76 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: -- 1.7.2.5