diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp index 55dfefd..7caf450 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,11 +25,11 @@ #include "torkconfig.h" #include "functions.h" #include "newfirstrunwizard.h" -#include <kapplication.h> -#include <kaboutdata.h> -#include <kcmdlineargs.h> -#include <klocale.h> -#include <kconfigdialogmanager.h> +#include <tdeapplication.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> +#include <tdelocale.h> +#include <tdeconfigdialogmanager.h> static const char description[] = I18N_NOOP("<b>TorK - An Anonymity Manager for the KDE Desktop.</b>\n" @@ -40,7 +40,7 @@ static const char description[] = static const char version[] = ""; static const char title[] = "TorK 0.33"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "Document to open." ), 0 }, { "toggleKDE", I18N_NOOP("Toggle Anonymous KDE"), 0 }, @@ -58,8 +58,8 @@ static KCmdLineOptions options[] = int main(int argc, char **argv) { - KAboutData about("tork", I18N_NOOP(title), version, description, - KAboutData::License_GPL, "(C) 2006 - 2008 Robert Hogan", 0, 0, "tork-users@lists.sf.net"); + TDEAboutData about("tork", I18N_NOOP(title), version, description, + TDEAboutData::License_GPL, "(C) 2006 - 2008 Robert Hogan", 0, 0, "tork-users@lists.sf.net"); about.addAuthor( "Robert Hogan", I18N_NOOP("Author and Maintainer"), "robert@roberthogan.net", "http://tork.anonymityanywhere.com" ); about.addAuthor( "Corinna Habets", I18N_NOOP("Icons"), 0); about.addAuthor( "Contains code by: Matt Edman, Justin Hipple, Max Howell,", 0, "" ); @@ -82,9 +82,9 @@ int main(int argc, char **argv) about.addCredit( "Max Urgel", I18N_NOOP("German Translation"), "bitwisser@googlemail.com"); about.addCredit( "Daniel Berthereau", I18N_NOOP("French Translation"), "Daniel.Berthereau@free.fr"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); - KApplication app; + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); + TDEApplication app; //Check for the existence of anonymizable/helper programs first. @@ -113,7 +113,7 @@ int main(int argc, char **argv) else widget->show(); - //KCrash::setCrashHandler( torK::Crash::crashHandler ); + //TDECrash::setCrashHandler( torK::Crash::crashHandler ); return app.exec(); } |