summaryrefslogtreecommitdiffstats
path: root/lib/kross
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:36:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:36:08 -0600
commitea720a87cc64cfc09e53ff48303de43b4df1fb01 (patch)
treeb64fa773ad8102fa3a97806f79236f288fdde797 /lib/kross
parent9df097f8104a2fb8bfb68dba339639697d6f75a9 (diff)
downloadkoffice-ea720a87cc64cfc09e53ff48303de43b4df1fb01.tar.gz
koffice-ea720a87cc64cfc09e53ff48303de43b4df1fb01.zip
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'lib/kross')
-rw-r--r--lib/kross/runner/main.cpp4
-rw-r--r--lib/kross/test/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/kross/runner/main.cpp b/lib/kross/runner/main.cpp
index e554fc23..436d7a7a 100644
--- a/lib/kross/runner/main.cpp
+++ b/lib/kross/runner/main.cpp
@@ -112,9 +112,9 @@ int main(int argc, char **argv)
// Initialize command line args
TDECmdLineArgs::init(argc, argv, &about);
// Tell which options are supported and parse them.
- static KCmdLineOptions options[] = {
+ static TDECmdLineOptions options[] = {
{ "+file", I18N_NOOP("Scriptfile"), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
TDECmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/lib/kross/test/main.cpp b/lib/kross/test/main.cpp
index 275a9e93..449116cb 100644
--- a/lib/kross/test/main.cpp
+++ b/lib/kross/test/main.cpp
@@ -53,7 +53,7 @@ TDEApplication *app = 0;
-static KCmdLineOptions options[] =
+static TDECmdLineOptions options[] =
{
{ "interpreter <interpretername>", I18N_NOOP("Name of the interpreter being used"), "python" },
{ "scriptfile <filename>", I18N_NOOP("Script file to execute with the defined interpreter"), "testcase.py" },