diff options
author | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /tools/linguist | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/linguist/trwindow.cpp | 6 | ||||
-rw-r--r-- | tools/linguist/lupdate/fetchtr.cpp | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/linguist/linguist/trwindow.cpp b/tools/linguist/linguist/trwindow.cpp index eaa339d6f..79cac514f 100644 --- a/tools/linguist/linguist/trwindow.cpp +++ b/tools/linguist/linguist/trwindow.cpp @@ -769,7 +769,7 @@ void TrWindow::newPhraseBook() void TrWindow::openPhraseBook() { - TQString phrasebooks( qInstallPathData() ); + TQString phrasebooks( tqInstallPathData() ); TQString name = TQFileDialog::getOpenFileName( phrasebooks + "/phrasebooks", tr("TQt phrase books (*.qph)\n" "All files (*)"), @@ -852,8 +852,8 @@ void TrWindow::revertSorting() void TrWindow::manual() { - TQAssistantClient *ac = new TQAssistantClient( qInstallPathBins(), this ); - ac->showPage( TQString( qInstallPathDocs() ) + "/html/linguist-manual.html" ); + TQAssistantClient *ac = new TQAssistantClient( tqInstallPathBins(), this ); + ac->showPage( TQString( tqInstallPathDocs() ) + "/html/linguist-manual.html" ); } void TrWindow::about() diff --git a/tools/linguist/lupdate/fetchtr.cpp b/tools/linguist/lupdate/fetchtr.cpp index 7201f3a0e..7ff6a0387 100644 --- a/tools/linguist/lupdate/fetchtr.cpp +++ b/tools/linguist/lupdate/fetchtr.cpp @@ -176,7 +176,7 @@ static int getToken() break; case 'T': // TR() for when all else fails - if ( qstricmp(yyIdent + 1, "R") == 0 ) + if ( tqstricmp(yyIdent + 1, "R") == 0 ) return Tok_tr; break; case 'c': @@ -350,7 +350,7 @@ static int getToken() yyString[yyStringLen] = '\0'; if ( yyCh != '"' ) - qWarning( "%s:%d: Unterminated C++ string", + tqWarning( "%s:%d: Unterminated C++ string", (const char *) yyFileName, yyLineNo ); if ( yyCh == EOF ) { @@ -551,7 +551,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, TQString::null, utf8) ); if ( lacks_TQ_OBJECT.contains(context) ) { - qWarning( "%s:%d: Class '%s' lacks TQ_OBJECT macro", + tqWarning( "%s:%d: Class '%s' lacks TQ_OBJECT macro", (const char *) yyFileName, yyLineNo, (const char *) context ); lacks_TQ_OBJECT.remove( context ); @@ -622,7 +622,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, case Tok_Arrow: yyTok = getToken(); if ( yyTok == Tok_tr || yyTok == Tok_trUtf8 ) - qWarning( "%s:%d: Cannot invoke tr() like this", + tqWarning( "%s:%d: Cannot invoke tr() like this", (const char *) yyFileName, yyLineNo ); break; case Tok_Gulbrandsen: @@ -639,7 +639,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, if ( yyBraceDepth == (int) namespaces.count() ) { if ( missing_TQ_OBJECT ) { if ( needs_TQ_OBJECT.contains(functionContext) ) { - qWarning( "%s:%d: Class '%s' lacks TQ_OBJECT macro", + tqWarning( "%s:%d: Class '%s' lacks TQ_OBJECT macro", (const char *) yyFileName, yyLineNo, (const char *) functionContext ); } else { |