From 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:45 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kded/kde-menu.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kded/kde-menu.cpp') 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")) { -- cgit v1.2.1