以下成員源於類 QShortcutEvent 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
|
QShortcutEvent (const QKeySequence & key , int id , bool ambiguous = false) |
(棄用)
int
|
shortcutId () const |
[deprecated]
QShortcutEvent::
QShortcutEvent
(const
QKeySequence
&
key
,
int
id
,
bool
ambiguous
= false)
This function is deprecated. We strongly advise against using it in new code.
構造快捷鍵事件為給定 key 按下,關聯 QShortcut ID id .
use the other constructor
ambiguous specifies whether there is more than one QShortcut for the same key sequence.
[deprecated]
int
QShortcutEvent::
shortcutId
() const
This function is deprecated. We strongly advise against using it in new code.
Returns the ID of the QShortcut object for which this event was generated.
另請參閱 QShortcut::id ().