summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageloader.cpp')
-rw-r--r--src/gvcore/imageloader.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp
index a17a7a8..406a378 100644
--- a/src/gvcore/imageloader.cpp
+++ b/src/gvcore/imageloader.cpp
@@ -148,7 +148,7 @@ void DecoderThread::run() {
if (!ok) {
LOG("failed");
- postSignal( this, TQT_SIGNAL(failed()) );
+ postSignal( this, TQ_SIGNAL(failed()) );
return;
}
@@ -157,7 +157,7 @@ void DecoderThread::run() {
}
LOG("succeeded, emitting signal");
- postSignal( this, TQT_SIGNAL(succeeded()) );
+ postSignal( this, TQ_SIGNAL(succeeded()) );
}
@@ -288,8 +288,8 @@ public:
ImageLoader::ImageLoader() {
LOG("");
d = new ImageLoaderPrivate(this);
- connect( BusyLevelManager::instance(), TQT_SIGNAL( busyLevelChanged(BusyLevel)),
- this, TQT_SLOT( slotBusyLevelChanged(BusyLevel)));
+ connect( BusyLevelManager::instance(), TQ_SIGNAL( busyLevelChanged(BusyLevel)),
+ this, TQ_SLOT( slotBusyLevelChanged(BusyLevel)));
}
@@ -312,12 +312,12 @@ void ImageLoader::startLoading() {
d->mTimestamp = Cache::instance()->timestamp( d->mURL );
slotBusyLevelChanged( BusyLevelManager::instance()->busyLevel());
- connect(&d->mDecoderTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(decodeChunk()) );
+ connect(&d->mDecoderTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(decodeChunk()) );
- connect(&d->mDecoderThread, TQT_SIGNAL(succeeded()),
- this, TQT_SLOT(slotDecoderThreadSucceeded()) );
- connect(&d->mDecoderThread, TQT_SIGNAL(failed()),
- this, TQT_SLOT(slotDecoderThreadFailed()) );
+ connect(&d->mDecoderThread, TQ_SIGNAL(succeeded()),
+ this, TQ_SLOT(slotDecoderThreadSucceeded()) );
+ connect(&d->mDecoderThread, TQ_SIGNAL(failed()),
+ this, TQ_SLOT(slotDecoderThreadFailed()) );
checkPendingStat();
}
@@ -327,8 +327,8 @@ void ImageLoader::checkPendingStat() {
TDEIO::Job* job=TDEIO::stat( d->mURL, false );
job->setWindow(TDEApplication::kApplication()->mainWidget());
- connect(job, TQT_SIGNAL(result(TDEIO::Job*)),
- this, TQT_SLOT(slotStatResult(TDEIO::Job*)) );
+ connect(job, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(slotStatResult(TDEIO::Job*)) );
d->mGetState = GET_STATING;
}
@@ -394,11 +394,11 @@ void ImageLoader::checkPendingGet() {
TDEIO::Job* getJob=TDEIO::get( d->mURL, false, false);
getJob->setWindow(TDEApplication::kApplication()->mainWidget());
- connect(getJob, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
- this, TQT_SLOT(slotDataReceived(TDEIO::Job*, const TQByteArray&)) );
+ connect(getJob, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
+ this, TQ_SLOT(slotDataReceived(TDEIO::Job*, const TQByteArray&)) );
- connect(getJob, TQT_SIGNAL(result(TDEIO::Job*)),
- this, TQT_SLOT(slotGetResult(TDEIO::Job*)) );
+ connect(getJob, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(slotGetResult(TDEIO::Job*)) );
d->mTimeSinceLastUpdate.start();
d->mGetState = GET_GETTING;
@@ -655,7 +655,7 @@ void ImageLoader::end() {
// when we return from this function we will be in decodeChunk(), after the
// call to decode(), so we don't want to switch to a new impl yet, since
// this means deleting "this".
- TQTimer::singleShot(0, this, TQT_SLOT(callFinish()) );
+ TQTimer::singleShot(0, this, TQ_SLOT(callFinish()) );
}
@@ -858,7 +858,7 @@ void ImageLoader::ref( const TQObject* owner, BusyLevel priority ) {
data.owner = owner;
data.priority = priority;
d->mOwners.append( data );
- connect( owner, TQT_SIGNAL( destroyed()), TQT_SLOT( ownerDestroyed()));
+ connect( owner, TQ_SIGNAL( destroyed()), TQ_SLOT( ownerDestroyed()));
}
void ImageLoader::deref( const TQObject* owner ) {
@@ -909,7 +909,7 @@ ImageLoader* ImageLoader::loader( const KURL& url, const TQObject* owner, BusyLe
// This also helps with preloading jobs, since BUSY_LOADING busy level is not entered immediately
// when a new picture is selected, so preloading jobs without this delay could start working
// immediately.
- TQTimer::singleShot( priority >= BUSY_LOADING ? 0 : 10, loader, TQT_SLOT( startLoading()));
+ TQTimer::singleShot( priority >= BUSY_LOADING ? 0 : 10, loader, TQ_SLOT( startLoading()));
return loader;
}