Obsolete Members for QShortcutEvent
I seguenti membri della classe ` QShortcutEvent ` sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.
Funzioni pubbliche
(deprecated) | QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false) |
(deprecated) int | shortcutId() const |
Documentazione sulle funzioni membro
[deprecated] QShortcutEvent::QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false)
Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.
Crea un evento di scorciatoia per la pressione del tasto key specificata, associato all'ID QShortcut id .
Utilizzare l'altro costruttore.
ambiguous Specifica se esiste più di un ` QShortcut ` per la stessa sequenza di tasti.
[deprecated] int QShortcutEvent::shortcutId() const
Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.
Restituisce l'ID dell'oggetto QShortcut per il quale è stato generato questo evento.
Vedi anche 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.