[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: PyQt6 and QSocketNotifier
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2021-01-13 22:33:30
Message-ID: 95d880d7ff045bc9fb853545dd11a6f8 () riverbankcomputing ! com
[Download RAW message or body]

On 13/01/2021 22:18, Florian Bruhin wrote:
> On Wed, Jan 13, 2021 at 08:30:35PM +0300, Dmitry Shachnev wrote:
>> Hi Phil!
>> 
>> On Wed, Jan 13, 2021 at 11:44:28AM +0000, Phil Thompson wrote:
>> > I omitted it because of the use of the undocumented QSocketDescriptor of the
>> > activated() signal, without which the class is useless. However, on
>> > checking, the API hasn't changed since Qt5. So I've restored it with the
>> > same API. I don't know whether or not it works properly but at least it is
>> > consistent with PyQt5.
>> 
>> Thank you! In PyQt5 I am using the activated() signal but not its 
>> argument,
>> so the existing behavior is fine for me.
> 
> Same here FWIW - I wouldn't call it useless at all, the argument is 
> only
> needed if you're using it to watch multiple sockets at once (which I
> don't).

Sorry, I meant it would be useless without the signal, not the argument.

Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic