Hi,
I was thinking about using QML to define internal datastructures (e.g.
as a more powerful alternative to QSettings). While doing so, I came
to wonder whether some of QtDeclarative's custom additions to the
metaobject framework should be merged into the main macros.
For example:
> Q_PROPERTY(QObject* foo READ foo WRITE setFoo NOTIFY fooChanged)
> Q_CLASSINFO("DefaultProperty", "foo")
could become:
> Q_PROPERTY(QObject* foo READ foo WRITE setFoo NOTIFY fooChanged DEFAULT)
It might also make sense to introduce a Q_LIST_PROPERTY() macro to
avoid most of the QDeclarativeListProperty boilerplate. Same for
grouped properties etc.
Greetings
Stefan
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback