diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2012-08-01 14:36:13 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:37:46 +0200 |
commit | a68577e7e07cce40cac142f6e2b386a76f3ecbd1 (patch) | |
tree | d79bbae4fcebb76f72aa1a56beac09b945967248 /src/widgets/kernel/qwidget.cpp | |
parent | d61c356516cddb9cb0862d13479acd4c3310a972 (diff) |
replace \key and \gui qdoc commands with \uicontrol
Change-Id: I0753305d4fe1ea20417f451766101da1247dfeeb
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 747d0a049a..ac2c5f20a3 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -629,7 +629,7 @@ void QWidget::setAutoFillBackground(bool enabled) \list \li keyPressEvent() is called whenever a key is pressed, and again when a key has been held down long enough for it to auto-repeat. The - \key Tab and \key Shift+Tab keys are only passed to the widget if + \uicontrol Tab and \uicontrol Shift+Tab keys are only passed to the widget if they are not used by the focus-change mechanisms. To force those keys to be processed by your widget, you must reimplement QWidget::event(). @@ -652,7 +652,7 @@ void QWidget::setAutoFillBackground(bool enabled) \li keyReleaseEvent() is called whenever a key is released and while it is held down (if the key is auto-repeating). In that case, the widget will receive a pair of key release and key press event for - every repeat. The \key Tab and \key Shift+Tab keys are only passed + every repeat. The \uicontrol Tab and \uicontrol Shift+Tab keys are only passed to the widget if they are not used by the focus-change mechanisms. To force those keys to be processed by your widget, you must reimplement QWidget::event(). @@ -674,7 +674,7 @@ void QWidget::setAutoFillBackground(bool enabled) for QEvent::Type. To handle these events, you need to reimplement event() directly. - The default implementation of event() handles \key Tab and \key Shift+Tab + The default implementation of event() handles \uicontrol Tab and \uicontrol Shift+Tab (to move the keyboard focus), and passes on most of the other events to one of the more specialized handlers above. @@ -6079,7 +6079,7 @@ void QWidget::clearFocus() \fn bool QWidget::focusNextChild() Finds a new widget to give the keyboard focus to, as appropriate - for \key Tab, and returns true if it can find a new widget, or + for \uicontrol Tab, and returns true if it can find a new widget, or false if it can't. \sa focusPreviousChild() @@ -6089,7 +6089,7 @@ void QWidget::clearFocus() \fn bool QWidget::focusPreviousChild() Finds a new widget to give the keyboard focus to, as appropriate - for \key Shift+Tab, and returns true if it can find a new widget, + for \uicontrol Shift+Tab, and returns true if it can find a new widget, or false if it can't. \sa focusNextChild() |