diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:47 -0600 |
commit | 479647c43c62fc50302342c8ac50a2fe024b4426 (patch) | |
tree | 946e0114bb29970388e3ae24418a9df7119eaef4 /kbabel | |
parent | ce145c966787b367fc3372bb78e8a5aefc33a410 (diff) | |
download | tdesdk-479647c43c62fc50302342c8ac50a2fe024b4426.tar.gz tdesdk-479647c43c62fc50302342c8ac50a2fe024b4426.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kbabel')
-rw-r--r-- | kbabel/catalogmanager/main.cpp | 6 | ||||
-rw-r--r-- | kbabel/kbabel/main.cpp | 6 | ||||
-rw-r--r-- | kbabel/kbabeldict/main.cpp | 6 | ||||
-rw-r--r-- | kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp | 2 | ||||
-rw-r--r-- | kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/catalogmanager/main.cpp b/kbabel/catalogmanager/main.cpp index 769e70e5..d071ecb6 100644 --- a/kbabel/catalogmanager/main.cpp +++ b/kbabel/catalogmanager/main.cpp @@ -126,7 +126,7 @@ int CatalogManagerApp::newInstance() } else { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQString configfile = args->getOption("project"); @@ -216,10 +216,10 @@ int main(int argc, char **argv) about.addCredit("GNU gettext", I18N_NOOP("KBabel contains code from GNU gettext"), 0, "http://www.gnu.org/software/gettext/"); // Initialize command line args - KCmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::init(argc, argv, &about); // Tell which options are supported - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add options from other components KApplication::addCmdLineOptions(); diff --git a/kbabel/kbabel/main.cpp b/kbabel/kbabel/main.cpp index 541ffa1c..f52d0e06 100644 --- a/kbabel/kbabel/main.cpp +++ b/kbabel/kbabel/main.cpp @@ -128,7 +128,7 @@ int KBabelApp::newInstance() kdDebug () << "Suspending DCOP" << endl; kapp->dcopClient()->suspend(); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQTimer timer; TQWidget *splash=0; @@ -587,10 +587,10 @@ int main(int argc, char **argv) about.addCredit("Nick Shaforostoff", I18N_NOOP("Word-by-word string difference algorithm implementation"), "[email protected]"); // Initialize command line args - KCmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::init(argc, argv, &about); // Tell which options are supported - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add options from other components KUniqueApplication::addCmdLineOptions(); diff --git a/kbabel/kbabeldict/main.cpp b/kbabel/kbabeldict/main.cpp index 293a95bb..e4de092a 100644 --- a/kbabel/kbabeldict/main.cpp +++ b/kbabel/kbabeldict/main.cpp @@ -61,7 +61,7 @@ KBabelDictApplication::KBabelDictApplication() : KApplication() , topLevel(0) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQTimer timer; TQWidget *splash=0; @@ -122,10 +122,10 @@ int main(int argc, char **argv) , I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails")); // Initialize command line args - KCmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::init(argc, argv, &about); // Tell which options are supported - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add options from other components KApplication::addCmdLineOptions(); diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp index f5ecf286..7c462099 100644 --- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp +++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp @@ -801,7 +801,7 @@ void PoCompendium::slotLoadCompendium() { path.replace("@LANG@",langCode); } - KURL u=KCmdLineArgs::makeURL(path.local8Bit()); + KURL u=TDECmdLineArgs::makeURL(path.local8Bit()); realURL = u.url(); registerData(); diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp index ca28acbe..3f212f1e 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp @@ -691,7 +691,7 @@ void TmxCompendium::slotLoadCompendium() { path.replace("@LANG@",langCode); } - KURL u=KCmdLineArgs::makeURL(path.local8Bit()); + KURL u=TDECmdLineArgs::makeURL(path.local8Bit()); realURL = u.url(); registerData(); |