summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/moc/moc.y')
-rw-r--r--src/moc/moc.y8
1 files changed, 4 insertions, 4 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" );