summaryrefslogtreecommitdiffstats
path: root/kode/kodemain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kodemain.cpp')
-rw-r--r--kode/kodemain.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index 4f513757e..288b9ac54 100644
--- a/kode/kodemain.cpp
+++ b/kode/kodemain.cpp
@@ -29,7 +29,7 @@
#include <kaboutdata.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kdebug.h>
#include <kglobal.h>
#include <klocale.h>
@@ -52,7 +52,7 @@ static const KCmdLineOptions options[] =
{ "create-class", I18N_NOOP("Create class"), 0 },
{ "d", 0, 0 },
{ "create-dialog", I18N_NOOP("Create dialog"), 0 },
- { "create-kioslave", I18N_NOOP("Create kioslave"), 0 },
+ { "create-tdeioslave", I18N_NOOP("Create tdeioslave"), 0 },
{ "create-main", I18N_NOOP("Create main function template"), 0 },
{ "y", 0, 0 },
{ "codify", I18N_NOOP("Create generator code for given source"), 0 },
@@ -68,7 +68,7 @@ static const KCmdLineOptions options[] =
{ "warning", I18N_NOOP("Create warning about code generation"), 0 },
{ "qt-exception", I18N_NOOP("Add TQt exception to GPL"), 0 },
{ "singleton", I18N_NOOP("Create a singleton class"), 0 },
- { "protocol", I18N_NOOP("kioslave protocol"), 0 },
+ { "protocol", I18N_NOOP("tdeioslave protocol"), 0 },
{ "+[filename]", I18N_NOOP("Source code file name"), 0 },
KCmdLineLastOption
};
@@ -325,7 +325,7 @@ int create( TDECmdLineArgs *args )
KODE::Printer p;
if ( args->isSet( "warning" ) ) p.setCreationWarning( true );
- bool createKioslave = args->isSet( "create-kioslave" );
+ bool createKioslave = args->isSet( "create-tdeioslave" );
bool createMain = args->isSet( "create-main" );
TQString filename = args->getOption( "filename" );
@@ -353,7 +353,7 @@ int create( TDECmdLineArgs *args )
if ( createKioslave ) {
if ( !args->isSet( "protocol" ) ) {
protocol = className.lower();
- kdWarning() << "Warning: No protocol for kioslave given. Assuming '"
+ kdWarning() << "Warning: No protocol for tdeioslave given. Assuming '"
<< protocol << "'" << endl;
} else {
protocol = args->getOption( "protocol" );
@@ -441,10 +441,10 @@ int create( TDECmdLineArgs *args )
c.addBaseClass( KODE::Class( "KDialogBase" ) );
c.addInclude( "kdialogbase.h" );
} else if ( createKioslave ) {
- c.setDocs( "This class implements a kioslave for ..." );
+ c.setDocs( "This class implements a tdeioslave for ..." );
c.addBaseClass( KODE::Class( "SlaveBase", "KIO" ) );
- c.addHeaderInclude( "kio/slavebase.h" );
+ c.addHeaderInclude( "tdeio/slavebase.h" );
KODE::Function get( "get", "void" );
get.addArgument( "const KURL &url" );
@@ -599,7 +599,7 @@ int create( TDECmdLineArgs *args )
protocolFile.writeEntry( "input", "none" );
protocolFile.writeEntry( "output", "filesystem" );
protocolFile.writeEntry( "reading", "true" );
- protocolFile.writeEntry( "DocPath", "kioslave/" + protocol + ".html" );
+ protocolFile.writeEntry( "DocPath", "tdeioslave/" + protocol + ".html" );
protocolFile.sync();
}
@@ -620,7 +620,7 @@ int main(int argc,char **argv)
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->isSet( "create-class" ) || args->isSet( "create-dialog" ) ||
- args->isSet( "create-kioslave" ) || args->isSet( "create-main" ) ) {
+ args->isSet( "create-tdeioslave" ) || args->isSet( "create-main" ) ) {
return create( args );
} else if ( args->isSet( "codify" ) ) {
return codify( args );