diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-16 01:37:48 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-16 01:37:48 (GMT) |
commit | 31e06818aaf65150f61107f112b305cfd8585710 (patch) | |
tree | 0adfba059fa5635f88411a775571a39299682145 /src/declarative | |
parent | e56c5483fe8b292545bb9f004d796abd8ae00589 (diff) | |
download | Qt-31e06818aaf65150f61107f112b305cfd8585710.zip Qt-31e06818aaf65150f61107f112b305cfd8585710.tar.gz Qt-31e06818aaf65150f61107f112b305cfd8585710.tar.bz2 |
QmlChanges.txt cleanup.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/QmlChanges.txt | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/src/declarative/QmlChanges.txt b/src/declarative/QmlChanges.txt index 6d0f16f..e9325b7 100644 --- a/src/declarative/QmlChanges.txt +++ b/src/declarative/QmlChanges.txt @@ -41,6 +41,31 @@ Connection: syntax and rename: becomes: Connections { target: a; onFoo: xxx; onBar: yyy } +ListView::sectionExpression has been replaced by section.property, section.criteria + +ListModel +--------- +- types are strictly checked (previously, everything was a string) + - foo: "bar" continues to work as before + - foo: bar is now invalid, use foo: "bar" + - foo: true is now a bool (not string "true") + - foo: false is now a bool (not string "false" == true!) + +PropertyAnimation +------------------ +matchProperties and matchTargets have been renamed back to properties and targets. +The semantics are explained in the PropertyAnimation::properties documentation +and the animation overview documentation. + +C++ API +------- +QML_DEFINE_... definition macros, previously global macros, are replaced by +qmlRegisterType registration functions, which must be called explicitly. +C++ API users should also consider using the QmlExtensionPlugin (previously +named QmlModulePlugin) as a cleaner mechanism for publishing libraries of QML +types, or the upcoming application plugin features of the qmlviewer / +qmlruntime / qml. + QmlView ------- The API of QmlView has been narrowed and its role as a convenience class @@ -55,30 +80,8 @@ reinforced. - remove quit() signal -> use quit() signal of engine() - initialSize() signal removed - Added status() to determine status of the internal QmlComponent +- removed execute() - setSource() will also execute the QML. -sectionExpression has been replaced by section.property, section.criteria - -ListModel ---------- -- types are strictly checked (previously, everything was a string) - - foo: "bar" continues to work as before - - foo: bar is now invalid, use foo: "bar" - - foo: true is now a bool (not string "true") - - foo: false is now a bool (not string "false" == true!) - -C++ API -------- -QML_DEFINE_... definition macros, previously global macros, are replaced by -QML_REGISTER_... registration macros, which must be called explicitly. C++ API users -should also consider using the QmlExtensionPlugin (previously named QmlModulePlugin) -as a cleaner mechanism for publishing libraries of QML types, or the upcoming -application plugin features of the qmlviewer / qmlruntime / qml. - -PropertyAnimation ------------------- -matchProperties and matchTargets have been renamed back to properties and targets. -The semantics are explained in the PropertyAnimation::properties documentation -and the animation overview documentation. ============================================================================= The changes below are pre-4.6.0 release. |