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.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp
index 8d883f8..b0c47b2 100644
--- a/src/gvcore/filethumbnailview.cpp
+++ b/src/gvcore/filethumbnailview.cpp
@@ -186,25 +186,25 @@ FileThumbnailView::FileThumbnailView(TQWidget* parent)
// item is unselected after being clicked, so we use TDEIconView::Select mode
// and emit the execute() signal with slotClicked() ourself.
setMode(TDEIconView::Select);
- connect(this, TQT_SIGNAL(clicked(TQIconViewItem*)),
- this, TQT_SLOT(slotClicked(TQIconViewItem*)) );
- connect(this, TQT_SIGNAL(doubleClicked(TQIconViewItem*)),
- this, TQT_SLOT(slotDoubleClicked(TQIconViewItem*)) );
-
- connect(this, TQT_SIGNAL(dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&)),
- this, TQT_SLOT(slotDropped(TQDropEvent*)) );
- connect(this, TQT_SIGNAL( contentsMoving( int, int )),
- this, TQT_SLOT( slotContentsMoving( int, int )));
- connect(this, TQT_SIGNAL(currentChanged(TQIconViewItem*)),
- this, TQT_SLOT(slotCurrentChanged(TQIconViewItem*)) );
+ connect(this, TQ_SIGNAL(clicked(TQIconViewItem*)),
+ this, TQ_SLOT(slotClicked(TQIconViewItem*)) );
+ connect(this, TQ_SIGNAL(doubleClicked(TQIconViewItem*)),
+ this, TQ_SLOT(slotDoubleClicked(TQIconViewItem*)) );
+
+ connect(this, TQ_SIGNAL(dropped(TQDropEvent*,const TQValueList<TQIconDragItem>&)),
+ this, TQ_SLOT(slotDropped(TQDropEvent*)) );
+ connect(this, TQ_SIGNAL( contentsMoving( int, int )),
+ this, TQ_SLOT( slotContentsMoving( int, int )));
+ connect(this, TQ_SIGNAL(currentChanged(TQIconViewItem*)),
+ this, TQ_SLOT(slotCurrentChanged(TQIconViewItem*)) );
TQIconView::setSelectionMode(Extended);
- connect(BusyLevelManager::instance(), TQT_SIGNAL(busyLevelChanged(BusyLevel)),
- this, TQT_SLOT( slotBusyLevelChanged(BusyLevel)));
+ connect(BusyLevelManager::instance(), TQ_SIGNAL(busyLevelChanged(BusyLevel)),
+ this, TQ_SLOT( slotBusyLevelChanged(BusyLevel)));
- connect(d->mThumbnailUpdateTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT( startThumbnailUpdate()) );
+ connect(d->mThumbnailUpdateTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT( startThumbnailUpdate()) );
}
@@ -367,16 +367,16 @@ void FileThumbnailView::doStartThumbnailUpdate(const KFileItemList* list) {
Q_ASSERT(!d->mProgressWidget);
d->mProgressWidget=new ProgressWidget(this, imageList.count() );
- connect(d->mProgressWidget->stopButton(), TQT_SIGNAL(clicked()),
- this, TQT_SLOT(stopThumbnailUpdate()) );
+ connect(d->mProgressWidget->stopButton(), TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(stopThumbnailUpdate()) );
d->mProgressWidget->show();
d->mThumbnailLoadJob = new ThumbnailLoadJob(&imageList, d->mThumbnailSize);
- connect(d->mThumbnailLoadJob, TQT_SIGNAL(thumbnailLoaded(const KFileItem*, const TQPixmap&, const TQSize&)),
- this, TQT_SLOT(setThumbnailPixmap(const KFileItem*,const TQPixmap&, const TQSize&)) );
- connect(d->mThumbnailLoadJob, TQT_SIGNAL(result(TDEIO::Job*)),
- this, TQT_SLOT(slotUpdateEnded()) );
+ connect(d->mThumbnailLoadJob, TQ_SIGNAL(thumbnailLoaded(const KFileItem*, const TQPixmap&, const TQSize&)),
+ this, TQ_SLOT(setThumbnailPixmap(const KFileItem*,const TQPixmap&, const TQSize&)) );
+ connect(d->mThumbnailLoadJob, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(slotUpdateEnded()) );
slotBusyLevelChanged( BusyLevelManager::instance()->busyLevel());
// start updating at visible position
@@ -587,7 +587,7 @@ void FileThumbnailView::showEvent(TQShowEvent* event) {
if (!d->mUpdateThumbnailsOnNextShow) return;
d->mUpdateThumbnailsOnNextShow=false;
- TQTimer::singleShot(0, this, TQT_SLOT(startThumbnailUpdate()));
+ TQTimer::singleShot(0, this, TQ_SLOT(startThumbnailUpdate()));
}
@@ -682,7 +682,7 @@ void FileThumbnailView::slotCurrentChanged(TQIconViewItem* item ) {
d->mPrefetch = ImageLoader::loader(
static_cast<const FileThumbnailViewItem*>( cur->nextItem() )->fileItem()->url(),
this, BUSY_PRELOADING );
- connect( d->mPrefetch, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( prefetchDone()));
+ connect( d->mPrefetch, TQ_SIGNAL( imageLoaded( bool )), TQ_SLOT( prefetchDone()));
}
}
}
@@ -757,7 +757,7 @@ void FileThumbnailView::keyPressEvent( TQKeyEvent* e ) {
d->mPrefetch = ImageLoader::loader(
static_cast<const FileThumbnailViewItem*>( next )->fileItem()->url(),
this, BUSY_PRELOADING );
- connect( d->mPrefetch, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( prefetchDone()));
+ connect( d->mPrefetch, TQ_SIGNAL( imageLoaded( bool )), TQ_SLOT( prefetchDone()));
}
}