[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebindings/qtruby/rubylib/qtruby
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2006-05-19 12:31:10
Message-ID: 1148041870.339217.14125.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@kde.org



 M  +169 -68   Qt.cpp  
 M  +106 -2    lib/Qt/qtruby.rb  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic