rem: KCmdLineArgs::init(argc, argv, &aboutData);
add: KCmdLineArgs::init(newargc, newargv, &aboutData);
context: int main(int argc, char *argv[]){	KAboutData aboutData(PROGRAM_NAME, I18N_NOOP("KAlarm"), KALARM_VERSION,		I18N_NOOP("Personal alarm message, command and email scheduler for KDE"),		KAboutData::License_GPL,		"(c) 2001 - 2004, David Jarvie", 0, "http://www.astrojar.org.uk/linux/kalarm.html");	aboutData.addAuthor("David Jarvie", 0, "software@astrojar.org.uk");	// Fetch all command line options/arguments after --exec and concatenate	// them into a single argument. Then change the leading '-'.	// This is necessary because the "!" indicator in the 'options'	// array above doesn't work (on KDE2, at least)	for (int i = 0;  i < argc;  ++i)	{		if (!strcmp(argv[i], "-e") || !strcmp(argv[i], "--exec"))		{			while (++i < argc)			{				execArguments += argv[i];				if (i < argc - 1)					execArguments += ' ';				argv[i][0] = 'x';     // in case it's an option			}			break;		}	}	KCmdLineArgs::init(argc, argv, &aboutData);	KCmdLineArgs::addCmdLineOptions(options);	KUniqueApplication::addCmdLineOptions();	if (!KAlarmApp::start())	{		// An instance of the application is already running		exit(0);	}	// This is the first time through	kdDebug(5950) << "main(): initialising\n";	KAlarmApp* app = KAlarmApp::getInstance();	app->restoreSession();	return app->exec();}