From e42ec295c2134770a1eb07032f5f22ca4ba1daa6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 31 Aug 2024 18:33:50 +0900 Subject: Rename remaining ntq[d-h]* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqfocusevent.html | 133 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 doc/html/tqfocusevent.html (limited to 'doc/html/tqfocusevent.html') diff --git a/doc/html/tqfocusevent.html b/doc/html/tqfocusevent.html new file mode 100644 index 000000000..600d87be7 --- /dev/null +++ b/doc/html/tqfocusevent.html @@ -0,0 +1,133 @@ + + + + + +TQFocusEvent Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

TQFocusEvent Class Reference

+ +

The TQFocusEvent class contains event parameters for widget focus +events. +More... +

#include <tqevent.h> +

Inherits TQEvent. +

List of all member functions. +

Public Members

+ +

Static Public Members

+ +

Detailed Description

+ + +The TQFocusEvent class contains event parameters for widget focus +events. +

+

Focus events are sent to widgets when the keyboard input focus +changes. Focus events occur due to mouse actions, keypresses (e.g. +Tab or Backtab), the window system, popup menus, keyboard +shortcuts or other application specific reasons. The reason for a +particular focus event is returned by reason() in the appropriate +event handler. +

The event handlers TQWidget::focusInEvent() and +TQWidget::focusOutEvent() receive focus events. +

Use setReason() to set the reason for all focus events, and +resetReason() to set the reason for all focus events to the reason +in force before the last setReason() call. +

See also TQWidget::setFocus(), TQWidget::focusPolicy, and Event Classes. + +


Member Type Documentation

+

TQFocusEvent::Reason

+ +

This enum specifies why the focus changed. +

See the keyboard focus overview for more +about focus. + +


Member Function Documentation

+

TQFocusEvent::TQFocusEvent ( Type type ) +

+ +

Constructs a focus event object. +

The type parameter must be either TQEvent::FocusIn or TQEvent::FocusOut. + +

bool TQFocusEvent::gotFocus () const +

+ +

Returns TRUE if the widget received the text input focus; +otherwise returns FALSE. + +

bool TQFocusEvent::lostFocus () const +

+ +

Returns TRUE if the widget lost the text input focus; otherwise +returns FALSE. + +

Reason TQFocusEvent::reason () [static] +

+Returns the reason for this focus event. +

See also setReason(). + +

void TQFocusEvent::resetReason () [static] +

+Resets the reason for all future focus events to the value before +the last setReason() call. +

See also reason() and setReason(). + +

void TQFocusEvent::setReason ( Reason reason ) [static] +

+Sets the reason for all future focus events to reason. +

See also reason() and resetReason(). + + +


+This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.3