private slots

Thomas Zander zander at kde.org
Sat Jan 6 10:20:21 GMT 2007


On Saturday 06 January 2007 10:44, Ellis Whitehead wrote:
> One possibility might be to check the receiver's class.  However, for
> whatever it's worth, .NET doesn't prevent calling private methods via
> introspection either.  I'm not sure whether it's really desirable to
> prohibit it, anyway, at least not if an application programmer will
> have to go to an extra effort to even figure out that there's a _k_*
> slot that could be called in the first place.

Thats certainly true. In Java its even possible to do the same. Just when you 
alter the security of your JVM to be of higher level will you get an 
exception if you try to call it (but you can always find it).
I don't see it as a problem really.
-- 
Thomas Zander
-------------- 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/20070106/635917be/attachment.sig>


More information about the kde-core-devel mailing list