From ea720a87cc64cfc09e53ff48303de43b4df1fb01 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:36:08 -0600 Subject: Rename KCmd to avoid conflicts with KDE4 --- lib/kformula/main.cc | 4 ++-- lib/kofficecore/DESIGN | 2 +- lib/kofficecore/KoApplication.cpp | 4 ++-- lib/koproperty/test/main.cpp | 4 ++-- lib/kross/runner/main.cpp | 4 ++-- lib/kross/test/main.cpp | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'lib') 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 ", 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 ", I18N_NOOP("Name of the interpreter being used"), "python" }, { "scriptfile ", I18N_NOOP("Script file to execute with the defined interpreter"), "testcase.py" }, -- cgit v1.2.1