summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
committerTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
commit9fdfd1e304d56f6ff152b55e9c077d9c07223714 (patch)
treec5eef3ccc65b4fa1db1fe82a2b043f69a48fdc33
parentf9228ad9fb4bbaac3f89eb901209fe905b0a254e (diff)
downloadknutclient-9fdfd1e304d56f6ff152b55e9c077d9c07223714.tar.gz
knutclient-9fdfd1e304d56f6ff152b55e9c077d9c07223714.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d3dabec..5f272fb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -51,11 +51,11 @@ int main(int argc, char *argv[])
aboutData.addCredit("Arnaud Quette",0,"[email protected]","http://www.networkupstools.org/");
aboutData.addCredit("MGE",0,0,"http://opensource.mgeups.com");
- 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();
- KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
bool noDock = args->isSet("dock");
args->clear();