rem: ResourceItem::ResourceItem( KCal::ResourceCalendar *resource, const QString& sub, ResourceView *view, ResourceItem* parent ) : QCheckListItem( parent, sub, CheckBox ), mResource( resource ), mView( view ), mBlockStateChange( false ), mIsSubresource( true ) { setGuiState(); }
add: ResourceItem( KListView *parent, KABC::Resource *resource ) : QCheckListItem( parent, "", CheckBox ), mResource( resource ), mChecked( false ) { setOn( resource->isActive() ); mChecked = resource->isActive(); }
context: ResourceItem::ResourceItem( KCal::ResourceCalendar *resource,                            const QString& sub, ResourceView *view,                            ResourceItem* parent )  : QCheckListItem( parent, sub, CheckBox ), mResource( resource ),    mView( view ), mBlockStateChange( false ), mIsSubresource( true ){  setGuiState();}