On Wed, Sep 21, 2011 at 11:52 AM, Peter Kuemmel <[email protected]> wrote:

> I still see a problem in making signals public, this
> completely breaks encapsulation, and makes it possible
> for everyone to emit any signal.

I also see this as a potential problem. Making the signal public is
pretty much an invitation to misuse. Almost every text I've seen about
API design states that a good API makes misuse hard.

Of course it is currently possible for people to invoke the method
using the meta object. But a lot of people wouldn't touch the meta
objects with a ten foot pole.

Cheers,
Frans
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to