diff options
| author | Mavridis Philippe <mavridisf@gmail.com> | 2024-08-09 14:50:19 +0300 |
|---|---|---|
| committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-08-09 14:50:19 +0300 |
| commit | 1920d57b50b8fcd06d62c6592fa83b9417bd1cc6 (patch) | |
| tree | 70103b849989d0c43b902765a8a85110b560abaa /src/main.cpp | |
| parent | 2fbdf2c0982e3e2147774c2034c21aebb67f732d (diff) | |
| download | tdealternatives-1920d57b50b8fcd06d62c6592fa83b9417bd1cc6.tar.gz tdealternatives-1920d57b50b8fcd06d62c6592fa83b9417bd1cc6.zip | |
KDE3->TDE port
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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 <kuniqueapplication.h> -#include <kaboutdata.h> -#include <kcmdlineargs.h> -#include <klocale.h> -#include <kmessagebox.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> +#include <tdelocale.h> +#include <tdemessagebox.h> 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 |
