diff options
author | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
commit | 97ea83f8b23cc80320874b97b671c736a83c378a (patch) | |
tree | 8da6950abf3ecb5696ffd969bac30d6e05ce9620 /src/gvcore/thumbnailloadjob.cpp | |
parent | 831670cd1aa76b314b447cfa2d9c71603cbbf43e (diff) | |
download | gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.tar.gz gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gvcore/thumbnailloadjob.cpp')
-rw-r--r-- | src/gvcore/thumbnailloadjob.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/thumbnailloadjob.cpp b/src/gvcore/thumbnailloadjob.cpp index 7969855..826d641 100644 --- a/src/gvcore/thumbnailloadjob.cpp +++ b/src/gvcore/thumbnailloadjob.cpp @@ -123,7 +123,7 @@ void ThumbnailThread::run() { loadThumbnail(); mPixPath = TQString(); // done, ready for next TQSize size(mOriginalWidth, mOriginalHeight); - emitCancellableSignal( this, TQT_SIGNAL( done( const TQImage&, const TQSize&)), mImage, size); + emitCancellableSignal( this, TQ_SIGNAL( done( const TQImage&, const TQSize&)), mImage, size); } } @@ -387,8 +387,8 @@ ThumbnailLoadJob::ThumbnailLoadJob(const TQValueVector<const KFileItem*>* items, tqFill( mProcessedState.begin(), mProcessedState.end(), false ); mCurrentItem = NULL; - connect(&mThumbnailThread, TQT_SIGNAL(done(const TQImage&, const TQSize&)), - TQT_SLOT(thumbnailReady(const TQImage&, const TQSize&)) ); + connect(&mThumbnailThread, TQ_SIGNAL(done(const TQImage&, const TQSize&)), + TQ_SLOT(thumbnailReady(const TQImage&, const TQSize&)) ); Cache::instance()->updateAge(); // see addThumbnail in Cache } @@ -548,7 +548,7 @@ void ThumbnailLoadJob::determineNextIcon() { KDE_struct_stat buff; if ( KDE_stat( TQFile::encodeName(mCurrentURL.path()), &buff ) == 0 ) { mOriginalTime = buff.st_mtime; - TQTimer::singleShot( 0, this, TQT_SLOT( checkThumbnail())); + TQTimer::singleShot( 0, this, TQ_SLOT( checkThumbnail())); } } if( mOriginalTime == 0 ) { // TDEIO must be used @@ -711,10 +711,10 @@ void ThumbnailLoadJob::checkThumbnail() { list.append(mCurrentItem); TDEIO::Job* job=TDEIO::filePreview(list, mThumbnailSize); job->setWindow(TDEApplication::kApplication()->mainWidget()); - connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - this, TQT_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)) ); - connect(job, TQT_SIGNAL(failed(const KFileItem*)), - this, TQT_SLOT(emitThumbnailLoadingFailed()) ); + connect(job, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + this, TQ_SLOT(slotGotPreview(const KFileItem*, const TQPixmap&)) ); + connect(job, TQ_SIGNAL(failed(const KFileItem*)), + this, TQ_SLOT(emitThumbnailLoadingFailed()) ); addSubjob(job); return; } |