rem: void KAlarmMainWindow::modifyEvent(const QString& oldEventID, const KAlarmEvent& newEvent) { AlarmListViewItem* item = listView->getEntry(oldEventID); if (item) listView->deleteEntry(item); listView->addEntry(newEvent, true); }
add: static void    modifyEvent(const KAEvent& event, KAlarmMainWindow* w)   { modifyEvent(event.id(), event, w); }
context: void KAlarmMainWindow::modifyEvent(const QString& oldEventID, const KAlarmEvent& newEvent){	AlarmListViewItem* item = listView->getEntry(oldEventID);	if (item)		listView->deleteEntry(item);	listView->addEntry(newEvent, true);}