Obsolete Members for QVirtualKeyboardInputContext

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

Properties

Public Functions

(deprecated) QObject *inputItem() const

Signals

(deprecated) void inputItemChanged()

Property Documentation

[read-only, deprecated] capsLock : bool

This property is deprecated. We strongly advise against using it in new code.

This property holds the caps lock status.

Use capsLockActive instead.

This property is changed when the caps lock status changes.

Access functions:

bool isCapsLockActive() const

Notifier signal:

[read-only, deprecated] inputItem : QObject*

This property is deprecated. We strongly advise against using it in new code.

This property holds the focused input item.

Use QGuiApplication::focusObject() instead. This property was never intended as public API; it was exposed only for the internal use of the virtual keyboard.

This property is changed when the focused input item changes.

Note: If you are tracking the input item in order to react to the keyboard geometry or to the cursor position, prefer QInputMethod, which provides keyboardRectangle and cursorRectangle without requiring access to the focused item itself.

Access functions:

QObject *inputItem() const

Notifier signal:

void inputItemChanged()

[read-only, deprecated] shift : bool

This property is deprecated. We strongly advise against using it in new code.

This property holds the shift status.

Use shiftActive instead.

This property is changed when the shift status changes.

Access functions:

bool isShiftActive() const

Notifier signal: