diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-15 06:05:35 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-15 06:05:35 (GMT) |
commit | fbd07cf7b756b903ab888785eb520cdbf64f38d4 (patch) | |
tree | ee9b898ae8145f0401200ee3b95b0a1bcd41484e /src/declarative/graphicsitems/qdeclarativetextinput.cpp | |
parent | 5f9f98ec047024fadbfdea334fbea7c357179032 (diff) | |
download | Qt-fbd07cf7b756b903ab888785eb520cdbf64f38d4.zip Qt-fbd07cf7b756b903ab888785eb520cdbf64f38d4.tar.gz Qt-fbd07cf7b756b903ab888785eb520cdbf64f38d4.tar.bz2 |
Document the TextInput accepted() signal.
Change-Id: I30a36ba2724c9641e9cfe5ceafa651728907ef63
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index dce7346..ddfa3aa 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -776,6 +776,15 @@ bool QDeclarativeTextInput::hasAcceptableInput() const } /*! + \qmlsignal TextInput::accepted() + + This signal is emitted 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 accepted signal 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. |