If, during the widget lifecycle, some connections are not needed any longer, the implementer can manually disconnect them by calling the disconnect method to reduce the event handling.
如果,在小部件生命周期内一些连接已经不再需要,那么实现者就可以通过调用disconnect方法来手动断开这些连接以减少事件的处理。
Another good method: disconnect the Internet. I know I get a lot more done when I do that.
另一个好方法就是:远离网络,因为就我本人而言,一旦离开网路我就知道自己应该做什么了。
If you don't want the original method to be called, you can disconnect the signal from the slot, for instance by adding the following line before the logger.show line.
如果您不想调用原始方法,那么可以从插槽disconnect信号,例如通过在logger . show行之前添加以下行。
应用推荐