[Kde-bindings] KDE/kdebindings/qtruby

Thiago Macieira thiago at kde.org
Mon Jun 5 23:19:30 UTC 2006

Richard Dale wrote:
>* Added support for q_classinfo() attributes, equivalent to the c++
>  Q_CLASSINFO() macro. If the key of the q_classinfo is 'D-Bus
> Interface' the slots in the class are marked as Q_SCRIPTABLE in the
> QMetaObject. For example:
>        class LCDRange < Qt::Widget
>                q_classinfo('D-Bus Interface', 'MyInterface')
>                signals 'valueChanged(int)'
>                slots 'setValue(int)'
>                ...

Isn't it possible to especially mark the signal or slot with 
a "scriptable" attribute? This is what the attribute is for in C++.

Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20060606/3036a51a/attachment.sig>

More information about the Kde-bindings mailing list