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 7936adc..0163fb9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,9 +23,9 @@ #include <stdlib.h> -#include <kaboutdata.h> -#include <kcmdlineargs.h> -#include <klocale.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> +#include <tdelocale.h> static const char description[] = @@ -33,11 +33,11 @@ static const char description[] = static const char version[] = "0.5.3"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "nosystray", I18N_NOOP( "Do not show the systray icon" ), 0 }, { "singleshot", I18N_NOOP( "Display the default view and exit (non daemon mode)" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; void myMessageOutput( TQtMsgType type, const char *msg ) @@ -61,16 +61,16 @@ int main(int argc, char **argv) { // qInstallMsgHandler( myMessageOutput ); - KAboutData about("kompose", I18N_NOOP("Kompose"), version, description, - KAboutData::License_GPL, "(C) 2005 Hans Oischinger", "", "http://developer.berlios.de/projects/kompose", "hans.oischinger@kde-mail.net"); + TDEAboutData about("kompose", I18N_NOOP("Kompose"), version, description, + TDEAboutData::License_GPL, "(C) 2005 Hans Oischinger", "", "http://developer.berlios.de/projects/kompose", "hans.oischinger@kde-mail.net"); about.addAuthor( "Hans Oischinger", 0, "hans.oischinger@kde-mail.net" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); Kompose *app = new Kompose(); // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( !args->isSet("systray") ) { |