(self, current, total)
Emit the progressChanged signal with `current` and `total`.
Emit the progressChanged signal with `current` and `total`.
Emit the progressChanged signal with current and total .
def emitProgressChangedOrCancel(self, current, total):
        # type: (int, int) -> None
        """
        Emit the progressChanged signal with `current` and `total`.
        """
        if self.cancel:
            raise TaskState.UserCancelException()
        else:
            self.__progressChanged.emit(current, total)
def emitProgressChangedOrCancel ( self , current , total ) : # type: (int, int) -> None if self . cancel : raise TaskState . UserCancelException ( ) else : self . __progressChanged . emit ( current , total )