以下成員源於類 QLineEdit 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
bool
|
validateAndSet (const QString & newText , int newPos , int newMarkAnchor , int newMarkDrag ) |
使用 setText (), setCursorPosition () 和 setSelection () 代替。