rem: QPtrList<Event> messages = theApp()->getCalendar().getAllEvents();
context: void AlarmListView::refresh(){	QPtrList<Event> messages = theApp()->getCalendar().getAllEvents();	clear();	for (Event* msg = messages.first();  msg;  msg = messages.next())		addEntry(KAlarmEvent(*msg));	resizeLastColumn();}