Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 2c2b3075b1
commit 0e5bdd6a8b

@ -52,8 +52,8 @@ int main(int argc, char* argv[]) {
aboutData.addCredit("Valentin Lavrinenko", I18N_NOOP("Author of rtf2html library"),
0, 0);
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options);
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
@ -64,7 +64,7 @@ int main(int argc, char* argv[]) {
tellico->show();
tellico->slotShowTipOfDay(false);
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if(args->count() > 0) {
if(args->isSet("bibtex")) {
tellico->importFile(Tellico::Import::Bibtex, args->url(0), Tellico::Import::Replace);

Loading…
Cancel
Save