summaryrefslogtreecommitdiffstats
path: root/krusader/Locate
diff options
context:
space:
mode:
Diffstat (limited to 'krusader/Locate')
-rwxr-xr-xkrusader/Locate/locate.cpp18
-rwxr-xr-xkrusader/Locate/locate.h6
2 files changed, 12 insertions, 12 deletions
diff --git a/krusader/Locate/locate.cpp b/krusader/Locate/locate.cpp
index 8cdfce7..8f566ad 100755
--- a/krusader/Locate/locate.cpp
+++ b/krusader/Locate/locate.cpp
@@ -65,10 +65,10 @@
#define COPY_SELECTED_TO_CLIPBOARD 95
//////////////////////////////////////////////////////////
-class LocateListView : public KListView
+class LocateListView : public TDEListView
{
public:
- LocateListView( TQWidget * parent, const char * name = 0 ) : KListView( parent, name )
+ LocateListView( TQWidget * parent, const char * name = 0 ) : TDEListView( parent, name )
{
}
@@ -321,9 +321,9 @@ void LocateDlg::processStdout(TDEProcess *proc, char *buffer, int length)
}
if( lastItem )
- lastItem = new KListViewItem( resultList, lastItem, *it );
+ lastItem = new TDEListViewItem( resultList, lastItem, *it );
else
- lastItem = new KListViewItem( resultList, *it );
+ lastItem = new TDEListViewItem( resultList, *it );
lastItem->setDragEnabled( true );
}
@@ -351,7 +351,7 @@ void LocateDlg::slotRightClick(TQListViewItem *item)
return;
// create the menu
- KPopupMenu popup;
+ TDEPopupMenu popup;
popup.insertTitle(i18n("Locate"));
popup.insertItem(i18n("View (F3)"), VIEW_ID);
@@ -479,7 +479,7 @@ void LocateDlg::operate( TQListViewItem *item, int task )
resultList->setCurrentItem( ( findOptions & KFindDialog::FindBackwards ) ?
resultList->lastItem() : resultList->firstChild() );
- findCurrentItem = (KListViewItem *)resultList->currentItem();
+ findCurrentItem = (TDEListViewItem *)resultList->currentItem();
if( find() && findCurrentItem )
resultList->setCurrentItem( findCurrentItem );
@@ -495,7 +495,7 @@ void LocateDlg::operate( TQListViewItem *item, int task )
if( task == FIND_PREV_ID )
findOptions ^= KFindDialog::FindBackwards;
- findCurrentItem = (KListViewItem *)resultList->currentItem();
+ findCurrentItem = (TDEListViewItem *)resultList->currentItem();
nextLine();
if( find() && findCurrentItem )
@@ -536,9 +536,9 @@ void LocateDlg::operate( TQListViewItem *item, int task )
void LocateDlg::nextLine()
{
if( findOptions & KFindDialog::FindBackwards )
- findCurrentItem = (KListViewItem *)findCurrentItem->itemAbove();
+ findCurrentItem = (TDEListViewItem *)findCurrentItem->itemAbove();
else
- findCurrentItem = (KListViewItem *)findCurrentItem->itemBelow();
+ findCurrentItem = (TDEListViewItem *)findCurrentItem->itemBelow();
}
bool LocateDlg::find()
diff --git a/krusader/Locate/locate.h b/krusader/Locate/locate.h
index e7f65a9..fd1d46f 100755
--- a/krusader/Locate/locate.h
+++ b/krusader/Locate/locate.h
@@ -81,15 +81,15 @@ private:
TQString pattern;
KHistoryCombo *locateSearchFor;
- KListView *resultList;
+ TDEListView *resultList;
TQString remaining;
- KListViewItem *lastItem;
+ TDEListViewItem *lastItem;
TQString collectedErr;
long findOptions;
TQString findPattern;
- KListViewItem *findCurrentItem;
+ TDEListViewItem *findCurrentItem;
TQCheckBox *dontSearchInPath;
TQCheckBox *existingFiles;