From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- parts/snippet/snippet_widget.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'parts/snippet/snippet_widget.cpp') diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp index 447193f4..dd057a29 100644 --- a/parts/snippet/snippet_widget.cpp +++ b/parts/snippet/snippet_widget.cpp @@ -47,13 +47,13 @@ #include "snippet_widget.h" SnippetWidget::SnippetWidget(SnippetPart *part) - : KListView(0, "snippet widget"), TQToolTip( viewport() ), + : TDEListView(0, "snippet widget"), TQToolTip( viewport() ), m_part( part ) { // init the TQPtrList _list.setAutoDelete(TRUE); - // init the KListView + // init the TDEListView setSorting( -1 ); addColumn( "" ); setFullWidth(true); @@ -213,7 +213,7 @@ void SnippetWidget::slotEdit() dlg.cbGroup->setCurrentText(SnippetItem::findGroupById(pSnippet->getParent(), _list)->getName()); if (dlg.exec() == TQDialog::Accepted) { - //update the KListView and the SnippetItem + //update the TDEListView and the SnippetItem item->setText( 0, dlg.snippetName->text() ); pSnippet->setName( dlg.snippetName->text() ); pSnippet->setText( dlg.snippetText->text() ); @@ -256,7 +256,7 @@ void SnippetWidget::slotEditGroup() dlg.textLabelGroup->setText(i18n("Language:")); if (dlg.exec() == TQDialog::Accepted) { - //update the KListView and the SnippetGroup + //update the TDEListView and the SnippetGroup item->setText( 0, dlg.snippetName->text() ); pGroup->setName( dlg.snippetName->text() ); pGroup->setLanguage(dlg.cbGroup->currentText()); @@ -545,7 +545,7 @@ void SnippetWidget::maybeTip( const TQPoint & p ) */ void SnippetWidget::showPopupMenu( TQListViewItem * item, const TQPoint & p, int ) { - KPopupMenu popup; + TDEPopupMenu popup; SnippetItem * selectedItem = static_cast(item); if ( item ) { @@ -882,7 +882,7 @@ TQString SnippetWidget::showSingleVarDialog(TQString var, TQMap