@ -121,7 +121,7 @@ void addPropertyVariable( TQString &out, const TQString &type,
}
// FIXME: Put addProperty in PropertyAdder class and add endReadAhead function.
int addProperty ( K CmdLineArgs * args )
int addProperty ( TDE CmdLineArgs * args )
{
if ( args - > count ( ) ! = 3 ) {
std : : cerr < < " Usage: kode --add-property <class> <proprerty-type> "
@ -291,7 +291,7 @@ int addProperty( KCmdLineArgs *args )
return 0 ;
}
int codify ( K CmdLineArgs * args )
int codify ( TDE CmdLineArgs * args )
{
if ( args - > count ( ) ! = 1 ) {
std : : cerr < < " Usage: kode --codify <sourcecodefile> " < < std : : endl ;
@ -320,7 +320,7 @@ int codify( KCmdLineArgs *args )
return 0 ;
}
int create ( K CmdLineArgs * args )
int create ( TDE CmdLineArgs * args )
{
KODE : : Printer p ;
if ( args - > isSet ( " warning " ) ) p . setCreationWarning ( true ) ;
@ -416,12 +416,12 @@ int create( KCmdLineArgs *args )
code . clear ( ) ;
code + = " KAboutData aboutData( \" test \" , \" Test \" , \" 0.1 \" ); " ;
code + = " K CmdLineArgs::init(argc,argv,&aboutData);" ;
code + = " K CmdLineArgs::addCmdLineOptions( options );" ;
code + = " TDE CmdLineArgs::init(argc,argv,&aboutData);" ;
code + = " TDE CmdLineArgs::addCmdLineOptions( options );" ;
code + = " " ;
code + = " KApplication app; " ;
code + = " " ;
code + = " KCmdLineArgs *args = K CmdLineArgs::parsedArgs();" ;
code + = " TDECmdLineArgs *args = TDE CmdLineArgs::parsedArgs();" ;
code + = " " ;
code + = " Q_UNUSED( args ); " ;
main . setBody ( code ) ;
@ -612,12 +612,12 @@ int main(int argc,char **argv)
KAboutData aboutData ( " kode " , I18N_NOOP ( " TDE Code Generator " ) , " 0.1 " ) ;
aboutData . addAuthor ( " Cornelius Schumacher " , 0 , " schumacher@kde.org " ) ;
K CmdLineArgs: : init ( argc , argv , & aboutData ) ;
K CmdLineArgs: : addCmdLineOptions ( options ) ;
TDE CmdLineArgs: : init ( argc , argv , & aboutData ) ;
TDE CmdLineArgs: : addCmdLineOptions ( options ) ;
KApplication app ;
KCmdLineArgs * args = K CmdLineArgs: : parsedArgs ( ) ;
TDECmdLineArgs * args = TDE CmdLineArgs: : parsedArgs ( ) ;
if ( args - > isSet ( " create-class " ) | | args - > isSet ( " create-dialog " ) | |
args - > isSet ( " create-kioslave " ) | | args - > isSet ( " create-main " ) ) {