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