[Kde-java] Qt and KDE java package names

Werner Punz werpu at gmx.at
Mon Aug 25 01:03:16 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 24. August 2003 19:20 schrieb Richard Dale:
> > On Mon, 2003-08-11 at 13:25, Gert-Jan van der Heiden wrote:
> > > > With java 1.5 we might be able to use meta data to indicate which
> > > > void methods are slots in a class, and that would allow some more
> > > > checking.
> > >
> > > That would be cleaner. Let's hope GCJ add's meta data soon.
> >
> > Is there a public description of this?
> > The only thing I could quickly find was JSR 175, but since that goes
> > through the JCP process we have to wait if this ever really becomes a
> > specification that will be available freely (without some
> > -click-through- license). I wouldn't count on gcj supporting this soon.
>
> Yes, I don't know why they have to be so secretive. I've only found vague
> descriptions in articles about the Java 1.5 enhancements. In the case of
> QtJava slot methods would be denoted with a '@slot' metadata tag. I don't
> know whether the metadata tags are comma seperated or not. I assume there
> will be some extra reflection methods to retrieve the metadata on a method,
> but I haven't read about them.
>
> @slot public void mySlot(int arg1, QWidget arg2) {
> ..
If you need metadata now you should have a serious look into xdoclet and 
velodoclet both metadata engines with work with metadata embedded into
the comments.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/STYkYYeqoME458kRAh5aAJ9AwF1C6n843UHXNa9eGW3SSpxd8ACfV54x
b39C1aVQWpvli3AaLQwLYn4=
=XbNw
-----END PGP SIGNATURE-----


More information about the Kde-java mailing list