以下成員源於類 QKeySequence 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QString
|
operator QString () const |
(obsolete)
int
|
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.