From 5e664c2e4a7b9dcaf2660f8db94a632d1021e2dd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:44:17 -0600 Subject: Rename KCmd to avoid conflicts with KDE4 --- khelpcenter/application.cpp | 4 ++-- khelpcenter/htmlsearch/index.cpp | 4 ++-- khelpcenter/khc_indexbuilder.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'khelpcenter') diff --git a/khelpcenter/application.cpp b/khelpcenter/application.cpp index 6fa5aeca5..ba21ad639 100644 --- a/khelpcenter/application.cpp +++ b/khelpcenter/application.cpp @@ -52,10 +52,10 @@ int Application::newInstance() return KUniqueApplication::newInstance(); } -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[url]", I18N_NOOP("URL to display"), "" }, - KCmdLineLastOption + TDECmdLineLastOption }; extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) diff --git a/khelpcenter/htmlsearch/index.cpp b/khelpcenter/htmlsearch/index.cpp index 3cc356d52..319c94e0d 100644 --- a/khelpcenter/htmlsearch/index.cpp +++ b/khelpcenter/htmlsearch/index.cpp @@ -6,10 +6,10 @@ #include "htmlsearch.h" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "lang ", I18N_NOOP("The language to index"), "en" }, - KCmdLineLastOption // End of options. + TDECmdLineLastOption // End of options. }; diff --git a/khelpcenter/khc_indexbuilder.cpp b/khelpcenter/khc_indexbuilder.cpp index 9d084f0d4..c1ef425e9 100644 --- a/khelpcenter/khc_indexbuilder.cpp +++ b/khelpcenter/khc_indexbuilder.cpp @@ -161,11 +161,11 @@ void IndexBuilder::quit() } -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+cmdfile", I18N_NOOP("Document to be indexed"), 0 }, { "+indexdir", I18N_NOOP("Index directory"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main( int argc, char **argv ) -- cgit v1.2.1