diff options
Diffstat (limited to 'kbabel/filters/linguist')
-rw-r--r-- | kbabel/filters/linguist/linguistexport.cpp | 6 | ||||
-rw-r--r-- | kbabel/filters/linguist/linguistimport.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/filters/linguist/linguistexport.cpp b/kbabel/filters/linguist/linguistexport.cpp index 3b5bc5fc..072ecde8 100644 --- a/kbabel/filters/linguist/linguistexport.cpp +++ b/kbabel/filters/linguist/linguistexport.cpp @@ -123,17 +123,17 @@ const TQString LinguistExportPlugin::extractComment( TQDomDocument& doc, const T * writing the comment for Linguist */ - int pos = comment.tqfind("#, fuzzy"); + int pos = comment.find("#, fuzzy"); if ( pos >= 0) { fuzzy = true; comment.remove("#, fuzzy"); } TQString newContext; - pos = comment.tqfind( '\n' ); + pos = comment.find( '\n' ); if ( pos >= 0 ) { newContext = comment.left( pos ); - comment.tqreplace( 0, pos + 1, "" ); // ### TODO: use TQString::remove + comment.replace( 0, pos + 1, "" ); // ### TODO: use TQString::remove } else { newContext = comment; comment = ""; // ### TODO: use TQString() instead of "" diff --git a/kbabel/filters/linguist/linguistimport.cpp b/kbabel/filters/linguist/linguistimport.cpp index 82dd6ad4..f4e1102f 100644 --- a/kbabel/filters/linguist/linguistimport.cpp +++ b/kbabel/filters/linguist/linguistimport.cpp @@ -1,4 +1,4 @@ -// kate: space-indent on; indent-width 2; tqreplace-tabs on; +// kate: space-indent on; indent-width 2; replace-tabs on; /* **************************************************************************** This file is part of KBabel |