diff options
Diffstat (limited to 'parts/texttools')
-rw-r--r-- | parts/texttools/texttoolswidget.cpp | 10 | ||||
-rw-r--r-- | parts/texttools/texttoolswidget.h | 4 |
2 files changed, 7 insertions, 7 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 } diff --git a/parts/texttools/texttoolswidget.h b/parts/texttools/texttoolswidget.h index 6428e522..2e3c274a 100644 --- a/parts/texttools/texttoolswidget.h +++ b/parts/texttools/texttoolswidget.h @@ -21,7 +21,7 @@ namespace KParts { class Part; } namespace KTextEditor { class EditInterface; } -class TextToolsWidget : public KListView +class TextToolsWidget : public TDEListView { Q_OBJECT @@ -38,7 +38,7 @@ public: private slots: void slotItemPressed(int button, TQListViewItem *item); void slotReturnPressed(TQListViewItem *item); - void slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p); + void slotContextMenu(TDEListView *, TQListViewItem *item, const TQPoint &p); void startTimer(); void parseXML(); |