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