[Kde-bindings] Re: Another problem ...
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sun Jun 6 11:57:32 UTC 2004
On Sunday 06 June 2004 12:20, Arash Abedinzadeh wrote:
> krubyinit -r qtruby.so -e 'puts Qt::constants.sort' does what
> it's suppose to do.
Actually because of the way qtruby and the SMOKE library work you can't use
normal ruby introspection. The way constants are handled is via
const_missing(); a reference to a constant is trapped there and the request
forwarded to the SMOKE runtime. Qt::constants will just give you the Qt
classes, and a few hard wired constants that are missing from SMOKE.
So you need to use the rbqtapi utility instead, which allows you to query all
the methods in the SMOKE library. Rename it rbkdeapi to use with the KDE
classes in the Korundum extension.
-- Richard
More information about the Kde-bindings
mailing list