code: def setSingleShot(self, state):
          
          with QtCore.QWriteLocker(self.__lock):
              self.__singleShot = state
              self._singleShotChanged.emit(state)
docs: Sets whether or not this timer is setup for a single entry or not.
          
          :param      state | <bool>