summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-04 14:46:26 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-08-04 12:53:20 +0000
commit2d58225ec17d0d4245c89e72ee650ff9a9c53398 (patch)
tree54c7697858694cfeb88c1675d7316bb4831e2bc0
parentbffd5b272fb23aee687c1a830bf2f4d9b095c0fe (diff)
downloadqtquickcontrols-2d58225ec17d0d4245c89e72ee650ff9a9c53398.tar.gz
Fix ComboBox's activated signal documentation.
Change-Id: I48c49e3087308f7ef54514afebee38cd3843c7cc Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r--src/controls/ComboBox.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml
index 3463470f..d0940772 100644
--- a/src/controls/ComboBox.qml
+++ b/src/controls/ComboBox.qml
@@ -289,11 +289,12 @@ Control {
\qmlsignal ComboBox::activated(int index)
\since QtQuick.Controls 1.1
- \a index is the triggered model index or -1 if a new string is accepted
-
This signal is similar to currentIndex changed, but will only
- be emitted if the combo box index was changed by the user and not
- when set programatically.
+ be emitted if the combo box index was changed by the user, not
+ when set programmatically.
+
+ \a index is the activated model index, or \c -1 if a new string is
+ accepted.
The corresponding handler is \c onActivated.
*/