From bdeb717137b6fc8693198008ccb97f8213973416 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:49 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/main.cpp | 6 +++--- src/main_assistant.cpp | 6 +++--- src/plugincontroller.cpp | 2 +- src/profileengine/editor/main.cpp | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index a0711997..f6ff2789 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -80,9 +80,9 @@ int main(int argc, char *argv[]) aboutData.addCredit("Robert Gruber" , I18N_NOOP("SnippetPart, debugger and usability patches"), "rgruber@users.sourceforge.net"); aboutData.addCredit("Zoran Karavla", I18N_NOOP("Artwork for the Ruby language"), "webmaster@the-error.net", "http://the-error.net"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions( options ); - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); KApplication app; diff --git a/src/main_assistant.cpp b/src/main_assistant.cpp index b4b22221..25e7202a 100644 --- a/src/main_assistant.cpp +++ b/src/main_assistant.cpp @@ -74,9 +74,9 @@ int main(int argc, char *argv[]) aboutData.addCredit("Andreas Koepfle" , I18N_NOOP("TQMake project manager patches"), "koepfle@ti.uni-mannheim.de"); aboutData.addCredit("Sascha Cunz" , I18N_NOOP("Cleanup and bugfixes for qEditor, AutoMake and much other stuff"), "mail@sacu.de"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions( options ); -// KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions( options ); +// TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); KApplication app; diff --git a/src/plugincontroller.cpp b/src/plugincontroller.cpp index 6d579346..e598b456 100644 --- a/src/plugincontroller.cpp +++ b/src/plugincontroller.cpp @@ -84,7 +84,7 @@ PluginController::PluginController() KStandardDirs::kde_default( "data" ) + TQString::fromLatin1("/tdevelop/profiles/FullIDE");*/ - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if( args->isSet("profile") ){ m_profile = TQString::fromLocal8Bit( args->getOption("profile") ); } else { diff --git a/src/profileengine/editor/main.cpp b/src/profileengine/editor/main.cpp index eeff6afc..7c43d24f 100644 --- a/src/profileengine/editor/main.cpp +++ b/src/profileengine/editor/main.cpp @@ -33,8 +33,8 @@ int main(int argc, char **argv) KAboutData about("kdevprofileeditor", I18N_NOOP("TDevelop Profile Editor"), "1", "", KAboutData::License_GPL, I18N_NOOP("(c) 2004, The KDevelop Developers"), 0, 0, ""); about.addAuthor("Alexander Dymo", 0, "adymo@tdevelop.org"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); KApplication app(argc, argv); ProfileEditor editor; -- cgit v1.2.1