diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:48 -0600 |
commit | 545d48dc2acbfb766a1c277b6f82ae54eea3754f (patch) | |
tree | 7b300309ee263157d3c34fd46d387cdc159fb14b /kweather | |
parent | 7adc7115528101c579c41266a2388a37e3b1c04c (diff) | |
download | tdetoys-545d48dc2acbfb766a1c277b6f82ae54eea3754f.tar.gz tdetoys-545d48dc2acbfb766a1c277b6f82ae54eea3754f.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kweather')
-rw-r--r-- | kweather/main.cpp | 4 | ||||
-rw-r--r-- | kweather/reportmain.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
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 ) { |