[Kde-java] Qt and KDE java package names
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sun Aug 10 21:26:55 CEST 2003
On Sunday 10 August 2003 18:38, Richard Dale wrote:
> > You made a point here. But if you write a serious application, this isn't
> > an exception either. I mean, if you define your own slot and signals, but
> > I don't know if the current bindings can do that. Maybe the new version?
>
> Oh yes, thats no problem. I the connect() statement doesn't find a C++ slot
> or signal it assumes they are java ones. You don't have to declare
> slots/signals in advance (although you do in PerlQt and QtRuby).
Sight correction - a java signal cannot override a C++ signal, but if you
override a C++ slot in java, it invokes the java slot. In fact it always
invokes a java slot, just that some are native code wrappers for Qt C++
calls, and the rest are overriden ones in java.
-- Richard
More information about the Kde-java
mailing list