Qt 5.6 | Qt Widgets | C++ Classes | QApplication

Qt 5.6.2 Reference Documentation

# Obsolete Members for QApplication

The following members of class QApplication are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Static Public Members

`(obsolete)` Qt::LayoutDirection | keyboardInputDirection()
`(obsolete)` QLocale | keyboardInputLocale()
`(obsolete)` bool | keypadNavigationEnabled()
`(obsolete)` void | setGraphicsSystem(const QString &)
`(obsolete)` void | setKeypadNavigationEnabled(bool enable)

## Member Function Documentation

### `[static]` Qt::LayoutDirection QApplication::keyboardInputDirection()

Returns the current keyboard input direction. Replaced with QInputMethod::inputDirection()

This function was introduced in Qt 4.2.

See also QInputMethod::inputDirection().

### `[static]` QLocale QApplication::keyboardInputLocale()

Returns the current keyboard input locale. Replaced with QInputMethod::locale()

This function was introduced in Qt 4.2.

### `[static]` bool QApplication::keypadNavigationEnabled()

Returns `true` if Qt is set to use keypad navigation; otherwise returns false. The default value is false.

This feature is available in Qt for Embedded Linux, and Windows CE only.

Note: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.

See also setKeypadNavigationEnabled() and navigationMode().

### `[static]` void QApplication::setGraphicsSystem(const QString &)

This call has no effect.

Use the QPA framework instead.

### `[static]` void QApplication::setKeypadNavigationEnabled(bool enable)

Sets whether Qt should use focus navigation suitable for use with a minimal keypad.

This feature is available in Qt for Embedded Linux, and Windows CE only.

Note: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.

See also keypadNavigationEnabled() and setNavigationMode().