diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 15:57:34 -0600 |
commit | 7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch) | |
tree | c76702a7f6310fbe9d437e347535422e836e94e9 /kate/interfaces/katecmd.cpp | |
parent | a2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff) | |
parent | 27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff) | |
download | tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'kate/interfaces/katecmd.cpp')
-rw-r--r-- | kate/interfaces/katecmd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/interfaces/katecmd.cpp b/kate/interfaces/katecmd.cpp index 69263b57c..ef356a6bb 100644 --- a/kate/interfaces/katecmd.cpp +++ b/kate/interfaces/katecmd.cpp @@ -118,12 +118,12 @@ const TQString KateCmd::fromHistory( uint index ) const //BEGIN KateCmdShellCompletion /* A lot of the code in the below class is copied from - tdelibs/kio/kio/kshellcompletion.cpp + tdelibs/tdeio/tdeio/kshellcompletion.cpp Copyright (C) 2000 David Smith <dsmith@algonet.se> 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 ); |