diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:49 -0600 |
commit | bdeb717137b6fc8693198008ccb97f8213973416 (patch) | |
tree | aa91b6811b0632aeea6ac8402022cd6e1ff122fb /src | |
parent | 57c30b2881457b03f7ca0a20b14178e5c3baad63 (diff) | |
download | tdevelop-bdeb717137b6fc8693198008ccb97f8213973416.tar.gz tdevelop-bdeb717137b6fc8693198008ccb97f8213973416.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 6 | ||||
-rw-r--r-- | src/main_assistant.cpp | 6 | ||||
-rw-r--r-- | src/plugincontroller.cpp | 2 | ||||
-rw-r--r-- | src/profileengine/editor/main.cpp | 4 |
4 files changed, 9 insertions, 9 deletions
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; |