rem: "KPilot - Hot-sync software for unix\n\n",
add: "KPilot - HotSync software for KDE\n\n",
context: int main(int argc, char **argv){	FUNCTIONSETUP;	KAboutData about("kpilot", I18N_NOOP("KPilot"),		KPILOT_VERSION,		"KPilot - Hot-sync software for unix\n\n",		KAboutData::License_GPL, "(c) 1998-2000,2001, Dan Pilone");	about.addAuthor("Dan Pilone",		I18N_NOOP("Project Leader"),		"pilone@slac.com", "http://www.slac.com/pilone/kpilot_home/");	about.addAuthor("Adriaan de Groot",		I18N_NOOP("Maintainer"),		"groot@kde.org", "http://www.cs.kun.nl/~adridg/kpilot/");	about.addCredit("Preston Brown", I18N_NOOP("VCal conduit"));	about.addCredit("Greg Stern", I18N_NOOP("Abbrowser conduit"));	about.addCredit("Chris Molnar", I18N_NOOP("Expenses conduit"));	about.addCredit("Heiko Purnhagen", I18N_NOOP("Bugfixer"));	about.addCredit("Joerg Habenicht", I18N_NOOP("Bugfixer"));	about.addCredit("Martin Junius",		I18N_NOOP("XML GUI"),		"mj@m-j-s.net", "http://www.m-j-s.net/kde/");	about.addCredit("David Bishop",		I18N_NOOP(".ui files"));	about.addCredit("Aaron J. Seigo",		I18N_NOOP("Bugfixer, coolness"));	about.addCredit("Reinhold Kainhofer",		I18N_NOOP("vCal and Addressbook conduit ports, time conduit, AvantGo conduit"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/");	KCmdLineArgs::init(argc, argv, &about);#ifdef DEBUG	KCmdLineArgs::addCmdLineOptions(debug_options, "debug", "debug");#endif	KCmdLineArgs::addCmdLineOptions(kpilotoptions, "kpilot", 0L, "debug");	KUniqueApplication::addCmdLineOptions();	KCmdLineArgs *p = KCmdLineArgs::parsedArgs();	if (p->isSet("setup"))	{		run_mode = 's';	}	if (p->isSet("conduit-setup"))	{		run_mode = 'c';	}	if (!KUniqueApplication::start())	{		return 0;	}	KUniqueApplication a(true, true);	KPilotConfig::getDebugLevel();	KPilotConfigSettings & c = KPilotConfig::getConfig();	if (c.getVersion() < KPilotConfig::ConfigurationVersion)	{		run_mode = 'S';	}	if (run_mode == 'c')	{		ConduitConfigDialog *cs = new ConduitConfigDialog(0L,0L,true);		int r = cs->exec();		if (r)		{			return 1;	// Dialog cancelled		}		else		{			return 0;		}	}	if ((run_mode == 's') || (run_mode == 'S'))	{#ifdef DEBUG		DEBUGKPILOT << fname			<< ": Running setup first."			<< " (mode " << run_mode << ")" << endl;#endif		KPilotConfigDialog *options = new KPilotConfigDialog(0L,			"configDialog", true);		int r = options->exec();		if (run_mode == 's')		{			if (!r)			{				return 1;			}			else			{				return 0;			}		}		if (!r)			return 1;		// The options dialog may have changed the group		// while reading or writing settings (still a		// bad idea, actually).		//		c.resetGroup();	}	if (c.getVersion() < KPilotConfig::ConfigurationVersion)	{		kdWarning() << k_funcinfo <<			": Is still not configured for use." << endl;		return 1;	}	KPilotInstaller *tp = new KPilotInstaller();	if (tp->status() == KPilotInstaller::Error)	{		delete tp;		tp = 0;		return 1;	}	tp->startDaemonIfNeeded();	KGlobal::dirs()->addResourceType("pilotdbs",		"share/apps/kpilot/DBBackup");	tp->show();	a.setMainWidget(tp);	return a.exec();}