[Qt-jambi-interest] jui generated java files
Eskil Abrahamsen Blomfeldt
eblomfel at trolltech.com
Fri Apr 25 08:22:04 CEST 2008
Hi, Thomas.
Thomas Coopman wrote:
> I have a question about the jui generated java files.
> In my system, I want to create QWidget from jui generated java files
> dynamically. I have a JuiWidgetConstructor class for that, but
> because the generated jui java files don't implement an interface, so
> for now I make this work through introspection (getMethod and
> Method.invoke).
>
> This works, but I don't like it very much because it is not very robust.
> Is there any reason why you don't let those files implement an
> interface? (It probably has some good reason that I don't see right
> now)
>
I'm guessing the only reason is that this use case has not been
considered. I'll register a suggestion for adding this feature in a
future version.
-- Eskil
More information about the Qt-jambi-interest
mailing list