summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-08 00:16:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:54 +0200
commit78114a50964bc7bb5d7d99f713bb815ed5a623ef (patch)
tree871f5d697fb8825c02152c43ea0e671319b742cf /src/main.cpp
parent84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (diff)
downloadkscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.tar.gz
kscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.zip
Initial TDE conversion
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ffa7b55..9d88dfc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,9 +25,9 @@
*
***************************************************************************/
-#include <kcmdlineargs.h>
-#include <kaboutdata.h>
-#include <klocale.h>
+#include <tdecmdlineargs.h>
+#include <tdeaboutdata.h>
+#include <tdelocale.h>
#include "kscope.h"
#include "kscopeconfig.h"
@@ -36,13 +36,13 @@ static const char *description =
I18N_NOOP("KScope\nA source-editing environment for KDE, based on "
"Cscope");
-static KCmdLineOptions options[] =
+static TDECmdLineOptions options[] =
{
{ "+[CSCOPE.OUT path]",
I18N_NOOP("Opens a cscope.out file in a temporary project"), 0 },
{ "+[CSCOPE.PROJ path | KScope project directory path]",
I18N_NOOP("Opens a KScope project"), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
/**
@@ -55,8 +55,8 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
// Create the "About" dialogue
- KAboutData aboutData( "kscope", I18N_NOOP("KScope"),
- VERSION, description, KAboutData::License_BSD,
+ TDEAboutData aboutData( "kscope", I18N_NOOP("KScope"),
+ VERSION, description, TDEAboutData::License_BSD,
"(c) 2003-2007, Elad Lahav", 0, "http://kscope.sourceforge.net",
"elad_lahav@users.sf.net");
aboutData.addAuthor("Elad Lahav", "Developer",
@@ -67,14 +67,14 @@ int main(int argc, char *argv[])
"feketgai@index.hu");
// Initialise command-line argument parsing
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions(options);
// Parse command line arguments
- KCmdLineArgs* pArgs = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs* pArgs = TDECmdLineArgs::parsedArgs();
// Create the main window
- KApplication a;
+ TDEApplication a;
KScope* pKScope = new KScope();
a.setMainWidget(pKScope);