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

Method start

Utils/GitThread.py:53–65  ·  view source on GitHub ↗

启动登录线程 :param cls: :param account: 账号 :param password: 密码

(cls, account, password, parent=None)

Source from the content-addressed store, hash-verified

51
52 @classmethod
53 def start(cls, account, password, parent=None):
54 """启动登录线程
55 :param cls:
56 :param account: 账号
57 :param password: 密码
58 """
59 cls._thread = QThread(parent)
60 cls._worker = LoginThread(account, password)
61 cls._worker.moveToThread(cls._thread)
62 cls._thread.started.connect(cls._worker.run)
63 cls._thread.finished.connect(cls._worker.deleteLater)
64 cls._thread.start()
65 AppLog.info('login thread started')
66
67 def get_avatar(self, uid, avatar_url):
68 try:

Callers 15

startMethod · 0.45
startMethod · 0.45
_styleSheetParametersMethod · 0.45
toJsonMethod · 0.45
_showNoticeMethod · 0.45
_initCatalogMethod · 0.45
_runFileMethod · 0.45
__init__Method · 0.45
eventFilterMethod · 0.45
enterEventMethod · 0.45
enterEventMethod · 0.45
leaveEventMethod · 0.45

Calls 1

LoginThreadClass · 0.85

Tested by 3

onResumeMethod · 0.36
onStartMethod · 0.36
testMethod · 0.36