MCPcopy Create free account
hub / github.com/PyQt5/PyQt / onStateChanged

Method onStateChanged

QtRemoteObjects/SyncUi/ClipboardSlave.py:42–44  ·  view source on GitHub ↗
(self, newState, oldState)

Source from the content-addressed store, hash-verified

40 self.windowMaster.stateChanged.connect(self.onStateChanged)
41
42 def onStateChanged(self, newState, oldState):
43 if newState == QRemoteObjectReplica.Suspect:
44 self.append('连接丢失')
45
46 def onInitialized(self):
47 self.SignalUpdateMimeData.connect(self.windowMaster.updateMimeData)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected