(self, timeout)
| 22 | |
| 23 | |
| 24 | def start(self, timeout): |
| 25 | isGuiThread = QtCore.QThread.currentThread() == QtCore.QCoreApplication.instance().thread() |
| 26 | if isGuiThread: |
| 27 | #print "start timer", self, "from gui thread" |
| 28 | self.timer.start(int(timeout)) |
| 29 | else: |
| 30 | #print "start timer", self, "from remote thread" |
| 31 | self.sigTimerStartRequested.emit(timeout) |
| 32 | |
| 33 | def stop(self): |
| 34 | isGuiThread = QtCore.QThread.currentThread() == QtCore.QCoreApplication.instance().thread() |
nothing calls this directly
no outgoing calls
no test coverage detected