summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-16 00:30:03 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-16 00:30:03 (GMT)
commitee8375dd20823173fd8df03481f19db245af1a7f (patch)
treeb77c5867e9a27428d3dd8a7683ca6682c1586b9f /src
parentbaf5966bb85af327e8f27e8e4d7c739c424afef5 (diff)
downloadQt-ee8375dd20823173fd8df03481f19db245af1a7f.zip
Qt-ee8375dd20823173fd8df03481f19db245af1a7f.tar.gz
Qt-ee8375dd20823173fd8df03481f19db245af1a7f.tar.bz2
Split post alpha API changes into a separate section.
Diffstat (limited to 'src')
-rw-r--r--src/declarative/QmlChanges.txt48
1 files changed, 27 insertions, 21 deletions
diff --git a/src/declarative/QmlChanges.txt b/src/declarative/QmlChanges.txt
index 13b1eee..6d0f16f 100644
--- a/src/declarative/QmlChanges.txt
+++ b/src/declarative/QmlChanges.txt
@@ -1,26 +1,45 @@
=============================================================================
-The changes below are pre Qt 4.7.0 alpha
+The changes below are pre Qt 4.7.0 beta
PathView: offset property now uses range 0-1.0 rather than 0-100
ListView, GridView::positionViewAtIndex() gained a 'mode' parameter
+Removed Qt.playSound (replaced by SoundEffect element)
+Removed Qt.closestAngle (use RotationAnimation instead)
+Removed NumberFormatter
+Removed DateTimeFormatter (use Qt.formatDateTime() instead)
+Using WebView now requires "import org.webkit 1.0"
+Using Particles now requires "import Qt.labs.particles 1.0"
+AnchorAnimation must now be used to animate anchor changes (and not NumberAnimation)
+
+C++ API
+-------
+QDeclarativeContext::addDefaultObject() has been replaced with
+QDeclarativeContext::setContextObject()
+
+Behavior and Animation syntax
+-----------------------------
+Previously animations and behaviors could be "assigned" to properties like this:
+ Item { x: Behavior {}; y: NumberAnimation {} }
+To make it more obvious that these are not regular value assignments a new "on"
+syntax has been introduced:
+ Item { Behavior on x {}; NumberAnimation on y {} }
+Only the syntax has changed, the behavior is identical.
+
+
+=============================================================================
+The changes below are pre Qt 4.7.0 alpha
+
Flickable: renamed viewportWidth -> contentWidth
Flickable: renamed viewportHeight -> contentHeight
Flickable: renamed viewportX -> contentX
Flickable: renamed viewportY -> contentY
Removed Flickable.reportedVelocitySmoothing
-Removed Qt.playSound (replaced by SoundEffect element)
-Removed Qt.closestAngle (use RotationAnimation instead)
-Removed NumberFormatter
-Removed DateTimeFormatter (use Qt.formatDateTime() instead)
Renamed MouseRegion -> MouseArea
Connection: syntax and rename:
Connection { sender: a; signal: foo(); script: xxx }
Connection { sender: a; signal: bar(); script: yyy }
becomes:
Connections { target: a; onFoo: xxx; onBar: yyy }
-Using WebView now requires "import org.webkit 1.0"
-Using Particles now requires "import Qt.labs.particles 1.0"
-AnchorAnimation must now be used to animate anchor changes (and not NumberAnimation)
QmlView
-------
@@ -55,25 +74,12 @@ should also consider using the QmlExtensionPlugin (previously named QmlModulePlu
as a cleaner mechanism for publishing libraries of QML types, or the upcoming
application plugin features of the qmlviewer / qmlruntime / qml.
-QDeclarativeContext::addDefaultObject() has been replaced with
-QDeclarativeContext::setContextObject()
-
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.
-Behavior and Animation syntax
------------------------------
-
-Previously animations and behaviors could be "assigned" to properties like this:
- Item { x: Behavior {}; y: NumberAnimation {} }
-To make it more obvious that these are not regular value assignments a new "on"
-syntax has been introduced:
- Item { Behavior on x {}; NumberAnimation on y {} }
-Only the syntax has changed, the behavior is identical.
-
=============================================================================
The changes below are pre-4.6.0 release.