add: if ( alarm ) { mAlarm = new KCal::Alarm( *alarm ); } else { mAlarm = new KCal::Alarm( 0 ); }
context: AlarmListViewItem::AlarmListViewItem( QListView *parent, KCal::Alarm *alarm )    : QListViewItem( parent ), mAlarm( alarm ){  construct();}