rem: static void setRights( Event *event, int rights )
add: static void setRights( Incidence *incidence, int rights )
context: static void setRights( Event *event, int rights ){  event->setCustomProperty( "EGWRESOURCE", "RIGHTS", QString::number( rights ) );}