Obsolete Members for QShortcutEvent

Die folgenden Mitglieder der Klasse „ QShortcutEvent “ sind veraltet. Sie werden bereitgestellt, um die Funktionsfähigkeit von altem Quellcode zu gewährleisten. 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 zu den 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.

Erstellt ein Shortcut-Ereignis für den angegebenen Tastendruck „ key “, das der ID „ QShortcut “ id zugeordnet 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 Objekts ` QShortcut ` zurück, für das dieses Ereignis generiert wurde.

Siehe auch ` QShortcut::id()`.

© 2026 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.