diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-07 17:56:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-07 17:56:54 -0600 |
commit | 546d2312d9b4a09110dd2d87fc7f07b330f7ce95 (patch) | |
tree | 4cab8f565db447b9898a3ea9e6f606aca6ded84e /kate/interfaces/katecmd.cpp | |
parent | 696e36a06178f50483432b9a8e806c4a1c530921 (diff) | |
download | tdelibs-546d2312d9b4a09110dd2d87fc7f07b330f7ce95.tar.gz tdelibs-546d2312d9b4a09110dd2d87fc7f07b330f7ce95.zip |
Rename KComp to avoid conflicts with KDE4
Diffstat (limited to 'kate/interfaces/katecmd.cpp')
-rw-r--r-- | kate/interfaces/katecmd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kate/interfaces/katecmd.cpp b/kate/interfaces/katecmd.cpp index 2104ef157..ef356a6bb 100644 --- a/kate/interfaces/katecmd.cpp +++ b/kate/interfaces/katecmd.cpp @@ -123,7 +123,7 @@ const TQString KateCmd::fromHistory( uint index ) const Copyright (C) 2004 Anders Lund <anders@alweb.dk> */ KateCmdShellCompletion::KateCmdShellCompletion() - : KCompletion() + : TDECompletion() { m_word_break_char = ' '; m_quote_char1 = '\"'; @@ -139,7 +139,7 @@ TQString KateCmdShellCompletion::makeCompletion( const TQString &text ) // Make completion on the last part of text // - return KCompletion::makeCompletion( m_text_compl ); + return TDECompletion::makeCompletion( m_text_compl ); } void KateCmdShellCompletion::postProcessMatch( TQString *match ) const @@ -158,9 +158,9 @@ void KateCmdShellCompletion::postProcessMatches( TQStringList *matches ) const (*it).prepend( m_text_start ); } -void KateCmdShellCompletion::postProcessMatches( KCompletionMatches *matches ) const +void KateCmdShellCompletion::postProcessMatches( TDECompletionMatches *matches ) const { - for ( KCompletionMatches::Iterator it = matches->begin(); + for ( TDECompletionMatches::Iterator it = matches->begin(); it != matches->end(); it++ ) if ( !(*it).value().isNull() ) (*it).value().prepend( m_text_start ); |