From 1920d57b50b8fcd06d62c6592fa83b9417bd1cc6 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 9 Aug 2024 14:50:19 +0300 Subject: KDE3->TDE port Signed-off-by: Mavridis Philippe --- src/main.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 860a2ba..03e1093 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,10 +24,10 @@ #include "main.h" #include "kalternatives.h" #include -#include -#include -#include -#include +#include +#include +#include +#include KUniqueApplication *app = 0; // Global @@ -36,20 +36,20 @@ static const char description[] = static const char version[] = "0.10"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open." ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char **argv) { - KAboutData about("kalternatives", I18N_NOOP("kalternatives"), version, description, - KAboutData::License_GPL, "(C) 2004 Juanjo Alvarez Martinez and Mario Bensi", 0, 0, "juanjux@yahoo.es, nef@ipsquad.net"); + TDEAboutData about("kalternatives", I18N_NOOP("kalternatives"), version, description, + TDEAboutData::License_GPL, "(C) 2004 Juanjo Alvarez Martinez and Mario Bensi", 0, 0, "juanjux@yahoo.es, nef@ipsquad.net"); about.addAuthor( "Juanjo Alvarez Martinez and Mario Bensi", 0, "juanjux@yahoo.es, nef@ipsquad.net" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); KUniqueApplication rapp; app = &rapp; Kalternatives *mainWin = 0; @@ -61,7 +61,7 @@ int main(int argc, char **argv) else { // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); /// @todo do something with the command line args here -- cgit v1.2.3