Obsolete Members for QLineEdit

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

公共函數

(obsolete) bool validateAndSet (const QString & newText , int newPos , int newMarkAnchor , int newMarkDrag )

成員函數文檔編製

bool QLineEdit:: validateAndSet (const QString & newText , int newPos , int newMarkAnchor , int newMarkDrag )

使用 setText (), setCursorPosition () 和 setSelection () 代替。