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

Method _onNewConnection

Demo/Lib/Application.py:105–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return True
104
105 def _onNewConnection(self):
106 if self._socketIn:
107 self._socketIn.readyRead.disconnect(self._onReadyRead)
108 self._socketIn = self._socketServer.nextPendingConnection()
109 if not self._socketIn:
110 return
111 self._socketIn.readyRead.connect(self._onReadyRead)
112 if self._activateOnMessage:
113 self.activateWindow()
114
115 def _onReadyRead(self):
116 while 1:

Callers

nothing calls this directly

Calls 1

activateWindowMethod · 0.95

Tested by

no test coverage detected