diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2017-02-06 09:37:13 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2017-02-08 10:07:41 +0000 |
commit | ade0ed7fa9ad06a1dc1312e7abad8baf20f7b756 (patch) | |
tree | c0d32c4ba0191e17eb6729c9104cc644b799f0a0 /src | |
parent | 6cfeabe92db25a10812a657f7f4fdadfb505204d (diff) |
Improve QQuickAsyncImageProvider example
Also link it from more places
Change-Id: Ib5fbf89f4a039f885e918d57ee477e9788049d8d
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/util/qquickimageprovider.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp index 0c245d2b23..d2a8a5097c 100644 --- a/src/quick/util/qquickimageprovider.cpp +++ b/src/quick/util/qquickimageprovider.cpp @@ -158,6 +158,8 @@ QQuickTextureFactory *QQuickTextureFactory::textureFactoryForImage(const QImage If you are using QRunnable as base for your QQuickImageResponse ensure automatic deletion is disabled. + See the \l {imageresponseprovider}{Image Response Provider Example} for a complete implementation. + \sa QQuickImageProvider */ @@ -472,6 +474,8 @@ QQuickTextureFactory *QQuickImageProvider::requestTexture(const QString &id, QSi \inmodule QtQuick \brief The QQuickAsyncImageProvider class provides an interface for for asynchronous control of QML image requests. + See the \l {imageresponseprovider}{Image Response Provider Example} for a complete implementation. + \sa QQuickImageProvider */ QQuickAsyncImageProvider::QQuickAsyncImageProvider() |