diff options
Diffstat (limited to 'doc/html/tqregexpvalidator.html')
-rw-r--r-- | doc/html/tqregexpvalidator.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqregexpvalidator.html b/doc/html/tqregexpvalidator.html index ba8815700..f0eb5cb2f 100644 --- a/doc/html/tqregexpvalidator.html +++ b/doc/html/tqregexpvalidator.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/qvalidator.cpp:517 --> +<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/tqvalidator.cpp:517 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; } <p>The TQRegExpValidator class is used to check a string against a regular expression. <a href="#details">More...</a> -<p><tt>#include <<a href="qvalidator-h.html">ntqvalidator.h</a>></tt> -<p>Inherits <a href="ntqvalidator.html">TQValidator</a>. +<p><tt>#include <<a href="tqvalidator-h.html">tqvalidator.h</a>></tt> +<p>Inherits <a href="tqvalidator.html">TQValidator</a>. <p><a href="tqregexpvalidator-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -53,7 +53,7 @@ The TQRegExpValidator class is used to check a string against a <a href="tqregexp.html#regular-expression">regular expression</a>. <p> <p> TQRegExpValidator contains a regular expression, "regexp", used to -determine whether an input string is <a href="ntqvalidator.html#State-enum">Acceptable</a>, <a href="ntqvalidator.html#State-enum">Intermediate</a> or <a href="ntqvalidator.html#State-enum">Invalid</a>. +determine whether an input string is <a href="tqvalidator.html#State-enum">Acceptable</a>, <a href="tqvalidator.html#State-enum">Intermediate</a> or <a href="tqvalidator.html#State-enum">Invalid</a>. <p> The regexp is treated as if it begins with the start of string assertion, <b>^</b>, and ends with the end of string assertion <b>$</b> so the match is against the entire input string, or from @@ -63,7 +63,7 @@ the given position if a start position greater than zero is given. <pre> // regexp: optional '-' followed by between 1 and 3 digits <a href="tqregexp.html">TQRegExp</a> rx( "-?\\d{1,3}" ); - <a href="ntqvalidator.html">TQValidator</a>* validator = new TQRegExpValidator( rx, this ); + <a href="tqvalidator.html">TQValidator</a>* validator = new TQRegExpValidator( rx, this ); <a href="tqlineedit.html">TQLineEdit</a>* edit = new <a href="tqlineedit.html">TQLineEdit</a>( this ); edit-><a href="tqlineedit.html#setValidator">setValidator</a>( validator ); @@ -105,7 +105,7 @@ normally be associated with a widget as in the example above. s = "readm"; v.<a href="#validate">validate</a>( s, pos ); // Returns Intermediate </pre> -<p> <p>See also <a href="tqregexp.html">TQRegExp</a>, <a href="qintvalidator.html">TQIntValidator</a>, <a href="qdoublevalidator.html">TQDoubleValidator</a>, and <a href="misc.html">Miscellaneous Classes</a>. +<p> <p>See also <a href="tqregexp.html">TQRegExp</a>, <a href="qintvalidator.html">TQIntValidator</a>, <a href="tqdoublevalidator.html">TQDoubleValidator</a>, and <a href="misc.html">Miscellaneous Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQRegExpValidator"></a>TQRegExpValidator::TQRegExpValidator ( <a href="tqobject.html">TQObject</a> * parent, const char * name = 0 ) @@ -136,18 +136,18 @@ Destroys the validator, freeing any resources allocated. Sets the <a href="tqregexp.html#regular-expression">regular expression</a> used for validation to <em>rx</em>. <p> <p>See also <a href="#regExp">regExp</a>(). -<h3 class=fn><a href="ntqvalidator.html#State-enum">TQValidator::State</a> <a name="validate"></a>TQRegExpValidator::validate ( <a href="tqstring.html">TQString</a> & input, int & pos ) const<tt> [virtual]</tt> +<h3 class=fn><a href="tqvalidator.html#State-enum">TQValidator::State</a> <a name="validate"></a>TQRegExpValidator::validate ( <a href="tqstring.html">TQString</a> & input, int & pos ) const<tt> [virtual]</tt> </h3> -Returns <a href="ntqvalidator.html#State-enum">Acceptable</a> if <em>input</em> is matched by the <a href="tqregexp.html#regular-expression">regular expression</a> for this validator, <a href="ntqvalidator.html#State-enum">Intermediate</a> if it has matched +Returns <a href="tqvalidator.html#State-enum">Acceptable</a> if <em>input</em> is matched by the <a href="tqregexp.html#regular-expression">regular expression</a> for this validator, <a href="tqvalidator.html#State-enum">Intermediate</a> if it has matched partially (i.e. could be a valid match if additional valid -characters are added), and <a href="ntqvalidator.html#State-enum">Invalid</a> if <em>input</em> is not matched. +characters are added), and <a href="tqvalidator.html#State-enum">Invalid</a> if <em>input</em> is not matched. <p> The <em>pos</em> parameter is set to the length of the <em>input</em> parameter. <p> For example, if the regular expression is <b>\w\d\d</b> (that -is, word-character, digit, digit) then "A57" is <a href="ntqvalidator.html#State-enum">Acceptable</a>, -"E5" is <a href="ntqvalidator.html#State-enum">Intermediate</a> and "+9" is <a href="ntqvalidator.html#State-enum">Invalid</a>. +is, word-character, digit, digit) then "A57" is <a href="tqvalidator.html#State-enum">Acceptable</a>, +"E5" is <a href="tqvalidator.html#State-enum">Intermediate</a> and "+9" is <a href="tqvalidator.html#State-enum">Invalid</a>. <p> <p>See also <a href="tqregexp.html#match">TQRegExp::match</a>() and <a href="tqregexp.html#search">TQRegExp::search</a>(). -<p>Reimplemented from <a href="ntqvalidator.html#validate">TQValidator</a>. +<p>Reimplemented from <a href="tqvalidator.html#validate">TQValidator</a>. <!-- eof --> <hr><p> This file is part of the <a href="index.html">TQt toolkit</a>. |