summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /tools/linguist
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10.tar.gz
qt3-a830bf10.zip
Rename additional global TQt functions
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/linguist/trwindow.cpp6
-rw-r--r--tools/linguist/lupdate/fetchtr.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/linguist/linguist/trwindow.cpp b/tools/linguist/linguist/trwindow.cpp
index e8725e5..40d71a6 100644
--- a/tools/linguist/linguist/trwindow.cpp
+++ b/tools/linguist/linguist/trwindow.cpp
@@ -769,7 +769,7 @@ void TrWindow::newPhraseBook()
void TrWindow::openPhraseBook()
{
- QString phrasebooks( qInstallPathData() );
+ QString phrasebooks( tqInstallPathData() );
QString name = QFileDialog::getOpenFileName( phrasebooks + "/phrasebooks",
tr("Qt phrase books (*.qph)\n"
"All files (*)"),
@@ -852,8 +852,8 @@ void TrWindow::revertSorting()
void TrWindow::manual()
{
- QAssistantClient *ac = new QAssistantClient( qInstallPathBins(), this );
- ac->showPage( QString( qInstallPathDocs() ) + "/html/linguist-manual.html" );
+ QAssistantClient *ac = new QAssistantClient( tqInstallPathBins(), this );
+ ac->showPage( QString( tqInstallPathDocs() ) + "/html/linguist-manual.html" );
}
void TrWindow::about()
diff --git a/tools/linguist/lupdate/fetchtr.cpp b/tools/linguist/lupdate/fetchtr.cpp
index ce8fb98..41314c0 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,
QString::null, utf8) );
if ( lacks_Q_OBJECT.contains(context) ) {
- qWarning( "%s:%d: Class '%s' lacks Q_OBJECT macro",
+ tqWarning( "%s:%d: Class '%s' lacks Q_OBJECT macro",
(const char *) yyFileName, yyLineNo,
(const char *) context );
lacks_Q_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_Q_OBJECT ) {
if ( needs_Q_OBJECT.contains(functionContext) ) {
- qWarning( "%s:%d: Class '%s' lacks Q_OBJECT macro",
+ tqWarning( "%s:%d: Class '%s' lacks Q_OBJECT macro",
(const char *) yyFileName, yyLineNo,
(const char *) functionContext );
} else {