diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-04 03:06:09 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-04 03:06:09 (GMT) |
commit | d11f0b71ba8cae27aafc70fedf027f20180837e2 (patch) | |
tree | b96715a487e81e68bd87831cc02a595ddfb232b0 /src/declarative/extra | |
parent | 89b7c36a40afa536c77fc1f3088a3747c070f887 (diff) | |
download | Qt-d11f0b71ba8cae27aafc70fedf027f20180837e2.zip Qt-d11f0b71ba8cae27aafc70fedf027f20180837e2.tar.gz Qt-d11f0b71ba8cae27aafc70fedf027f20180837e2.tar.bz2 |
Rename QmlGraphicsPixmapCache to QmlPixmapCache.
Diffstat (limited to 'src/declarative/extra')
-rw-r--r-- | src/declarative/extra/qmlgraphicsparticles.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/extra/qmlgraphicsparticles.cpp b/src/declarative/extra/qmlgraphicsparticles.cpp index aba7e27..0349a4e 100644 --- a/src/declarative/extra/qmlgraphicsparticles.cpp +++ b/src/declarative/extra/qmlgraphicsparticles.cpp @@ -50,7 +50,7 @@ #ifndef INT_MAX #define INT_MAX 2147483647 #endif -#include <private/qmlgraphicspixmapcache_p.h> +#include <private/qmlpixmapcache_p.h> #include <private/qfxperf_p_p.h> #include <private/qmlanimation_p_p.h> #include <QNetworkReply> @@ -619,7 +619,7 @@ QmlGraphicsParticles::~QmlGraphicsParticles() { Q_D(QmlGraphicsParticles); if (d->pendingPixmapCache) - QmlGraphicsPixmapCache::cancelGet(d->url, this); + QmlPixmapCache::cancelGet(d->url, this); } /*! @@ -641,7 +641,7 @@ void QmlGraphicsParticles::imageLoaded() { Q_D(QmlGraphicsParticles); d->pendingPixmapCache = false; - QmlGraphicsPixmapCache::find(d->url, &d->image); + QmlPixmapCache::find(d->url, &d->image); d->paintItem->updateSize(); d->paintItem->update(); } @@ -654,7 +654,7 @@ void QmlGraphicsParticles::setSource(const QUrl &name) return; if (d->pendingPixmapCache) { - QmlGraphicsPixmapCache::cancelGet(d->url, this); + QmlPixmapCache::cancelGet(d->url, this); d->pendingPixmapCache = false; } if (name.isEmpty()) { @@ -665,7 +665,7 @@ void QmlGraphicsParticles::setSource(const QUrl &name) } else { d->url = name; Q_ASSERT(!name.isRelative()); - QNetworkReply *reply = QmlGraphicsPixmapCache::get(qmlEngine(this), d->url, &d->image); + QNetworkReply *reply = QmlPixmapCache::get(qmlEngine(this), d->url, &d->image); if (reply) { connect(reply, SIGNAL(finished()), this, SLOT(imageLoaded())); d->pendingPixmapCache = true; |