diff options
Diffstat (limited to 'src/declarative/fx/qfxpixmapcache.h')
-rw-r--r-- | src/declarative/fx/qfxpixmapcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxpixmapcache.h b/src/declarative/fx/qfxpixmapcache.h index ca5d47b..fb5b88a 100644 --- a/src/declarative/fx/qfxpixmapcache.h +++ b/src/declarative/fx/qfxpixmapcache.h @@ -60,7 +60,9 @@ public: static QNetworkReply *get(QmlEngine *, const QUrl& url, QPixmap *pixmap); static void cancelGet(const QUrl& url, QObject* obj); - static bool find(const QUrl& url, QPixmap *pixmap); // url must have been passed to QFxPixmapCache::get, and finished. Or must be a local file. + static bool find(const QUrl& url, QPixmap *pixmap); // url must have been passed to QFxPixmapCache::get, and any returned reply finished. + + static int pendingRequests(); // mainly for test verification }; QT_END_NAMESPACE |