aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/cppextensions/imageprovider/imageprovider.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-03-15 13:40:43 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-20 00:58:46 +0100
commitb143d3fb589e7ce7171c9975679fa47181a6a10f (patch)
tree9591c27b8a75dfd879914cdfaebe5a73fe8ab3c0 /examples/qml/cppextensions/imageprovider/imageprovider.cpp
parent3c19a66a0f2d121d7d1c8fae32afa34c6282e39b (diff)
Fix the build & docs after QQmlImageProvider was renamed
The class was renamed to QQuickImageProvider in commit 3bc907d155034fe64efc8cb6056b48f0c6401bfb. Change-Id: I91ff38244cee3ab651ed6caa4140a58cb742f1c9 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'examples/qml/cppextensions/imageprovider/imageprovider.cpp')
-rw-r--r--examples/qml/cppextensions/imageprovider/imageprovider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qml/cppextensions/imageprovider/imageprovider.cpp b/examples/qml/cppextensions/imageprovider/imageprovider.cpp
index f6632a89e8..d60057e83a 100644
--- a/examples/qml/cppextensions/imageprovider/imageprovider.cpp
+++ b/examples/qml/cppextensions/imageprovider/imageprovider.cpp
@@ -42,16 +42,16 @@
#include <qqmlextensionplugin.h>
#include <qqmlengine.h>
-#include <qqmlimageprovider.h>
+#include <qquickimageprovider.h>
#include <QImage>
#include <QPainter>
//![0]
-class ColorImageProvider : public QQmlImageProvider
+class ColorImageProvider : public QQuickImageProvider
{
public:
ColorImageProvider()
- : QQmlImageProvider(QQmlImageProvider::Pixmap)
+ : QQuickImageProvider(QQuickImageProvider::Pixmap)
{
}