rem: bool KAEvent::setRecurAnnualByDay(Recurrence& recurrence, int freq, const QPtrList<int>& days, int count, const QDate& end) { if (count < -1) return false; if (count) recurrence.setYearly(Recurrence::rYearlyDay, freq, count); else if (end.isValid()) recurrence.setYearly(Recurrence::rYearlyDay, freq, end); else return false; for (QPtrListIterator<int> it(days);  it.current();  ++it) recurrence.addYearlyNum(*it.current()); return true; }
add: void               setRecurAnnualByDay(int freq, const QValueList<int>& days, int count, const QDate& end) { if (initRecur(end, count))  setRecurAnnualByDay(*mRecurrence, freq, days, count, end); }
context: bool KAEvent::setRecurAnnualByDay(Recurrence& recurrence, int freq, const QPtrList<int>& days, int count, const QDate& end){	if (count < -1)		return false;	if (count)		recurrence.setYearly(Recurrence::rYearlyDay, freq, count);	else if (end.isValid())		recurrence.setYearly(Recurrence::rYearlyDay, freq, end);	else		return false;	for (QPtrListIterator<int> it(days);  it.current();  ++it)		recurrence.addYearlyNum(*it.current());	return true;}