diff options
| author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:12:55 +0300 |
|---|---|---|
| committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:12:55 +0300 |
| commit | 29129afdb289a6e17146cc69867c95e0758cf4aa (patch) | |
| tree | d90be4b9eacb21907508e0f2cfc7c51fddea5671 /src/main.cpp | |
| parent | d991b7f387775dc1071fb0c0af78de1c613ca991 (diff) | |
| download | kompose-29129afdb289a6e17146cc69867c95e0758cf4aa.tar.gz kompose-29129afdb289a6e17146cc69867c95e0758cf4aa.zip | |
KDE3->TDE conversion
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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") ) { |
