rem: const Event* KAlarmApp::getEvent(const QString& eventID) { if (!eventID.isEmpty()) { if (KAlarmEvent::uidStatus(eventID) == KAlarmEvent::EXPIRED) { if (expiredCalendar()) return mExpiredCalendar->event(eventID); } else return mCalendar->event(eventID); } return 0; }
add: Event*            getEvent(const QString& uniqueID)   { return calendar->getEvent(uniqueID); }
context: const Event* KAlarmApp::getEvent(const QString& eventID){	if (!eventID.isEmpty())	{		if (KAlarmEvent::uidStatus(eventID) == KAlarmEvent::EXPIRED)		{			if (expiredCalendar())				return mExpiredCalendar->event(eventID);		}		else			return mCalendar->event(eventID);	}	return 0;}