private slots
André Wöbbeking
Woebbeking at kde.org
Thu Jan 4 16:24:59 GMT 2007
On Wednesday 03 January 2007 16:39, Simon Hausmann wrote:
> On Wednesday 03 January 2007 16:23, Thomas Zander wrote:
> >
> > How is this better than the following?
> >
> > private slots:
> > void slotDateChanged();
>
> Because slotDateChanged() is a publically exported symbol. On
> non-Msvc compilers you can still call it with #define private/public
> hacks. On Windows you can't remove it at all without breaking binary
> compatibility (even if no application calls it).
Can you still connect to private slots from "outside"? If so you can
call every private slot.
Cheers,
André
More information about the kde-core-devel
mailing list