From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kate/app/kateexternaltools.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kate/app/kateexternaltools.cpp') diff --git a/kate/app/kateexternaltools.cpp b/kate/app/kateexternaltools.cpp index 78cf6b6fd..2f2ae3487 100644 --- a/kate/app/kateexternaltools.cpp +++ b/kate/app/kateexternaltools.cpp @@ -204,7 +204,7 @@ bool KateExternalToolsCommand::exec (Kate::View *view, const TQString &cmd, TQSt tqt_dynamic_cast(dmw->action("tools_external")); if (!a) return false; // kdDebug(13001)<<"trying to find action"<actionCollection()->action(static_cast(actionName.utf8())); + TDEAction *a1=a->actionCollection()->action(static_cast(actionName.utf8())); if (!a1) return false; // kdDebug(13001)<<"activating action"<activate(); @@ -219,7 +219,7 @@ bool KateExternalToolsCommand::help (Kate::View *, const TQString &, TQString &) //BEGIN KateExternalToolAction KateExternalToolAction::KateExternalToolAction( TQObject *parent, const char *name, KateExternalTool *t) - : KAction( parent, name ), + : TDEAction( parent, name ), tool ( t ) { setText( t->name ); @@ -295,11 +295,11 @@ KateExternalToolsMenuAction::KateExternalToolsMenuAction( const TQString &text, TQObject *parent, const char* name, KateMainWindow *mw ) - : KActionMenu( text, parent, name ), + : TDEActionMenu( text, parent, name ), mainwindow( mw ) { - m_actionCollection = new KActionCollection( mainwindow ); + m_actionCollection = new TDEActionCollection( mainwindow ); connect(KateDocManager::self(),TQT_SIGNAL(documentChanged()),this,TQT_SLOT(slotDocumentChanged())); @@ -387,8 +387,8 @@ void KateExternalToolsMenuAction::slotDocumentChanged() TQStringList l; bool b; - KActionPtrList actions = m_actionCollection->actions(); - for (KActionPtrList::iterator it = actions.begin(); it != actions.end(); ++it ) + TDEActionPtrList actions = m_actionCollection->actions(); + for (TDEActionPtrList::iterator it = actions.begin(); it != actions.end(); ++it ) { KateExternalToolAction *action = tqt_dynamic_cast(*it); if ( action ) @@ -561,7 +561,7 @@ KateExternalToolsConfigWidget::KateExternalToolsConfigWidget( TQWidget *parent, { TQGridLayout *lo = new TQGridLayout( this, 5, 5, 0, KDialog::spacingHint() ); - lbTools = new KListBox( this ); + lbTools = new TDEListBox( this ); lo->addMultiCellWidget( lbTools, 1, 4, 0, 3 ); connect( lbTools, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()) ); -- cgit v1.2.1