Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 0914721520
commit 4fbd41233e

@ -83,8 +83,8 @@ int main(int argc, char *argv[])
Digikam::authorsRegistration(aboutData);
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
@ -115,7 +115,7 @@ int main(int argc, char *argv[])
app.setMainWidget(digikam);
digikam->show();
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if (args && args->isSet("detect-camera"))
digikam->autoDetect();
else if (args && args->isSet("download-from"))

@ -67,14 +67,14 @@ int main(int argc, char *argv[])
Digikam::authorsRegistration(aboutData);
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KImageIO::registerFormats();
KURL::List urlList;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
for(int i = 0; i < args->count(); i++)
{
urlList.append(args->url(i));

@ -60,8 +60,8 @@ int main(int argc, char** argv)
Digikam::authorsRegistration(aboutData);
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KGlobal::locale()->setMainCatalogue( "digikam" );

Loading…
Cancel
Save