|
|
|
@ -78,8 +78,8 @@ int main( int argc, char **argv )
|
|
|
|
|
I18N_NOOP("(c) 2001-2004 KOffice developers") );
|
|
|
|
|
aboutData.addAuthor("David Faure",0, "faure@kde.org");
|
|
|
|
|
aboutData.addAuthor("Nicolas Goutte",0, "goutte@kde.org");
|
|
|
|
|
KCmdLineArgs::init( argc, argv, &aboutData);
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData);
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
KApplication app;
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ int main( int argc, char **argv )
|
|
|
|
|
KImageIO::registerFormats();
|
|
|
|
|
|
|
|
|
|
// Get the command line arguments which we have to parse
|
|
|
|
|
KCmdLineArgs *args= KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs *args= TDECmdLineArgs::parsedArgs();
|
|
|
|
|
if ( args->count() == 2 )
|
|
|
|
|
{
|
|
|
|
|
KURL uIn = args->url( 0 );
|
|
|
|
@ -155,7 +155,7 @@ int main( int argc, char **argv )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs::usage(i18n("Two arguments required"));
|
|
|
|
|
TDECmdLineArgs::usage(i18n("Two arguments required"));
|
|
|
|
|
return 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|