summaryrefslogtreecommitdiffstats
path: root/parts/snippet
diff options
context:
space:
mode:
Diffstat (limited to 'parts/snippet')
-rw-r--r--parts/snippet/snippet_part.cpp2
-rw-r--r--parts/snippet/snippet_widget.cpp12
-rw-r--r--parts/snippet/snippet_widget.h6
3 files changed, 10 insertions, 10 deletions
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index 0d39038e..e16f7821 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -73,7 +73,7 @@ SnippetPart::~SnippetPart()
void SnippetPart::setupActions()
{
- new KAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQT_SLOT(slotShowView()), actionCollection(), "snippet_showview");
+ new TDEAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQT_SLOT(slotShowView()), actionCollection(), "snippet_showview");
}
/*!
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<SnippetItem *>(item);
if ( item ) {
@@ -882,7 +882,7 @@ TQString SnippetWidget::showSingleVarDialog(TQString var, TQMap<TQString, TQStri
// fn SnippetWidget::acceptDrag (TQDropEvent *event) const
/*!
- Reimplementation from KListView.
+ Reimplementation from TDEListView.
Check here if the data the user is about to drop fits our restrictions.
We only accept dropps of plaintext, because from the dropped text
we will create a snippet.
diff --git a/parts/snippet/snippet_widget.h b/parts/snippet/snippet_widget.h
index 29bb1dc9..bce03e17 100644
--- a/parts/snippet/snippet_widget.h
+++ b/parts/snippet/snippet_widget.h
@@ -22,7 +22,7 @@
class KDevProject;
class SnippetPart;
class TQPushButton;
-class KListView;
+class TDEListView;
class TQListViewItem;
class TQPoint;
class SnippetDlg;
@@ -33,11 +33,11 @@ class TDEConfig;
/**
This is the widget which gets added to the right TreeToolView.
-It inherits KListView and TQToolTip which is needed for showing the
+It inherits TDEListView and TQToolTip which is needed for showing the
tooltips which contains the text of the snippet
@author Robert Gruber
*/
-class SnippetWidget : public KListView, public TQToolTip
+class SnippetWidget : public TDEListView, public TQToolTip
{
Q_OBJECT