From daaccdab8a2e808b004b535691f7279f7b64e284 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:27 -0600 Subject: [PATCH] Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/main.cpp | 8 ++++---- 1 file 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();