summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-07-27 17:13:06 +0200
committerSlávek Banko <[email protected]>2013-07-27 18:48:47 +0200
commita915aa74dc1acdd12de97f9d95a848b3b2a17abb (patch)
treef65d926875557195c5f6dd840a517e195eeda20e /src/main.cpp
parent7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (diff)
downloadtork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.tar.gz
tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.zip
Initial TDE conversion
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp24
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, "[email protected]");
+ TDEAboutData about("tork", I18N_NOOP(title), version, description,
+ TDEAboutData::License_GPL, "(C) 2006 - 2008 Robert Hogan", 0, 0, "[email protected]");
about.addAuthor( "Robert Hogan", I18N_NOOP("Author and Maintainer"), "[email protected]", "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"), "[email protected]");
about.addCredit( "Daniel Berthereau", I18N_NOOP("French Translation"),
- 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();
}