summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
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);