From 0d7d755554c359ad58e599610415a580996bae43 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:47:48 -0600 Subject: [PATCH] Rename KCmd to avoid conflicts with KDE4 --- kweather/reportmain.cpp | 4 ++-- kworldwatch/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kweather/reportmain.cpp b/kweather/reportmain.cpp index 7f1081b..d5e06fc 100644 --- a/kweather/reportmain.cpp +++ b/kweather/reportmain.cpp @@ -9,10 +9,10 @@ #include #include -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+location", I18N_NOOP( "METAR location code for the report" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) diff --git a/kworldwatch/main.cpp b/kworldwatch/main.cpp index 045c715..023ae07 100644 --- a/kworldwatch/main.cpp +++ b/kworldwatch/main.cpp @@ -162,14 +162,14 @@ static void listThemes() } } -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "dump", I18N_NOOP("Write out a file containing the actual map"), 0 }, { "theme ", I18N_NOOP("The name of the theme to use"), "depths"}, { "themes", I18N_NOOP("List available themes"), 0 }, { "o ", I18N_NOOP("The name of the file to write to"), "dump.ppm" }, { "size ", I18N_NOOP("The size of the map to dump"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption };