diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-02-26 07:04:38 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-02-26 07:04:38 (GMT) |
commit | e1f33f2e4689a59de2814ffdea7ea246bbfe0283 (patch) | |
tree | e3a0d74f5e54f78b83d0c05d6e1588c5f1d47e37 /doc | |
parent | 93b02976b7c9c3a36cac475c1935622ebc2f1fe1 (diff) | |
download | Qt-e1f33f2e4689a59de2814ffdea7ea246bbfe0283.zip Qt-e1f33f2e4689a59de2814ffdea7ea246bbfe0283.tar.gz Qt-e1f33f2e4689a59de2814ffdea7ea246bbfe0283.tar.bz2 |
Change Connection syntax as per QT-2822.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/elements.qdoc | 2 | ||||
-rw-r--r-- | doc/src/declarative/extending.qdoc | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/declarative/elements.qdoc b/doc/src/declarative/elements.qdoc index da96b8e..1fd4dad 100644 --- a/doc/src/declarative/elements.qdoc +++ b/doc/src/declarative/elements.qdoc @@ -98,7 +98,7 @@ The following table lists the QML elements provided by the Qt Declarative module \o \list \o \l Script -\o \l Connection +\o \l Connections \o \l Component \o \l Timer \o \l QtObject diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc index d823bf6..5aaa7bd 100644 --- a/doc/src/declarative/extending.qdoc +++ b/doc/src/declarative/extending.qdoc @@ -421,9 +421,8 @@ C++ signature: \snippet examples/declarative/extending/signal/birthdayparty.h 0 In classes with multiple signals with the same name, only the final signal -is accessible as a signal property. Although QML provides an element, -\l Connection, for accessing the other signals it is less elegant. For the best -QML API, class developers should avoid overloading signal names. +is accessible as a signal property. Note that signals with the same name +but different parameters cannot be distinguished. Signal parameters become accessible by name to the assigned script. An unnamed parameter cannot be accessed, so care should be taken to name all the |