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 --- kate/app/katemain.cpp | 4 ++-- kate/app/kwritemain.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kate') diff --git a/kate/app/katemain.cpp b/kate/app/katemain.cpp index fb389131d..59d1e0100 100644 --- a/kate/app/katemain.cpp +++ b/kate/app/katemain.cpp @@ -35,7 +35,7 @@ #include -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "s", 0 , 0 }, { "start ", I18N_NOOP("Start Kate with a given session"), 0 }, @@ -52,7 +52,7 @@ static KCmdLineOptions options[] = { "i", 0, 0 }, { "stdin", I18N_NOOP("Read the contents of stdin"), 0 }, { "+[URL]", I18N_NOOP("Document to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; extern "C" KDE_EXPORT int kdemain( int argc, char **argv ) diff --git a/kate/app/kwritemain.cpp b/kate/app/kwritemain.cpp index 58a6368d1..8da1e7e20 100644 --- a/kate/app/kwritemain.cpp +++ b/kate/app/kwritemain.cpp @@ -526,14 +526,14 @@ void KWrite::restore() } } -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "stdin", I18N_NOOP("Read the contents of stdin"), 0}, { "encoding ", I18N_NOOP("Set encoding for the file to open"), 0 }, { "line ", I18N_NOOP("Navigate to this line"), 0 }, { "column ", I18N_NOOP("Navigate to this column"), 0 }, { "+[URL]", I18N_NOOP("Document to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; extern "C" KDE_EXPORT int kdemain(int argc, char **argv) -- cgit v1.2.3