summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
committerTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /src/moc
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'src/moc')
-rw-r--r--src/moc/moc.y8
-rw-r--r--src/moc/moc_yacc.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y
index 8de0cd73e..c9c3f0b9f 100644
--- a/src/moc/moc.y
+++ b/src/moc/moc.y
@@ -2962,8 +2962,8 @@ void generateClass() // generate C++ source code for a class
fprintf( out, "#ifndef QT_NO_TRANSLATION\n" );
fprintf( out, "TQString %s::tr( const char *s, const char *c )\n{\n",
(const char*)qualifiedClassName() );
- fprintf( out, " if ( qApp )\n" );
- fprintf( out, "\treturn qApp->translate( \"%s\", s, c,"
+ fprintf( out, " if ( tqApp )\n" );
+ fprintf( out, "\treturn tqApp->translate( \"%s\", s, c,"
" TQApplication::DefaultCodec );\n",
(const char*)qualifiedClassName() );
fprintf( out, " else\n" );
@@ -2972,8 +2972,8 @@ void generateClass() // generate C++ source code for a class
fprintf( out, "#ifndef QT_NO_TRANSLATION_UTF8\n" );
fprintf( out, "TQString %s::trUtf8( const char *s, const char *c )\n{\n",
(const char*)qualifiedClassName() );
- fprintf( out, " if ( qApp )\n" );
- fprintf( out, "\treturn qApp->translate( \"%s\", s, c,"
+ fprintf( out, " if ( tqApp )\n" );
+ fprintf( out, "\treturn tqApp->translate( \"%s\", s, c,"
" TQApplication::UnicodeUTF8 );\n",
(const char*)qualifiedClassName() );
fprintf( out, " else\n" );
diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp
index 41a8449d6..f3c5c75c5 100644
--- a/src/moc/moc_yacc.cpp
+++ b/src/moc/moc_yacc.cpp
@@ -5788,8 +5788,8 @@ void generateClass() // generate C++ source code for a class
fprintf( out, "#ifndef QT_NO_TRANSLATION\n" );
fprintf( out, "TQString %s::tr( const char *s, const char *c )\n{\n",
(const char*)qualifiedClassName() );
- fprintf( out, " if ( qApp )\n" );
- fprintf( out, "\treturn qApp->translate( \"%s\", s, c,"
+ fprintf( out, " if ( tqApp )\n" );
+ fprintf( out, "\treturn tqApp->translate( \"%s\", s, c,"
" TQApplication::DefaultCodec );\n",
(const char*)qualifiedClassName() );
fprintf( out, " else\n" );
@@ -5798,8 +5798,8 @@ void generateClass() // generate C++ source code for a class
fprintf( out, "#ifndef QT_NO_TRANSLATION_UTF8\n" );
fprintf( out, "TQString %s::trUtf8( const char *s, const char *c )\n{\n",
(const char*)qualifiedClassName() );
- fprintf( out, " if ( qApp )\n" );
- fprintf( out, "\treturn qApp->translate( \"%s\", s, c,"
+ fprintf( out, " if ( tqApp )\n" );
+ fprintf( out, "\treturn tqApp->translate( \"%s\", s, c,"
" TQApplication::UnicodeUTF8 );\n",
(const char*)qualifiedClassName() );
fprintf( out, " else\n" );