diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
commit | 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (patch) | |
tree | d074ed35245d0d44f04cd625c1cafacdc15a13ae /kded/kde-menu.cpp | |
parent | 6e8a7cc94c1eb8b67e91e6dc2f864dfeec51d9cc (diff) | |
download | tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.tar.gz tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kded/kde-menu.cpp')
-rw-r--r-- | kded/kde-menu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kded/kde-menu.cpp b/kded/kde-menu.cpp index 0362e10e9..81887a695 100644 --- a/kded/kde-menu.cpp +++ b/kded/kde-menu.cpp @@ -118,8 +118,8 @@ int main(int argc, char **argv) KAboutData::License_GPL, "(c) 2003 Waldo Bastian"); d.addAuthor("Waldo Bastian", I18N_NOOP("Author"), "bastian@kde.org"); - KCmdLineArgs::init(argc, argv, &d); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &d); + TDECmdLineArgs::addCmdLineOptions(options); // KApplication k(false, false); KApplication k(false); @@ -128,9 +128,9 @@ int main(int argc, char **argv) // this program is in tdelibs so it uses tdelibs as catalog KLocale::setMainCatalogue("tdelibs"); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->count() != 1) - KCmdLineArgs::usage(i18n("You must specify an application-id such as 'tde-konsole.desktop'")); + TDECmdLineArgs::usage(i18n("You must specify an application-id such as 'tde-konsole.desktop'")); utf8 = args->isSet("utf8"); @@ -139,7 +139,7 @@ int main(int argc, char **argv) bHighlight = args->isSet("highlight"); if (!bPrintMenuId && !bPrintMenuName && !bHighlight) - KCmdLineArgs::usage(i18n("You must specify at least one of --print-menu-id, --print-menu-name or --highlight")); + TDECmdLineArgs::usage(i18n("You must specify at least one of --print-menu-id, --print-menu-name or --highlight")); if (args->isSet("cache-update")) { |