private slots

Simon Hausmann hausmann at kde.org
Thu Jan 4 17:51:27 GMT 2007


On Thursday 04 January 2007 18:45, André Wöbbeking wrote:
> On Thursday 04 January 2007 17:45, Simon Hausmann wrote:
> > On Thursday 04 January 2007 17:24, André Wöbbeking wrote:
> > > Can you still connect to private slots from "outside"? If so you
> > > can call every private slot.
> >
> > Yes, that is correct.
>
> Why is that still possible? Couldn't it be disallowed in
> QObject::connect()? Of course this should be done for protected slots
> too.

Sure could disallow it, but how do you detect when to allow it then? :)


Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070104/6e94de20/attachment.sig>


More information about the kde-core-devel mailing list