rem: KApplication app;  if (app.isRestored()) { RESTORE(KSync); } else { KSync *ksync = new KSync(); ksync->show();
add: KApplication app; KGlobal::locale()->insertCatalogue("libksync");
context: int main(int argc, char *argv[]){	KAboutData aboutData( "ksync", I18N_NOOP("KSync"),		"0.1", description, KAboutData::License_GPL,		"(c) 2001, Cornelius Schumacher", 0, 0, "schumacher@kde.org");	aboutData.addAuthor("Cornelius Schumacher",0, "schumacher@kde.org");	KCmdLineArgs::init( argc, argv, &aboutData );	KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.  KApplication app;   if (app.isRestored())  {    RESTORE(KSync);  }  else   {    KSync *ksync = new KSync();    ksync->show();    KCmdLineArgs *args = KCmdLineArgs::parsedArgs();				if (args->count())		{        ksync->openDocumentFile(args->arg(0));		}		else		{		  ksync->openDocumentFile();		}		args->clear();  }  return app.exec();}  