<div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px;"><span style="line-height: 1.7;">I think </span></div><div><div>disconnect([slot]) </div><div><br></div><div>in the New-style Signal and Slot should return a bool value to hint if the connection is broken or not ,like it in the original Qt.</div><div><br></div><div><br></div><div>and</div><div>connect(slot[, type=PyQt5.QtCore.Qt.AutoConnection[, no_receiver_check=False]])</div><div><br></div><div>should returna QMetaObject::Connection,  It can be used to disconnect that connection, or check if the connection was successful.</div><div><br></div><div><span style="line-height: 1.7;"> </span></div></div></div><!-- jy5ContentSuffix --><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>