Signals: Is this the expected behaviour of connect() ?
Percy Camilo TriveƱo Aucahuasi
orgyforever at gmail.com
Tue Feb 26 10:55:32 GMT 2008
so is a bug? or feature?
2008/2/26, Thiago Macieira <thiago at kde.org>:
>
> Eduardo Robles Elvira wrote:
> >The private slot A::debugMe() is executed, triggered by B::signalB(),
> > even if B and A are not friend classes, so it's clear that in this case
> > connect() doesn't take into accound if the scope is private/public.
>
> That is correct. There's no way for QObject::connect() to know the
> friendship between two classes and where the call to it was made.
>
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080226/bd65d568/attachment.htm>
More information about the kde-core-devel
mailing list