def setStyle(self, style):
        """
        :remarks    Sets the style of the connection that will be used.
        
        :param      style       <XConnectionStyle>
        """
        self._style = style
        self.setDirty()
        self.update()
:remarks    Sets the style of the connection that will be used.
        
        :param      style       <XConnectionStyle>