以下成員源於類 QKeySequence 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
|
operator QString () const |
(obsolete)
|
operator int () const |
使用 toString () 代替。
返迴鍵序列作為 QString 。這相當於調用 toString ( QKeySequence::NativeText ). Note that the result is not platform independent.
For backward compatibility: returns the first keycode as integer. If the key sequence is empty, 0 is returned.