diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 17:59:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 17:59:01 +0900 |
commit | 5fd88f2a2099db96bee7a208d09843fd32fd6bf3 (patch) | |
tree | 5cfd64687a124eb90c6dfee144b207d30df95073 /src/moc/moc_yacc.cpp | |
parent | 3e98ce7f85f06e95ad121c6f541d14464d85919e (diff) | |
download | tqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.tar.gz tqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.zip |
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/moc/moc_yacc.cpp')
-rw-r--r-- | src/moc/moc_yacc.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp index abeab2d71..8ae53116a 100644 --- a/src/moc/moc_yacc.cpp +++ b/src/moc/moc_yacc.cpp @@ -5754,15 +5754,15 @@ void generateClass() // generate C++ source code for a class if ( !g->noInclude ) { /* The header file might be a TQt header file with - QT_NO_COMPAT macros around signals, slots or + TQT_NO_COMPAT macros around signals, slots or properties. Without the #undef, we cannot compile the - TQt library with QT_NO_COMPAT defined. + TQt library with TQT_NO_COMPAT defined. Header files of libraries build around TQt can also use - QT_NO_COMPAT, so this #undef might be beneficial to + TQT_NO_COMPAT, so this #undef might be beneficial to users of TQt, and not only to developers of TQt. */ - fprintf( out, "#undef QT_NO_COMPAT\n" ); + fprintf( out, "#undef TQT_NO_COMPAT\n" ); if ( !g->pchFile.isEmpty() ) fprintf( out, "#include \"%s\" // PCH include\n", (const char*)g->pchFile ); @@ -5834,7 +5834,7 @@ void generateClass() // generate C++ source code for a class // // Generate tr and trUtf8 member functions // - fprintf( out, "#ifndef QT_NO_TRANSLATION\n" ); + fprintf( out, "#ifndef TQT_NO_TRANSLATION\n" ); fprintf( out, "TQString %s::tr( const char *s, const char *c )\n{\n", (const char*)qualifiedClassName() ); fprintf( out, " if ( tqApp )\n" ); @@ -5844,7 +5844,7 @@ void generateClass() // generate C++ source code for a class fprintf( out, " else\n" ); fprintf( out, "\treturn TQString::fromLatin1( s );\n"); fprintf( out, "}\n" ); - fprintf( out, "#ifndef QT_NO_TRANSLATION_UTF8\n" ); + fprintf( out, "#ifndef TQT_NO_TRANSLATION_UTF8\n" ); fprintf( out, "TQString %s::trUtf8( const char *s, const char *c )\n{\n", (const char*)qualifiedClassName() ); fprintf( out, " if ( tqApp )\n" ); @@ -5854,8 +5854,8 @@ void generateClass() // generate C++ source code for a class fprintf( out, " else\n" ); fprintf( out, "\treturn TQString::fromUtf8( s );\n" ); fprintf( out, "}\n" ); - fprintf( out, "#endif // QT_NO_TRANSLATION_UTF8\n\n" ); - fprintf( out, "#endif // QT_NO_TRANSLATION\n\n" ); + fprintf( out, "#endif // TQT_NO_TRANSLATION_UTF8\n\n" ); + fprintf( out, "#endif // TQT_NO_TRANSLATION\n\n" ); // // Generate staticMetaObject member function |