diff options
Diffstat (limited to 'doc/man/man3/tqregexpvalidator.3qt')
-rw-r--r-- | doc/man/man3/tqregexpvalidator.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqregexpvalidator.3qt b/doc/man/man3/tqregexpvalidator.3qt index a567f4952..0f0815291 100644 --- a/doc/man/man3/tqregexpvalidator.3qt +++ b/doc/man/man3/tqregexpvalidator.3qt @@ -9,9 +9,9 @@ .SH NAME TQRegExpValidator \- Used to check a string against a .SH SYNOPSIS -\fC#include <ntqvalidator.h>\fR +\fC#include <tqvalidator.h>\fR .PP -Inherits QValidator. +Inherits TQValidator. .PP .SS "Public Members" .in +1c @@ -25,7 +25,7 @@ Inherits QValidator. .BI "\fB~TQRegExpValidator\fR ()" .br .ti -1c -.BI "virtual QValidator::State \fBvalidate\fR ( TQString & input, int & pos ) const" +.BI "virtual TQValidator::State \fBvalidate\fR ( TQString & input, int & pos ) const" .br .ti -1c .BI "void \fBsetRegExp\fR ( const TQRegExp & rx )" @@ -51,7 +51,7 @@ Example of use: .br TQRegExp rx( "-?\\\\d{1,3}" ); .br - QValidator* validator = new TQRegExpValidator( rx, this ); + TQValidator* validator = new TQRegExpValidator( rx, this ); .br .br TQLineEdit* edit = new TQLineEdit( this ); @@ -124,7 +124,7 @@ Below we present some examples of validators. In practice they would normally be .br .fi .PP -See also TQRegExp, QIntValidator, QDoubleValidator, and Miscellaneous Classes. +See also TQRegExp, QIntValidator, TQDoubleValidator, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQRegExpValidator::TQRegExpValidator ( TQObject * parent, const char * name = 0 )" Constructs a validator that accepts any string (including an empty one) as valid. The object's parent is \fIparent\fR and its name is \fIname\fR. @@ -142,7 +142,7 @@ See also setRegExp(). Sets the regular expression used for validation to \fIrx\fR. .PP See also regExp(). -.SH "QValidator::State TQRegExpValidator::validate ( TQString & input, int & pos ) const\fC [virtual]\fR" +.SH "TQValidator::State TQRegExpValidator::validate ( TQString & input, int & pos ) const\fC [virtual]\fR" Returns Acceptable if \fIinput\fR is matched by the regular expression for this validator, Intermediate if it has matched partially (i.e. could be a valid match if additional valid characters are added), and Invalid if \fIinput\fR is not matched. .PP The \fIpos\fR parameter is set to the length of the \fIinput\fR parameter. @@ -151,7 +151,7 @@ For example, if the regular expression is \fB\w\d\d\fR (that is, wor .PP See also TQRegExp::match() and TQRegExp::search(). .PP -Reimplemented from QValidator. +Reimplemented from TQValidator. .SH "SEE ALSO" .BR http://doc.trolltech.com/tqregexpvalidator.html |