diff options
Diffstat (limited to 'src/moc/moc.y')
-rw-r--r-- | src/moc/moc.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y index 1691c5805..a393aa868 100644 --- a/src/moc/moc.y +++ b/src/moc/moc.y @@ -646,10 +646,10 @@ int tmpYYStart; // Used to store the lexers current mode int tmpYYStart2; // Used to store the lexers current mode // (if tmpYYStart is already used) -// if the format revision changes, you MUST change it in ntqmetaobject.h too +// if the format revision changes, you MUST change it in tqmetaobject.h too const int formatRevision = 26; // moc output format revision -// if the flags change, you HAVE to change it in ntqmetaobject.h too +// if the flags change, you HAVE to change it in tqmetaobject.h too enum Flags { Invalid = 0x00000000, Readable = 0x00000001, @@ -2904,7 +2904,7 @@ void generateClass() // generate C++ source code for a class g->includeFiles.next(); } } - fprintf( out, "#include <%sntqmetaobject.h>\n", (const char*)g->qtPath ); + fprintf( out, "#include <%stqmetaobject.h>\n", (const char*)g->qtPath ); fprintf( out, "#include <%sntqapplication.h>\n\n", (const char*)g->qtPath ); fprintf( out, "#include <%sprivate/qucomextra_p.h>\n", (const char*)g->qtPath ); fprintf( out, "#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != %d)\n", formatRevision ); |