Signals: Is this the expected behaviour of connect() ?
thiago at kde.org
Mon Feb 25 07:26:28 GMT 2008
Eduardo Robles Elvira wrote:
>And indeed, it seems that signals were designed somehow to be only
> triggered by it's owner (and friends & parents). You cannot do emit
>A()->signalA(); inside B. It doesn't even compile because the signal
>is "protected". But then, as the given code shows, connecting signalB()
> to signalA() and triggering signalA(), works fine - so maybe this is a
Signal to signal connection is allowed and part of the design.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel