- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QFocusEvent Class Reference

Search for all occurrences

## Detailed Description

Definition at line 270 of file qevent.h.

`#include <qevent.h>`

Inheritance diagram for QFocusEvent:
[legend]

List of all members.

## Public Member Functions
| QFocusEvent (Type type, Qt::FocusReason reason=Qt::OtherFocusReason)
| ~QFocusEvent ()
bool | gotFocus () const
bool | lostFocus () const
Qt::FocusReason | reason ()
Qt::FocusReason | reason () const

## Constructor & Destructor Documentation

QFocusEvent | ( | Type | type,
|  | Qt::FocusReason | reason = `Qt::OtherFocusReason`
| ) |  |

~QFocusEvent | ( |  | ) |

## Member Function Documentation

bool gotFocus | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 276 of file qevent.h.

    { return type() == FocusIn; }

bool lostFocus | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 277 of file qevent.h.

    { return type() == FocusOut; }

Qt::FocusReason reason | ( |  | ) |

Search for all occurrences

Qt::FocusReason reason | ( |  | ) | const

Search for all occurrences

The documentation for this class was generated from the following file:

- QtGui/qevent.h

QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent
QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent QFocusEvent