[Kde-bindings] KDE/kdebindings/qtruby/rubylib/qtruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Fri May 19 12:31:10 UTC 2006
SVN commit 542481 by rdale:
* When an unknown C++ class is found, a corresponding Ruby class is now
created. For instance, if a KPresenter KPart is loaded, a
KDE::PresenterDoc class is created.
* It is now possible to set and get properties without needing to use
Qt::Object.property() and Qt::Object.setProperty(). For instance:
factory = KDE::LibLoader.self().factory("libkpresenterpart")
@kpresenter = factory.create(self)
p @kpresenter.presentationDuration
@kpresenter.presentationDuration = true
* A Qt::Variant.to_ruby method has been added which returns a Ruby value
corresponding to the current value of a Qt::Variant
* Added a Qt::MetaObject.propertyNames method to return a list of property
names
CCMAIL: kde-bindings at kde.org
M +169 -68 Qt.cpp
M +106 -2 lib/Qt/qtruby.rb
More information about the Kde-bindings
mailing list