rem: void KAlarmApp::deleteMessage(MessageEvent* event, KAlarmMainWindow* win, bool tellDaemon) { kdDebug() << "KAlarmApp::deleteMessage(): " << event->message() << endl;   for (vector<KAlarmMainWindow*>::iterator it = mainWindowList.begin();  it != mainWindowList.end();  ++it) if (*it != win) (*it)->deleteMessage(event);   calendar.deleteEvent(event); calendar.save();   if (tellDaemon) reloadDaemon(); }
add: void              deleteMessage(const QString& calendarFile, const QString& eventID)    { handleMessage(calendarFile, eventID, EVENT_CANCEL); }
context: void KAlarmApp::deleteMessage(MessageEvent* event, KAlarmMainWindow* win, bool tellDaemon){	kdDebug() << "KAlarmApp::deleteMessage(): " << event->message() << endl;	// Update the window lists	for (vector<KAlarmMainWindow*>::iterator it = mainWindowList.begin();  it != mainWindowList.end();  ++it)		if (*it != win)			(*it)->deleteMessage(event);	// Delete the event from the calendar file	calendar.deleteEvent(event);	calendar.save();	// Tell the daemon to reread the calendar file	if (tellDaemon)		reloadDaemon();}