Obsolete Members for QShortcutEvent

Die folgenden Mitglieder der Klasse QShortcutEvent sind veraltet. Sie werden bereitgestellt, um alten Quellcode funktionsfähig zu halten. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Öffentliche Funktionen

(deprecated) QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false)
(deprecated) int shortcutId() const

Dokumentation der Mitgliedsfunktionen

[deprecated] QShortcutEvent::QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false)

Diese Funktion ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Konstruiert ein Shortcut-Ereignis für die angegebene key Taste, die mit der QShortcut ID id verbunden ist.

Verwenden Sie den anderen Konstruktor

ambiguous gibt an, ob es mehr als ein QShortcut für dieselbe Tastenfolge gibt.

[deprecated] int QShortcutEvent::shortcutId() const

Diese Funktion ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Gibt die ID des QShortcut Objekts zurück, für das dieses Ereignis erzeugt wurde.

Siehe auch QShortcut::id().

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.