diff options
Diffstat (limited to 'src/resultlistview.cpp')
-rw-r--r-- | src/resultlistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resultlistview.cpp b/src/resultlistview.cpp index abf2c67..ae6f0d2 100644 --- a/src/resultlistview.cpp +++ b/src/resultlistview.cpp @@ -35,7 +35,7 @@ using DragSupport::makePixmap; using namespace ResultList; ResultListView::ResultListView(TQWidget *parent, const char *name) : - KListView(parent, name), m_itemRightClicked(0) + TDEListView(parent, name), m_itemRightClicked(0) { connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), TQT_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int))); @@ -94,7 +94,7 @@ TQDragObject *ResultListView::dragObject() void ResultListView::contextMenuEvent(TQContextMenuEvent *e) { m_itemRightClicked = itemUnderCursor(); - KPopupMenu *menu = constructPopupMenu(m_itemRightClicked); + TDEPopupMenu *menu = constructPopupMenu(m_itemRightClicked); menu->popup(e->globalPos()); } @@ -111,9 +111,9 @@ void ResultListView::slotDoubleClicked(TQListViewItem *item, const TQPoint &, in emit signalResultSelected(textItem->resultText()); } -KPopupMenu *ResultListView::constructPopupMenu(const ResultListViewText *item) +TDEPopupMenu *ResultListView::constructPopupMenu(const ResultListViewText *item) { - KPopupMenu *menu = new KPopupMenu(this, "list view context menu"); + TDEPopupMenu *menu = new TDEPopupMenu(this, "list view context menu"); menu->insertItem(i18n("Clear &History"), this, TQT_SLOT(clear()), ALT+Key_R); @@ -136,7 +136,7 @@ void ResultListView::slotCopyResult() ResultListViewText *ResultListView::lastItem() const { - return static_cast<ResultListViewText *>(KListView::lastItem()); + return static_cast<ResultListViewText *>(TDEListView::lastItem()); } ResultListViewText *ResultListView::itemUnderCursor() const |