summaryrefslogtreecommitdiffstats
path: root/src/moc/moc_yacc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/moc/moc_yacc.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/moc/moc_yacc.cpp')
-rw-r--r--src/moc/moc_yacc.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp
index d384e0baa..f2a5c53b1 100644
--- a/src/moc/moc_yacc.cpp
+++ b/src/moc/moc_yacc.cpp
@@ -252,10 +252,10 @@ TQCString uTypeExtra( TQCString ctype )
typeExtra.sprintf( "parentObject->enumerator(\"%s\", TRUE )", ctype.data() );
}
typeExtra =
- "\n#ifndef QT_NO_PROPERTIES\n\t " + typeExtra +
+ "\n#ifndef TQT_NO_PROPERTIES\n\t " + typeExtra +
"\n#else"
"\n\t 0"
- "\n#endif // QT_NO_PROPERTIES\n\t ";
+ "\n#endif // TQT_NO_PROPERTIES\n\t ";
}
return typeExtra;
}
@@ -5337,7 +5337,7 @@ int generateEnums()
if ( g->enums.count() == 0 )
return 0;
- fprintf( out, "#ifndef QT_NO_PROPERTIES\n" );
+ fprintf( out, "#ifndef TQT_NO_PROPERTIES\n" );
int i = 0;
for ( TQPtrListIterator<Enum> it( g->enums ); it.current(); ++it, ++i ) {
fprintf( out, " static const TQMetaEnum::Item enum_%i[] = {\n", i );
@@ -5361,7 +5361,7 @@ int generateEnums()
it2.current()->set ? "TRUE" : "FALSE" );
}
fprintf( out, "\n };\n" );
- fprintf( out, "#endif // QT_NO_PROPERTIES\n" );
+ fprintf( out, "#endif // TQT_NO_PROPERTIES\n" );
return g->enums.count();
}
@@ -5610,7 +5610,7 @@ int generateProps()
moc_err("The declaration of the class \"%s\" contains properties"
" but no TQ_OBJECT macro.", g->className.data());
- fprintf( out, "#ifndef QT_NO_PROPERTIES\n" );
+ fprintf( out, "#ifndef TQT_NO_PROPERTIES\n" );
fprintf( out, " static const TQMetaProperty props_tbl[%d] = {\n ", g->props.count() );
for( TQPtrListIterator<Property> it( g->props ); it.current(); ++it ) {
@@ -5675,7 +5675,7 @@ int generateProps()
fprintf( out, "\n" );
}
fprintf( out, " };\n" );
- fprintf( out, "#endif // QT_NO_PROPERTIES\n" );
+ fprintf( out, "#endif // TQT_NO_PROPERTIES\n" );
}
return g->props.count();
@@ -5912,7 +5912,7 @@ void generateClass() // generate C++ source code for a class
else
fprintf( out, "\t0, 0,\n" );
- fprintf( out, "#ifndef QT_NO_PROPERTIES\n" );
+ fprintf( out, "#ifndef TQT_NO_PROPERTIES\n" );
if ( n_props )
fprintf( out, "\tprops_tbl, %d,\n", n_props );
else
@@ -5921,7 +5921,7 @@ void generateClass() // generate C++ source code for a class
fprintf( out, "\tenum_tbl, %d,\n", n_enums );
else
fprintf( out, "\t0, 0,\n" );
- fprintf( out, "#endif // QT_NO_PROPERTIES\n" );
+ fprintf( out, "#endif // TQT_NO_PROPERTIES\n" );
if ( n_infos )
fprintf( out, "\tclassinfo_tbl, %d );\n", n_infos );
@@ -6263,7 +6263,7 @@ void generateClass() // generate C++ source code for a class
}
- fprintf( out, "#ifndef QT_NO_PROPERTIES\n" );
+ fprintf( out, "#ifndef TQT_NO_PROPERTIES\n" );
//
// Generate internal tqt_property() functions
//
@@ -6401,7 +6401,7 @@ void generateClass() // generate C++ source code for a class
}
fprintf( out, "\nbool %s::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }\n", qualifiedClassName().data() );
- fprintf( out, "#endif // QT_NO_PROPERTIES\n" );
+ fprintf( out, "#endif // TQT_NO_PROPERTIES\n" );
}