From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kmenuedit/kcontrol_main.cpp | 2 +- kmenuedit/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kmenuedit') diff --git a/kmenuedit/kcontrol_main.cpp b/kmenuedit/kcontrol_main.cpp index 6d9322ca6..3555937b5 100644 --- a/kmenuedit/kcontrol_main.cpp +++ b/kmenuedit/kcontrol_main.cpp @@ -42,7 +42,7 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org"); aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org"); - KCmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::init( argc, argv, &aboutData ); KUniqueApplication::addCmdLineOptions(); if (!KUniqueApplication::start()) diff --git a/kmenuedit/main.cpp b/kmenuedit/main.cpp index 8e644dd54..e2f70b62d 100644 --- a/kmenuedit/main.cpp +++ b/kmenuedit/main.cpp @@ -48,7 +48,7 @@ public: virtual int newInstance() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->count() > 0) { menuEdit->selectMenu(TQString::fromLocal8Bit(args->arg(0))); @@ -71,9 +71,9 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org"); aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org"); - KCmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::init( argc, argv, &aboutData ); KUniqueApplication::addCmdLineOptions(); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); if (!KUniqueApplication::start()) return 1; -- cgit v1.2.1