diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-15 06:14:29 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-15 06:14:29 (GMT) |
commit | 3997977cdb712042c540b143f2ce2f5376e9d1e0 (patch) | |
tree | 995dc55d82c90472d5cc477d5ab12845faef344e /src | |
parent | fbd07cf7b756b903ab888785eb520cdbf64f38d4 (diff) | |
download | Qt-3997977cdb712042c540b143f2ce2f5376e9d1e0.zip Qt-3997977cdb712042c540b143f2ce2f5376e9d1e0.tar.gz Qt-3997977cdb712042c540b143f2ce2f5376e9d1e0.tar.bz2 |
Use QML notation for documenting TextInput::accepted() signal.
Use the name onAccepted() and refer to it as a handler rather than
a signal.
Change-Id: Ibd4144aa809e6d9db136187a07e9a660afa5df1b
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index ddfa3aa..88f36b4 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -776,12 +776,12 @@ bool QDeclarativeTextInput::hasAcceptableInput() const } /*! - \qmlsignal TextInput::accepted() + \qmlsignal TextInput::onAccepted() - This signal is emitted when the Return or Enter key is pressed. + 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 accepted signal will only be emitted if the input - is in an acceptable state. + input, the handler will only be emitted if the input is in an acceptable + state. */ /*! |