diff options
Diffstat (limited to 'doc/focus.doc')
-rw-r--r-- | doc/focus.doc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/focus.doc b/doc/focus.doc index d2733536d..77d256fd4 100644 --- a/doc/focus.doc +++ b/doc/focus.doc @@ -91,9 +91,9 @@ called the tab order. In Qt, this list is kept in the \l QFocusData class. There is one QFocusData object per window, and widgets automatically append -themselves to the end of it when \l QWidget::setFocusPolicy() is -called with an appropriate \l QWidget::FocusPolicy. You can customize -the tab order using \l QWidget::setTabOrder(). (If you don't, Tab +themselves to the end of it when \l TQWidget::setFocusPolicy() is +called with an appropriate \l TQWidget::FocusPolicy. You can customize +the tab order using \l TQWidget::setTabOrder(). (If you don't, Tab generally moves focus in the order of widget construction.) \link designer-manual.book TQt Designer\endlink provides a means of visually changing the tab order. @@ -125,8 +125,8 @@ focus to this field. Another exception to Tab support is text-entry widgets that must support the insertion of tabs; almost all text editors fall into this class. TQt treats Control+Tab as Tab and Control+Shift+Tab as -Shift+Tab, and such widgets can reimplement \l QWidget::event() and -handle Tab before calling QWidget::event() to get normal processing of +Shift+Tab, and such widgets can reimplement \l TQWidget::event() and +handle Tab before calling TQWidget::event() to get normal processing of all other keys. However, since some systems use Control+Tab for other purposes, and many users aren't aware of Control+Tab anyway, this isn't a complete solution. @@ -156,7 +156,7 @@ entry, and to avoid it for most widgets where a mouse click has a different effect. (For buttons, we also recommend adding a keyboard shortcut: \l QButton and its subclasses make this very easy.) -In Qt, only the \l QWidget::setFocusPolicy() function affects +In Qt, only the \l TQWidget::setFocusPolicy() function affects click-to-focus. \section2 The user presses a keyboard shortcut. @@ -197,8 +197,8 @@ the last widget to have focus should regain it. TQt does this automatically. If focus has never been in this window before and you know where focus -should start out, call \l QWidget::setFocus() on the widget which -should receive focus before you \l QWidget::show() it. If you don't, +should start out, call \l TQWidget::setFocus() on the widget which +should receive focus before you \l TQWidget::show() it. If you don't, Qt will pick a suitable widget. */ |