diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-14 03:56:05 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-14 03:56:05 (GMT) |
commit | 56693f7d247ee8da6b730b157d1871a1dceab5a8 (patch) | |
tree | 20849a97cc14e8d178bc6383c91382c43c0fd87e /src/declarative/extra | |
parent | e84c2895ff108b43515a5200a646610efea6d8da (diff) | |
download | Qt-56693f7d247ee8da6b730b157d1871a1dceab5a8.zip Qt-56693f7d247ee8da6b730b157d1871a1dceab5a8.tar.gz Qt-56693f7d247ee8da6b730b157d1871a1dceab5a8.tar.bz2 |
QFxPixmap -> QFxPixmapCache
Diffstat (limited to 'src/declarative/extra')
-rw-r--r-- | src/declarative/extra/qfxparticles.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/extra/qfxparticles.cpp b/src/declarative/extra/qfxparticles.cpp index f05f233..0e94ea6 100644 --- a/src/declarative/extra/qfxparticles.cpp +++ b/src/declarative/extra/qfxparticles.cpp @@ -50,7 +50,7 @@ #ifndef INT_MAX #define INT_MAX 2147483647 #endif -#include <qfxpixmap.h> +#include <qfxpixmapcache.h> #include <private/qfxperf_p.h> #include <private/qmlanimation_p.h> #include <QNetworkReply> @@ -617,7 +617,7 @@ QFxParticles::~QFxParticles() { Q_D(QFxParticles); if (!d->url.isEmpty()) - QFxPixmap::cancelGet(d->url, this); + QFxPixmapCache::cancelGet(d->url, this); } /*! @@ -638,7 +638,7 @@ QUrl QFxParticles::source() const void QFxParticles::imageLoaded() { Q_D(QFxParticles); - QFxPixmap::find(d->url, &d->image); + QFxPixmapCache::find(d->url, &d->image); d->paintItem->updateSize(); d->paintItem->update(); } @@ -651,7 +651,7 @@ void QFxParticles::setSource(const QUrl &name) return; if (!d->url.isEmpty()) - QFxPixmap::cancelGet(d->url, this); + QFxPixmapCache::cancelGet(d->url, this); if (name.isEmpty()) { d->url = name; d->image = QPixmap(); @@ -660,7 +660,7 @@ void QFxParticles::setSource(const QUrl &name) } else { d->url = name; Q_ASSERT(!name.isRelative()); - d->reply = QFxPixmap::get(qmlEngine(this), d->url, &d->image); + d->reply = QFxPixmapCache::get(qmlEngine(this), d->url, &d->image); if (d->reply) connect(d->reply, SIGNAL(finished()), this, SLOT(imageLoaded())); else { |