summaryrefslogtreecommitdiffstats
path: root/parts/texttools/texttoolswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/texttools/texttoolswidget.cpp')
-rw-r--r--parts/texttools/texttoolswidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index f655511f..2bc1299a 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -58,7 +58,7 @@ public:
TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const char *name)
- : KListView(parent, name)
+ : TDEListView(parent, name)
{
setResizeMode(TQListView::LastColumn);
setSorting(-1);
@@ -74,8 +74,8 @@ TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const ch
// this, TQT_SLOT(slotItemPressed(int,TQListViewItem*)) );
connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)),
this, TQT_SLOT(slotReturnPressed(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) );
+ connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
@@ -148,13 +148,13 @@ void TextToolsWidget::slotReturnPressed(TQListViewItem *item)
}
-void TextToolsWidget::slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &)
+void TextToolsWidget::slotContextMenu(TDEListView *, TQListViewItem *item, const TQPoint &)
{
if (!item)
return;
#if 0
- KPopupMenu popup(i18n("Text Structure"), this);
+ TDEPopupMenu popup(i18n("Text Structure"), this);
popup.exec(p);
#endif
}