diff options
Diffstat (limited to 'src/gvcore/filethumbnailview.cpp')
-rw-r--r-- | src/gvcore/filethumbnailview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp index 387c497..ddff849 100644 --- a/src/gvcore/filethumbnailview.cpp +++ b/src/gvcore/filethumbnailview.cpp @@ -160,7 +160,7 @@ static FileThumbnailViewItem* viewItem(const FileThumbnailView* view, const KFil FileThumbnailView::FileThumbnailView(TQWidget* parent) -: KIconView(parent), FileViewBase() +: TDEIconView(parent), FileViewBase() { d=new Private; d->mUpdateThumbnailsOnNextShow=false; @@ -183,10 +183,10 @@ FileThumbnailView::FileThumbnailView(TQWidget* parent) setSpacing(0); setAcceptDrops(true); - // We can't use KIconView::Execute mode because in this mode the current - // item is unselected after being clicked, so we use KIconView::Select mode + // We can't use TDEIconView::Execute mode because in this mode the current + // item is unselected after being clicked, so we use TDEIconView::Select mode // and emit the execute() signal with slotClicked() ourself. - setMode(KIconView::Select); + setMode(TDEIconView::Select); connect(this, TQT_SIGNAL(clicked(TQIconViewItem*)), this, TQT_SLOT(slotClicked(TQIconViewItem*)) ); connect(this, TQT_SIGNAL(doubleClicked(TQIconViewItem*)), @@ -565,7 +565,7 @@ void FileThumbnailView::setSorting(TQDir::SortSpec spec) { if (iconItem) setSortingKey(iconItem, item); } - KIconView::sort(! (spec & TQDir::Reversed) ); + TDEIconView::sort(! (spec & TQDir::Reversed) ); } //-------------------------------------------------------------------------- @@ -584,7 +584,7 @@ void FileThumbnailView::slotDropped(TQDropEvent* event) { void FileThumbnailView::showEvent(TQShowEvent* event) { - KIconView::showEvent(event); + TDEIconView::showEvent(event); if (!d->mUpdateThumbnailsOnNextShow) return; d->mUpdateThumbnailsOnNextShow=false; @@ -724,10 +724,10 @@ void FileThumbnailView::keyPressEvent( TQKeyEvent* e ) { if( e->key() != Key_Left && e->key() != Key_Right && e->key() != Key_Up - && e->key() != Key_Down ) return KIconView::keyPressEvent( e ); + && e->key() != Key_Down ) return TDEIconView::keyPressEvent( e ); TQIconViewItem* current = currentItem(); - KIconView::keyPressEvent( e ); + TDEIconView::keyPressEvent( e ); TQIconViewItem* next = NULL; if( current != currentItem() && currentItem() != NULL ) { // it actually moved switch( e->key()) { |