From 546d2312d9b4a09110dd2d87fc7f07b330f7ce95 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 7 Feb 2013 17:56:54 -0600 Subject: Rename KComp to avoid conflicts with KDE4 --- kate/part/kateviewhelpers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kate/part/kateviewhelpers.cpp') diff --git a/kate/part/kateviewhelpers.cpp b/kate/part/kateviewhelpers.cpp index 72b7be0f5..ef70e3449 100644 --- a/kate/part/kateviewhelpers.cpp +++ b/kate/part/kateviewhelpers.cpp @@ -272,7 +272,7 @@ class KateCmdLnWhatsThis : public TQWhatsThis * This class provide completion of flags. It shows a short description of * each flag, and flags are appended. */ -class KateCmdLineFlagCompletion : public KCompletion +class KateCmdLineFlagCompletion : public TDECompletion { public: KateCmdLineFlagCompletion() {;} @@ -365,7 +365,7 @@ void KateCmdLine::slotReturnPressed ( const TQString& text ) // clean up if ( m_oldCompletionObject ) { - KCompletion *c = completionObject(); + TDECompletion *c = completionObject(); setCompletionObject( m_oldCompletionObject ); m_oldCompletionObject = 0; delete c; @@ -465,7 +465,7 @@ void KateCmdLine::keyPressEvent( TQKeyEvent *ev ) // clean up if needed if ( m_oldCompletionObject ) { - KCompletion *c = completionObject(); + TDECompletion *c = completionObject(); setCompletionObject( m_oldCompletionObject ); m_oldCompletionObject = 0; delete c; @@ -483,7 +483,7 @@ void KateCmdLine::keyPressEvent( TQKeyEvent *ev ) Kate::CommandExtension *ce = dynamic_cast(m_command); if ( ce ) { - KCompletion *cmpl = ce->completionObject( text().left( m_cmdend ).stripWhiteSpace(), m_view ); + TDECompletion *cmpl = ce->completionObject( text().left( m_cmdend ).stripWhiteSpace(), m_view ); if ( cmpl ) { // save the old completion object and use what the command provides -- cgit v1.2.1