Obsolete Members for QShortcutEvent
クラスQShortcutEvent の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
パブリック関数
(deprecated) | QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false) |
(deprecated) int | shortcutId() const |
メンバ関数ドキュメント
[deprecated]
QShortcutEvent::QShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false)
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
QShortcut IDid に関連付けられた、指定されたkey プレス用のショートカットイベントを構築します。
他のコンストラクタを使用する
ambiguous は、同じキーシーケンスに対して複数の があるかどうかを指定します。QShortcut
[deprecated]
int QShortcutEvent::shortcutId() const
この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。
このイベントが発生したQShortcut オブジェクトの ID を返します。
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.