diff options
Diffstat (limited to 'doc/man/man3/tqlineedit.3qt')
-rw-r--r-- | doc/man/man3/tqlineedit.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqlineedit.3qt b/doc/man/man3/tqlineedit.3qt index 1bf085f91..2cab9ad32 100644 --- a/doc/man/man3/tqlineedit.3qt +++ b/doc/man/man3/tqlineedit.3qt @@ -49,7 +49,7 @@ Inherits TQFrame. .BI "bool \fBisReadOnly\fR () const" .br .ti -1c -.BI "const QValidator * \fBvalidator\fR () const" +.BI "const TQValidator * \fBvalidator\fR () const" .br .ti -1c .BI "virtual TQSize \fBsizeHint\fR () const" @@ -175,7 +175,7 @@ Inherits TQFrame. .BI "virtual void \fBsetReadOnly\fR ( bool )" .br .ti -1c -.BI "virtual void \fBsetValidator\fR ( const QValidator * v )" +.BI "virtual void \fBsetValidator\fR ( const TQValidator * v )" .br .ti -1c .BI "virtual void \fBsetSelection\fR ( int start, int length )" @@ -511,12 +511,12 @@ Note that this function sets the cursor's position to the end of the selection r See also deselect(), selectAll(), getSelection(), cursorForward(), and cursorBackward(). .SH "void TQLineEdit::setText ( const TQString & )\fC [virtual slot]\fR" Sets the line edit's text. See the "text" property for details. -.SH "void TQLineEdit::setValidator ( const QValidator * v )\fC [virtual slot]\fR" +.SH "void TQLineEdit::setValidator ( const TQValidator * v )\fC [virtual slot]\fR" Sets this line edit to only accept input that the validator, \fIv\fR, will accept. This allows you to place any arbitrary constraints on the text which may be entered. .PP If \fIv\fR == 0, setValidator() removes the current input validator. The initial setting is to have no input validator (i.e. any input is accepted up to maxLength()). .PP -See also validator(), QIntValidator, QDoubleValidator, and TQRegExpValidator. +See also validator(), QIntValidator, TQDoubleValidator, and TQRegExpValidator. .PP Examples: .)l lineedits/lineedits.cpp and wizard/wizard.cpp. @@ -537,7 +537,7 @@ Examples: Undoes the last operation if undo is available. Deselects any current selection, and updates the selection start to the current cursor position. .SH "bool TQLineEdit::validateAndSet ( const TQString & newText, int newPos, int newMarkAnchor, int newMarkDrag )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use setText(), setCursorPosition() and setSelection() instead. -.SH "const QValidator * TQLineEdit::validator () const" +.SH "const TQValidator * TQLineEdit::validator () const" Returns a pointer to the current input validator, or 0 if no validator has been set. .PP See also setValidator(). |