Obsolete Members for QShortcut

以下成員源於類 QShortcut 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(棄用) int id () const

成員函數文檔編製

[deprecated] int QShortcut:: id () const

This function is deprecated. We strongly advise against using it in new code.

Returns the primary key binding's ID.

另請參閱 QShortcutEvent::shortcutId ().