diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:27 -0600 |
commit | daaccdab8a2e808b004b535691f7279f7b64e284 (patch) | |
tree | c25349394ab53a5f65d190d14e4196ac4fdc4264 /src | |
parent | e198991437f7d59076942e5edcb865c3b9f0fd93 (diff) | |
download | tdeio-umountwrapper-daaccdab8a2e808b004b535691f7279f7b64e284.tar.gz tdeio-umountwrapper-daaccdab8a2e808b004b535691f7279f7b64e284.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8c2782f..9e249b5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -42,16 +42,16 @@ int main(int argc, char **argv) KAboutData about("kio_umountwrapper", I18N_NOOP("kio_umountwrapper"), version, description, KAboutData::License_GPL, "(C) 2007 Frode M. Døving", 0, 0, "frode@lnix.net"); about.addAuthor( "Frode M. Døving", 0, "frode@lnix.net" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); kio_umountwrapper *app; - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); kdDebug() << "arg0: " << args->arg(0) << endl; if (args->count() == 0) - KCmdLineArgs::usage(i18n("No URL specified!")); + TDECmdLineArgs::usage(i18n("No URL specified!")); else app = new kio_umountwrapper(TQString(args->arg(0))); args->clear(); |