summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filethumbnailview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/filethumbnailview.cpp')
-rw-r--r--src/gvcore/filethumbnailview.cpp12
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;
}
}