diff options
author | Michele Calgaro <[email protected]> | 2023-12-07 17:17:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-07 17:17:09 +0900 |
commit | 831670cd1aa76b314b447cfa2d9c71603cbbf43e (patch) | |
tree | 5616a5ded1d1be90db68f1dbd14091c8a9d57386 /src/gvcore/filethumbnailview.cpp | |
parent | 9e6e0ff97a1c51067ef5144cde7dc30031c2ac3a (diff) | |
download | gwenview-831670cd1aa76b314b447cfa2d9c71603cbbf43e.tar.gz gwenview-831670cd1aa76b314b447cfa2d9c71603cbbf43e.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gvcore/filethumbnailview.cpp')
-rw-r--r-- | src/gvcore/filethumbnailview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp index ff528a7..8d883f8 100644 --- a/src/gvcore/filethumbnailview.cpp +++ b/src/gvcore/filethumbnailview.cpp @@ -109,7 +109,7 @@ public: } void updatePosition() { - FileThumbnailView* view=static_cast<FileThumbnailView*>(TQT_TQWIDGET(parent())); + FileThumbnailView* view=static_cast<FileThumbnailView*>(parent()); TQSize tmp=view->clipper()->size() - size(); move(tmp.width() - 2, tmp.height() - 2); } @@ -362,7 +362,7 @@ void FileThumbnailView::doStartThumbnailUpdate(const KFileItemList* list) { } if (imageList.empty()) return; - BusyLevelManager::instance()->setBusyLevel( TQT_TQOBJECT(this), BUSY_THUMBNAILS ); + BusyLevelManager::instance()->setBusyLevel( this, BUSY_THUMBNAILS ); Q_ASSERT(!d->mProgressWidget); d->mProgressWidget=new ProgressWidget(this, imageList.count() ); @@ -397,7 +397,7 @@ void FileThumbnailView::slotUpdateEnded() { delete d->mProgressWidget; d->mProgressWidget=0L; - BusyLevelManager::instance()->setBusyLevel( TQT_TQOBJECT(this), BUSY_NONE ); + BusyLevelManager::instance()->setBusyLevel( this, BUSY_NONE ); } @@ -681,7 +681,7 @@ void FileThumbnailView::slotCurrentChanged(TQIconViewItem* item ) { if( pos == item && pos->nextItem() != NULL ) { d->mPrefetch = ImageLoader::loader( static_cast<const FileThumbnailViewItem*>( cur->nextItem() )->fileItem()->url(), - TQT_TQOBJECT(this), BUSY_PRELOADING ); + this, BUSY_PRELOADING ); connect( d->mPrefetch, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( prefetchDone())); } } @@ -756,14 +756,14 @@ void FileThumbnailView::keyPressEvent( TQKeyEvent* e ) { if( next != NULL ) { d->mPrefetch = ImageLoader::loader( static_cast<const FileThumbnailViewItem*>( next )->fileItem()->url(), - TQT_TQOBJECT(this), BUSY_PRELOADING ); + this, BUSY_PRELOADING ); connect( d->mPrefetch, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( prefetchDone())); } } void FileThumbnailView::prefetchDone() { if( d->mPrefetch != NULL ) { - d->mPrefetch->release( TQT_TQOBJECT(this) ); + d->mPrefetch->release( this ); d->mPrefetch = NULL; } } |