summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-02-15 06:56:11 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-02-15 06:56:11 (GMT)
commit7033466baf4f78fd580d5dd54a0a4a2e42d71603 (patch)
tree5035828f37a9e2e289cf6cf78ec4b213e8dd2698 /src/declarative
parentaf1ce755f15b10a00dabf240b004eb80d4a7ded1 (diff)
parent3997977cdb712042c540b143f2ce2f5376e9d1e0 (diff)
downloadQt-7033466baf4f78fd580d5dd54a0a4a2e42d71603.zip
Qt-7033466baf4f78fd580d5dd54a0a4a2e42d71603.tar.gz
Qt-7033466baf4f78fd580d5dd54a0a4a2e42d71603.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Use QML notation for documenting TextInput::accepted() signal. Document the TextInput accepted() signal.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index f9f2b18..3c95ab8 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -776,6 +776,15 @@ bool QDeclarativeTextInput::hasAcceptableInput() const
}
/*!
+ \qmlsignal TextInput::onAccepted()
+
+ This handler is called when the Return or Enter key is pressed.
+ Note that if there is a \l validator or \l inputMask set on the text
+ input, the handler will only be emitted if the input is in an acceptable
+ state.
+*/
+
+/*!
\qmlproperty enumeration TextInput::echoMode
Specifies how the text should be displayed in the TextInput.