From 8c78497ddbb61e72239a7ef5e0e56804455ea712 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:32 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/gui/application/RosegardenApplication.cpp | 2 +- src/gui/application/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/application') diff --git a/src/gui/application/RosegardenApplication.cpp b/src/gui/application/RosegardenApplication.cpp index 0168ae6..d94cbcd 100644 --- a/src/gui/application/RosegardenApplication.cpp +++ b/src/gui/application/RosegardenApplication.cpp @@ -51,7 +51,7 @@ namespace Rosegarden int RosegardenApplication::newInstance() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (RosegardenGUIApp::self() && args->count() && RosegardenGUIApp::self()->getDocument() && diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp index 5f6a0ff..2d58cd7 100644 --- a/src/gui/application/main.cpp +++ b/src/gui/application/main.cpp @@ -468,8 +468,8 @@ int main(int argc, char *argv[]) aboutData.setTranslator(I18N_NOOP("_: NAME OF TRANSLATORS\nYour names") , I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails")); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. KUniqueApplication::addCmdLineOptions(); // Add KUniqueApplication options. if (!RosegardenApplication::start()) @@ -487,7 +487,7 @@ int main(int argc, char *argv[]) // Parse cmd line args // - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (!args->isSet("ignoreversion")) { // Give up immediately if we haven't been installed or if the -- cgit v1.2.1