summaryrefslogtreecommitdiffstats
path: root/lib
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
parent9df097f8104a2fb8bfb68dba339639697d6f75a9 (diff)
downloadkoffice-ea720a87cc64cfc09e53ff48303de43b4df1fb01.tar.gz
koffice-ea720a87cc64cfc09e53ff48303de43b4df1fb01.zip
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'lib')
-rw-r--r--lib/kformula/main.cc4
-rw-r--r--lib/kofficecore/DESIGN2
-rw-r--r--lib/kofficecore/KoApplication.cpp4
-rw-r--r--lib/koproperty/test/main.cpp4
-rw-r--r--lib/kross/runner/main.cpp4
-rw-r--r--lib/kross/test/main.cpp2
6 files changed, 10 insertions, 10 deletions
diff --git a/lib/kformula/main.cc b/lib/kformula/main.cc
index ed5bb108..0fd9723c 100644
--- a/lib/kformula/main.cc
+++ b/lib/kformula/main.cc
@@ -229,9 +229,9 @@ void ScrollView::cursorChanged(bool visible, bool /*selecting*/)
}
-static const KCmdLineOptions options[]= {
+static const TDECmdLineOptions options[]= {
{ "+file", "File to open", 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
int main(int argc, char** argv)
diff --git a/lib/kofficecore/DESIGN b/lib/kofficecore/DESIGN
index bc5d16cd..2a04e9f5 100644
--- a/lib/kofficecore/DESIGN
+++ b/lib/kofficecore/DESIGN
@@ -24,7 +24,7 @@ which is used to locate the application's own data
Q: What is the "+[file]" option passed to TDECmdLineArgs?
-A: KCmdLineOptions describe the TDECmdLineArgs. "+[file]" means that the
+A: TDECmdLineOptions describe the TDECmdLineArgs. "+[file]" means that the
command line arguments can be one or more file names, and that these
arguments are optional.
diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp
index d594e0a0..25fe00dc 100644
--- a/lib/kofficecore/KoApplication.cpp
+++ b/lib/kofficecore/KoApplication.cpp
@@ -36,12 +36,12 @@
void tqt_generate_epsf( bool b );
-static const KCmdLineOptions options[]=
+static const TDECmdLineOptions options[]=
{
{"print", I18N_NOOP("Only print and exit"),0},
{"template", I18N_NOOP("Open a new document with a template"), 0},
{"dpi <dpiX,dpiY>", I18N_NOOP("Override display DPI"), 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
bool KoApplication::m_starting = true;
diff --git a/lib/koproperty/test/main.cpp b/lib/koproperty/test/main.cpp
index 818d6637..dcebcaf5 100644
--- a/lib/koproperty/test/main.cpp
+++ b/lib/koproperty/test/main.cpp
@@ -27,11 +27,11 @@ static const char description[] = "A test application for the KoProperty library
static const char version[] = "0.2";
-static KCmdLineOptions options[] =
+static TDECmdLineOptions options[] =
{
{ "flat", "Flat display: don't display groups\n(useful for testing)", 0 },
{ "ro", "Set all properties as read-only:\n(useful for testing read-only mode)", 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
int main(int argc, char **argv)
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" },