Qt Reference Documentation

Qt 3 Support Members for QFocusEvent

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Public Types

enum Reason { Mouse, Tab, Backtab, MenuBar, ..., Shortcut }

Member Type Documentation

enum QFocusEvent::Reason

Use Qt::FocusReason instead.

ConstantValueDescription
QFocusEvent::MouseQt::MouseFocusReasonSame as Qt::MouseFocusReason.
QFocusEvent::TabQt::TabFocusReasonSame as Qt::TabFocusReason.
QFocusEvent::BacktabQt::BacktabFocusReasonSame as Qt::BacktabFocusReason.
QFocusEvent::MenuBarQt::MenuBarFocusReasonSame as Qt::MenuBarFocusReason.
QFocusEvent::ActiveWindowQt::ActiveWindowFocusReasonSame as Qt::ActiveWindowFocusReason
QFocusEvent::OtherQt::OtherFocusReasonSame as Qt::OtherFocusReason
QFocusEvent::PopupQt::PopupFocusReasonSame as Qt::PopupFocusReason
QFocusEvent::ShortcutQt::ShortcutFocusReasonSame as Qt::ShortcutFocusReason