diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:43 -0600 |
commit | d41050ea3f6904e5156d35f664346b816b9e4d12 (patch) | |
tree | 7b3ff517432a631adc61a2a93080dc3bacfab604 /kicker/proxy | |
parent | c16d0f2191af1e4810391dbd1a06d7713fb38666 (diff) | |
download | tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kicker/proxy')
-rw-r--r-- | kicker/proxy/appletproxy.cpp | 8 | ||||
-rw-r--r-- | kicker/proxy/extensiondebugger.cpp | 8 | ||||
-rw-r--r-- | kicker/proxy/extensionproxy.cpp | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/kicker/proxy/appletproxy.cpp b/kicker/proxy/appletproxy.cpp index e427cbe74..04e81612e 100644 --- a/kicker/proxy/appletproxy.cpp +++ b/kicker/proxy/appletproxy.cpp @@ -75,11 +75,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) ,I18N_NOOP("Panel applet proxy.") , KAboutData::License_BSD , "(c) 2000, The KDE Developers"); - KCmdLineArgs::init(argc, argv, &aboutData ); + TDECmdLineArgs::init(argc, argv, &aboutData ); aboutData.addAuthor("Matthias Elter",0, "[email protected]"); aboutData.addAuthor("Matthias Ettrich",0, "[email protected]"); KApplication::addCmdLineOptions(); - KCmdLineArgs::addCmdLineOptions(options); // Add our own options. + TDECmdLineArgs::addCmdLineOptions(options); // Add our own options. KApplication a; a.disableSessionManagement(); @@ -91,10 +91,10 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) AppletProxy proxy(0, "appletproxywidget"); // parse cmdline args - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->count() == 0 ) - KCmdLineArgs::usage(i18n("No desktop file specified") ); + TDECmdLineArgs::usage(i18n("No desktop file specified") ); // Perhaps we should use a konsole-like solution here (shell, list of args...) TQString desktopfile( args->arg(0) ); diff --git a/kicker/proxy/extensiondebugger.cpp b/kicker/proxy/extensiondebugger.cpp index 796f10c93..4fa1d8332 100644 --- a/kicker/proxy/extensiondebugger.cpp +++ b/kicker/proxy/extensiondebugger.cpp @@ -79,11 +79,11 @@ int main( int argc, char ** argv ) ,I18N_NOOP("Panel extension proxy.") , KAboutData::License_BSD , "(c) 2000, The KDE Developers"); - KCmdLineArgs::init(argc, argv, &aboutData ); + TDECmdLineArgs::init(argc, argv, &aboutData ); aboutData.addAuthor("Matthias Elter",0, "[email protected]"); aboutData.addAuthor("Matthias Ettrich",0, "[email protected]"); KApplication::addCmdLineOptions(); - KCmdLineArgs::addCmdLineOptions(options); // Add our own options. + TDECmdLineArgs::addCmdLineOptions(options); // Add our own options. KApplication a; a.disableSessionManagement(); @@ -94,11 +94,11 @@ int main( int argc, char ** argv ) TQString df; // parse cmdline args - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // sanity check if ( args->count() == 0 ) - KCmdLineArgs::usage(i18n("No desktop file specified") ); + TDECmdLineArgs::usage(i18n("No desktop file specified") ); TQCString desktopFile = TQCString( args->arg(0) ); diff --git a/kicker/proxy/extensionproxy.cpp b/kicker/proxy/extensionproxy.cpp index 0bce08e91..eab6f4bb4 100644 --- a/kicker/proxy/extensionproxy.cpp +++ b/kicker/proxy/extensionproxy.cpp @@ -61,11 +61,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) ,I18N_NOOP("Panel extension proxy") , KAboutData::License_BSD , "(c) 2000, The KDE Developers"); - KCmdLineArgs::init(argc, argv, &aboutData ); + TDECmdLineArgs::init(argc, argv, &aboutData ); aboutData.addAuthor("Matthias Elter",0, "[email protected]"); aboutData.addAuthor("Matthias Ettrich",0, "[email protected]"); KApplication::addCmdLineOptions(); - KCmdLineArgs::addCmdLineOptions(options); // Add our own options. + TDECmdLineArgs::addCmdLineOptions(options); // Add our own options. KApplication a; a.disableSessionManagement(); @@ -77,11 +77,11 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) ExtensionProxy proxy(0, "extensionproxywidget"); // parse cmdline args - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // sanity check if ( args->count() == 0 ) - KCmdLineArgs::usage(i18n("No desktop file specified") ); + TDECmdLineArgs::usage(i18n("No desktop file specified") ); // do we have a callback id? if (args->getOption("callbackid").isNull()) { |