Mercurial > projects > qtd
view mini/test1/main.d @ 405:9d6e4703a458
Make QObject::property()/setProperty() accessible from D.
It is specified to be private in the type system back from QtJambi because the functions take a char pointer instead of a QString, but the conversion functions were missing so far.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Thu, 17 Mar 2011 23:09:43 +0100 |
parents | a032df77b6ab |
children |
line wrap: on
line source
import qt.core.QMetaType; import std.stdio; import std.conv; import qt.core.test.Objects; //import qt.gui.QApplication; void main(string[] args) { /+ scope app = new QApplication(args); app.exec(); +/ }