Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent e198991437
commit daaccdab8a

@ -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();

Loading…
Cancel
Save