diff options
Diffstat (limited to 'tqtinterface/qt4/tools/msg2qm/msg2qm.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/msg2qm/msg2qm.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/tools/msg2qm/msg2qm.cpp b/tqtinterface/qt4/tools/msg2qm/msg2qm.cpp index 96e77c3..ca02cc9 100644 --- a/tqtinterface/qt4/tools/msg2qm/msg2qm.cpp +++ b/tqtinterface/qt4/tools/msg2qm/msg2qm.cpp @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 1998-2008 Trolltech ASA. All rights reserved. ** -** This is a utility program for converting tqfindtr msgfiles to +** This is a utility program for converting findtr msgfiles to ** qtranslator message files ** ** This file may be used under the terms of the GNU General @@ -51,7 +51,7 @@ bool hasHandle( const TQString& line, const TQString& handle) TQString extractContents( const TQString& line ) { TQString contents; - if ( line.tqcontains('\"') < 2) + if ( line.contains('\"') < 2) return contents; int pos = 0; while ( pos < int(line.length()) && line[pos] != '\"' ) @@ -101,7 +101,7 @@ void addTranslation( TQTranslator* translator, const TQString& msgid, const TQSt if (!msgid.isNull() && !msgstr.isNull() ) { TQString scope = ""; TQString id = msgid; - int coloncolon = msgid.tqfind("::"); + int coloncolon = msgid.find("::"); if (coloncolon != -1) { scope = msgid.left( coloncolon ); id = msgid.right( msgid.length() - scope.length() - 2 ); @@ -109,7 +109,7 @@ void addTranslation( TQTranslator* translator, const TQString& msgid, const TQSt else if (defaultScope) scope = *defaultScope; - if (translator->tqcontains( scope.ascii(), id.ascii() ) ) { + if (translator->contains( scope.ascii(), id.ascii() ) ) { qWarning("Error: \"%s\" already in use", msgid.ascii() ); } else { @@ -182,7 +182,7 @@ void translate( const TQString& filename, const TQString& qmfile ) if ( pass == 0 && msgid.isEmpty() ) { // Check for the encoding. - int cpos = msgstr.tqfind( "charset=" ); + int cpos = msgstr.find( "charset=" ); if ( cpos >= 0 ) { cpos = cpos + 8; //skip "charset=" int i = cpos; |