diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8552d86..4d60369 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,28 +20,28 @@ * * ***************************************************************************/ -#include <kaboutdata.h> +#include <tdeaboutdata.h> #include <kapplication.h> -#include <kcmdlineargs.h> +#include <tdecmdlineargs.h> #include <kdebug.h> -#include <klocale.h> +#include <tdelocale.h> #include "global.h" #include "knmap.h" static const char description[] = I18N_NOOP( "A KDE frontend for nmap" ); -static KCmdLineOptions options[] = { KCmdLineLastOption }; +static TDECmdLineOptions options[] = { KCmdLineLastOption }; // main // ==== int main( int argc, string argv[]) -{ QString version = QString( "Version 2.1, %1 %2" ).arg( __TIME__ ).arg( __DATE__ ); - KAboutData about( "knmap", +{ TQString version = TQString( "Version 2.1, %1 %2" ).arg( __TIME__ ).arg( __DATE__ ); + TDEAboutData about( "knmap", I18N_NOOP( "Knmap" ), version, description, - KAboutData::License_GPL, + TDEAboutData::License_GPL, "(C) 2005, 2006 Kevin Gilbert", I18N_NOOP( "This program is a complete re-write of one by the same name written by Alexandre\n" "Sagala. The last version of that program was 0.9 which was released on 2003-03-09\n" @@ -59,15 +59,15 @@ int main( int argc, string argv[]) "Initial rewrite released as version 1.0\nVersions 2.0, 2.1", "kev.gilbert@cdu.edu.au", "http://informatics.cdu.edu.au/staff/kgilbert" ); - KCmdLineArgs::init( argc, argv, &about ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; if( app.isRestored( )) { RESTORE( Knmap ); } else - { KCmdLineArgs* args = KCmdLineArgs::parsedArgs( ); + { TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs( ); Knmap* mainWin = new Knmap; app.setMainWidget( mainWin ); mainWin->show( ); |