From 545d48dc2acbfb766a1c277b6f82ae54eea3754f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:48 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kweather/main.cpp | 4 ++-- kweather/reportmain.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kweather') diff --git a/kweather/main.cpp b/kweather/main.cpp index 3acf690..5b93485 100644 --- a/kweather/main.cpp +++ b/kweather/main.cpp @@ -15,8 +15,8 @@ int main (int argc, char *argv[]) aboutdata.addAuthor("Ian Reinhart Geiser",I18N_NOOP("Developer"),"geiseri@kde.org"); aboutdata.addAuthor("Nadeem Hasan",I18N_NOOP("Developer"),"nhasan@kde.org"); - KCmdLineArgs::init( argc, argv, &aboutdata ); - // KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &aboutdata ); + // TDECmdLineArgs::addCmdLineOptions( options ); KUniqueApplication::addCmdLineOptions(); if (!KUniqueApplication::start()) diff --git a/kweather/reportmain.cpp b/kweather/reportmain.cpp index 5a661a5..15c2534 100644 --- a/kweather/reportmain.cpp +++ b/kweather/reportmain.cpp @@ -27,9 +27,9 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) KGlobal::locale()->setMainCatalogue( "kweather" ); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( options ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->count() != 1 ) { -- cgit v1.2.1