MCPcopy Index your code
hub / github.com/PyQt5/PyQtClient / start

Method start

Utils/GitThread.py:307–317  ·  view source on GitHub ↗

启动自动更新线程 :param cls:

(cls, parent=None)

Source from the content-addressed store, hash-verified

305
306 @classmethod
307 def start(cls, parent=None):
308 """启动自动更新线程
309 :param cls:
310 """
311 cls._thread = QThread(parent)
312 cls._worker = UpgradeThread()
313 cls._worker.moveToThread(cls._thread)
314 cls._thread.started.connect(cls._worker.run)
315 cls._thread.finished.connect(cls._worker.deleteLater)
316 cls._thread.start()
317 AppLog.info('update thread started')
318
319 def unzip(self, file):
320 # 进行解压

Callers

nothing calls this directly

Calls 2

UpgradeThreadClass · 0.85
startMethod · 0.45

Tested by

no test coverage detected