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.y20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y
index 780669e9..49fcc61f 100644
--- a/src/moc/moc.y
+++ b/src/moc/moc.y
@@ -239,10 +239,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;
}
@@ -2462,7 +2462,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 );
@@ -2486,7 +2486,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();
}
@@ -2735,7 +2735,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 ) {
@@ -2800,7 +2800,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();
@@ -3037,7 +3037,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
@@ -3046,7 +3046,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 );
@@ -3388,7 +3388,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
//
@@ -3526,7 +3526,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" );
}