diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2011-07-29 14:41:16 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-29 09:39:41 +0200 |
commit | f1407da2cbaffcc1f175ec66ad389c3326efbe4a (patch) | |
tree | 0da4bf4bab76877663ed2834c7be06c6a83a6a94 /doc | |
parent | 9bfdaadd36cdb5254d808688aa8485e5a592937d (diff) |
Add sourceComponentChanged signal to Loader
When setting the 'sourceComponent' property in Loader, we emit
a sourceChanged signal with source == "". We should emit
sourceComponentChanged instead.
Task-number: QTBUG-20628
Change-Id: If5f8f389b7dc214e729b366d82fe4d32827408ee
Reviewed-on: http://codereview.qt.nokia.com/2371
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index f9b6683fa2..d2326fae44 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -45,6 +45,10 @@ QDeclarativeScriptString. Flickable: added dragging, draggingHorizontally and draggingVerically properties. +The Loader element now only emits the \c sourceChanged signal when the source is changed and the +\c sourceComponentChanged signal when the sourceComponent is changed. It used to emit both signals when one +of the properties was changed. + \section2 QtQuick 1 is now a separate library and module Writing C++ applications using QtQuick 1 specific API, i.e. QDeclarativeView or QDeclarativeItem |