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 () 代替。