diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-01-20 00:06:19 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-01-20 00:06:19 (GMT) |
commit | 43d59c9c6efcf9a9dc65549a48969a66a5979367 (patch) | |
tree | 993d27264f2b26bb88b6573c426c5dfb3a8ac056 /src/declarative/util/qmlpixmapcache_p.h | |
parent | 6ed0a9f4fe48bc5a3cca4cb00c1c0cd4b4bac7bb (diff) | |
download | Qt-43d59c9c6efcf9a9dc65549a48969a66a5979367.zip Qt-43d59c9c6efcf9a9dc65549a48969a66a5979367.tar.gz Qt-43d59c9c6efcf9a9dc65549a48969a66a5979367.tar.bz2 |
Avoid using QUrl::toString() in QmlPixmapCache.
Diffstat (limited to 'src/declarative/util/qmlpixmapcache_p.h')
-rw-r--r-- | src/declarative/util/qmlpixmapcache_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qmlpixmapcache_p.h b/src/declarative/util/qmlpixmapcache_p.h index 4dcafcf..711e902 100644 --- a/src/declarative/util/qmlpixmapcache_p.h +++ b/src/declarative/util/qmlpixmapcache_p.h @@ -59,12 +59,14 @@ class Q_DECLARATIVE_EXPORT QmlPixmapReply : public QObject { Q_OBJECT public: - QmlPixmapReply(const QString &key, QNetworkReply *reply); + QmlPixmapReply(const QUrl &url, QNetworkReply *reply); ~QmlPixmapReply(); enum Status { Ready, Error, Unrequested, Loading, Decoding }; Status status() const; + const QUrl &url() const; + Q_SIGNALS: void finished(); void downloadProgress(qint64, qint64); |