From a915aa74dc1acdd12de97f9d95a848b3b2a17abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Jul 2013 17:13:06 +0200 Subject: Initial TDE conversion --- src/main.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/main.cpp') 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 -#include -#include -#include -#include +#include +#include +#include +#include +#include static const char description[] = I18N_NOOP("TorK - An Anonymity Manager for the KDE Desktop.\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(); } -- cgit v1.2.1