@Slot(bool)
def toggle_auto_refresh(self, state):
    'Toggle auto refresh state'
    self.autorefresh = state
    if ((not self.setup_in_progress) and (not self.is_internal_shell)):
        communicate(self._get_sock(), ('set_monitor_auto_refresh(%r)' % state))
Toggle auto refresh state
@Slot(bool)
def toggle_auto_refresh(self, state):
    
    self.autorefresh = state
    if ((not self.setup_in_progress) and (not self.is_internal_shell)):
        communicate(self._get_sock(), ('set_monitor_auto_refresh(%r)' % state))