Obsolete Members for QVirtualKeyboardInputContext

以下成员源于类 QVirtualKeyboardInputContext 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

特性

公共函数

(弃用) QObject * inputItem () const

信号

(弃用) void inputItemChanged ()

特性文档编制

[read-only] capsLock : const bool

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

This property holds the caps lock status.

使用 capsLockActive 代替。

This property is changed when the caps lock status changes.

访问函数:

bool isCapsLockActive () const

通知程序信号:

void capsLockActiveChanged ()

[read-only] inputItem : QObject * const

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

This property holds the focused input item.

This property is changed when the focused input item changes.

访问函数:

QObject * inputItem () const

通知程序信号:

void inputItemChanged ()

[read-only] shift : const bool

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

This property holds the shift status.

使用 shiftActive 代替。

This property is changed when the shift status changes.

访问函数:

bool isShiftActive () const

通知程序信号:

void shiftActiveChanged ()