Pages
API Documentation
On this page

Obsolete Members for KKeySequenceRecorder

The following members of class KKeySequenceRecorder are deprecated. We strongly advise against using them in new code.

Properties

Public Functions

Obsolete Property Documentation

[deprecated in 6.12] modifierOnlyAllowed : bool

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

It makes it acceptable for the key sequence to be just a modifier (e.g. Shift or Control)

By default, if only a modifier is pressed and then released, the component will remain waiting for the sequence. When enabled, it will take the modifier key as the key sequence.

By default this is false.

Use the patterns property instead.

Access functions:

Notifier signal:

  • void modifierOnlyAllowedChanged()

[deprecated in 6.12] modifierlessAllowed : bool

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

If key presses of "plain" keys without a modifier are considered to be a valid finished key combination. Plain keys include letter and symbol keys and text editing keys (Return, Space, Tab, Backspace, Delete). Other keys like F1, Cursor keys, Insert, PageDown will always work.

By default this is false.

Use the patterns property instead.

Access functions:

Notifier signal:

  • void modifierlessAllowedChanged()

Obsolete Member Function Documentation

[deprecated in 6.12] bool KKeySequenceRecorder::modifierOnlyAllowed() const

This function is deprecated since 6.12. We strongly advise against using it in new code.

Use patterns() instead

Note: Getter function for property modifierOnlyAllowed.

See also setModifierOnlyAllowed()

[deprecated in 6.12] bool KKeySequenceRecorder::modifierlessAllowed() const

This function is deprecated since 6.12. We strongly advise against using it in new code.

Use patterns() instead

Note: Getter function for property modifierlessAllowed.

See also setModifierlessAllowed()

[deprecated in 6.12] void KKeySequenceRecorder::setModifierOnlyAllowed(bool allowed)

This function is deprecated since 6.12. We strongly advise against using it in new code.

Use setPatterns() instead

Note: Setter function for property modifierOnlyAllowed.

See also modifierOnlyAllowed()

[deprecated in 6.12] void KKeySequenceRecorder::setModifierlessAllowed(bool allowed)

This function is deprecated since 6.12. We strongly advise against using it in new code.

Use setPatterns() instead

Note: Setter function for property modifierlessAllowed.

See also modifierlessAllowed()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.