summaryrefslogtreecommitdiffstats
path: root/kode
diff options
context:
space:
mode:
Diffstat (limited to 'kode')
-rw-r--r--kode/kodemain.cpp18
-rw-r--r--kode/kwsdl/kung/main.cpp6
-rw-r--r--kode/kwsdl/main.cpp6
-rw-r--r--kode/kwsdl/tests/google/main.cc2
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp6
5 files changed, 19 insertions, 19 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index 3dd7b5780..081bba5f1 100644
--- a/kode/kodemain.cpp
+++ b/kode/kodemain.cpp
@@ -121,7 +121,7 @@ void addPropertyVariable( TQString &out, const TQString &type,
}
// FIXME: Put addProperty in PropertyAdder class and add endReadAhead function.
-int addProperty( KCmdLineArgs *args )
+int addProperty( TDECmdLineArgs *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( KCmdLineArgs *args )
+int codify( TDECmdLineArgs *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( KCmdLineArgs *args )
+int create( TDECmdLineArgs *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 += "KCmdLineArgs::init(argc,argv,&aboutData);";
- code += "KCmdLineArgs::addCmdLineOptions( options );";
+ code += "TDECmdLineArgs::init(argc,argv,&aboutData);";
+ code += "TDECmdLineArgs::addCmdLineOptions( options );";
code += "";
code += "KApplication app;";
code += "";
- code += "KCmdLineArgs *args = KCmdLineArgs::parsedArgs();";
+ code += "TDECmdLineArgs *args = TDECmdLineArgs::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" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->isSet( "create-class" ) || args->isSet( "create-dialog" ) ||
args->isSet( "create-kioslave" ) || args->isSet( "create-main" ) ) {
diff --git a/kode/kwsdl/kung/main.cpp b/kode/kwsdl/kung/main.cpp
index 2b7f3d679..155a10b01 100644
--- a/kode/kwsdl/kung/main.cpp
+++ b/kode/kwsdl/kung/main.cpp
@@ -43,10 +43,10 @@ int main( int argc, char **argv )
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() == 0 ) {
kdError() << "No WSDL file given." << endl;
diff --git a/kode/kwsdl/main.cpp b/kode/kwsdl/main.cpp
index f1bd1c378..697465902 100644
--- a/kode/kwsdl/main.cpp
+++ b/kode/kwsdl/main.cpp
@@ -49,10 +49,10 @@ int main( int argc, char **argv )
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() < 1 || args->count() > 1 ) {
tqDebug( "Invalid arguments, try --help." );
diff --git a/kode/kwsdl/tests/google/main.cc b/kode/kwsdl/tests/google/main.cc
index 5d874a904..19f6ba3f4 100644
--- a/kode/kwsdl/tests/google/main.cc
+++ b/kode/kwsdl/tests/google/main.cc
@@ -10,7 +10,7 @@ int main( int argc, char **argv )
KAboutData aboutData( "kgooglesearch", "TDE Google Search", "0.1", "", KAboutData::License_GPL );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app( false, false );
diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp
index fbf25ec11..89be13aac 100644
--- a/kode/kxml_compiler/kxml_compiler.cpp
+++ b/kode/kxml_compiler/kxml_compiler.cpp
@@ -61,12 +61,12 @@ int main( int argc, char **argv )
I18N_NOOP("TDE XML Compiler") , KAboutData::License_LGPL );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options );
KInstance app( &aboutData );
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() < 1 ) {
kdError() << "Too few arguments." << endl;