summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-07-24 11:53:10 -0500
committerTimothy Pearson <[email protected]>2013-07-24 11:53:10 -0500
commitdacae0242e905268e9df9aed83f84e91b13a1749 (patch)
tree26c8dc7f37d040f54265a3471834309a1e248538 /src/main.cpp
parent0d218fd2db1810aafd86f7fc8761c75128f3fcb8 (diff)
downloadkasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.tar.gz
kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.zip
Convert to TDE R14 API
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 834d499..1f12140 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5,16 +5,16 @@
#include "kasablanca.h"
#include <kapplication.h>
#include <dcopclient.h>
-#include <kaboutdata.h>
-#include <kcmdlineargs.h>
-#include <klocale.h>
+#include <tdeaboutdata.h>
+#include <tdecmdlineargs.h>
+#include <tdelocale.h>
static const char description[] =
I18N_NOOP("A KDE Ftp Client");
static const char version[] = "0.4.0.2";
-static KCmdLineOptions options[] =
+static TDECmdLineOptions options[] =
{
// { "+[URL]", I18N_NOOP( "Document to open." ), 0 },
KCmdLineLastOption
@@ -24,16 +24,16 @@ int main(int argc, char **argv)
{
KLocale::setMainCatalogue("kasablanca");
- KAboutData about("kasablanca", I18N_NOOP("kasablanca"), version, description,
- KAboutData::License_GPL, "(C) 2004 Magnus Kulke", 0, 0,
+ TDEAboutData about("kasablanca", I18N_NOOP("kasablanca"), version, description,
+ TDEAboutData::License_GPL, "(C) 2004 Magnus Kulke", 0, 0,
about.addAuthor( "Magnus Kulke", 0, "[email protected]" );
about.addAuthor( "Big Biff", 0, "[email protected]" );
about.addCredit( "Stefan Bogner", 0, "[email protected]" );
about.addCredit( "Christoph Thielecke", 0, "[email protected]" );
about.addCredit( "Richard Stellingwerf", 0, "[email protected]" );
- KCmdLineArgs::init(argc, argv, &about);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
// register ourselves as a dcop client
@@ -47,7 +47,7 @@ int main(int argc, char **argv)
else
{
// no session.. just start up normally
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() == 0)
{
Kasablanca *widget = new Kasablanca;