diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index f7234296ed..622566ca3c 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -62,11 +62,18 @@ Arbitrary functionality may be provided in a namespace through a Module API. Se JavaScript (.js) files may now import QML modules and other JavaScript files. See \l{Importing One JavaScript File From Another} for more information. -QML properties of type \c variant can now hold pixmaps. See \l{Scarce Resources in JavaScript} for more information +A new property type "var" has been added which obsoletes the old "variant" property type. +Properties of the "var" type may hold JavaScript references. See \l{QML Basic Types} for more information. + +QML properties of type \c var and \c variant can now hold pixmaps. See \l{Scarce Resources in JavaScript} for more information QDeclarativeExpression can now be directly (and more efficiently) constructed from a QDeclarativeScriptString. +Support for certain sequence types (QList<int>, QList<qreal>, QList<bool>, QList<QUrl>, QList<QString> and QStringList) has been improved. +QObjects can define Q_PROPERTYs of these types which can be accessed transparently from JavaScript. See the section on +sequences in \l{Extending QML Functionalities using C++} for more information. + \section2 Canvas Item The new \l Canvas item provides a HTML5 canvas like API, with some enhancements: |