以下成員源於類 QShortcut 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
int
|
id () const |
This function is deprecated. We strongly advise against using it in new code.
Returns the primary key binding's ID.
另請參閱 QShortcutEvent::shortcutId ().