summaryrefslogtreecommitdiffstats
path: root/doc/html/qintvalidator.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qintvalidator.html')
-rw-r--r--doc/html/qintvalidator.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/qintvalidator.html b/doc/html/qintvalidator.html
index a9a716eb7..aa1d6d60e 100644
--- a/doc/html/qintvalidator.html
+++ b/doc/html/qintvalidator.html
@@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }
<p>The TQIntValidator class provides a validator which ensures
that a string contains a valid integer within a specified range.
<a href="#details">More...</a>
-<p><tt>#include &lt;<a href="qvalidator-h.html">qvalidator.h</a>&gt;</tt>
-<p>Inherits <a href="qvalidator.html">TQValidator</a>.
+<p><tt>#include &lt;<a href="qvalidator-h.html">ntqvalidator.h</a>&gt;</tt>
+<p>Inherits <a href="ntqvalidator.html">TQValidator</a>.
<p><a href="qintvalidator-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -62,17 +62,17 @@ that a string contains a valid integer within a specified range.
<p>
<p> Example of use:
<p> <pre>
- <a href="qvalidator.html">TQValidator</a>* validator = new TQIntValidator( 100, 999, this );
- <a href="qlineedit.html">TQLineEdit</a>* edit = new <a href="qlineedit.html">TQLineEdit</a>( this );
+ <a href="ntqvalidator.html">TQValidator</a>* validator = new TQIntValidator( 100, 999, this );
+ <a href="ntqlineedit.html">TQLineEdit</a>* edit = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
// the edit lineedit will only accept integers between 100 and 999
- edit-&gt;<a href="qlineedit.html#setValidator">setValidator</a>( validator );
+ edit-&gt;<a href="ntqlineedit.html#setValidator">setValidator</a>( validator );
</pre>
<p> Below we present some examples of validators. In practice they would
normally be associated with a widget as in the example above.
<p> <pre>
- <a href="qstring.html">TQString</a> str;
+ <a href="ntqstring.html">TQString</a> str;
int pos = 0;
TQIntValidator v( 100, 999, this );
@@ -101,12 +101,12 @@ or individually with <a href="#setBottom">setBottom</a>() and <a href="#setTop">
<p> <p>See also <a href="qdoublevalidator.html">TQDoubleValidator</a>, <a href="qregexpvalidator.html">TQRegExpValidator</a>, and <a href="misc.html">Miscellaneous Classes</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQIntValidator"></a>TQIntValidator::TQIntValidator ( <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQIntValidator"></a>TQIntValidator::TQIntValidator ( <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a validator called <em>name</em> with parent <em>parent</em>, that
accepts all integers.
-<h3 class=fn><a name="TQIntValidator-2"></a>TQIntValidator::TQIntValidator ( int&nbsp;minimum, int&nbsp;maximum, <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQIntValidator-2"></a>TQIntValidator::TQIntValidator ( int&nbsp;minimum, int&nbsp;maximum, <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a validator called <em>name</em> with parent <em>parent</em>, that
accepts integers from <em>minimum</em> to <em>maximum</em> inclusive.
@@ -131,11 +131,11 @@ See the <a href="qintvalidator.html#top-prop">"top"</a> property for details.
<h3 class=fn>int <a name="top"></a>TQIntValidator::top () const
</h3><p>Returns the validator's highest acceptable value.
See the <a href="qintvalidator.html#top-prop">"top"</a> property for details.
-<h3 class=fn><a href="qvalidator.html#State-enum">TQValidator::State</a> <a name="validate"></a>TQIntValidator::validate ( <a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;input, int &amp; ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="ntqvalidator.html#State-enum">TQValidator::State</a> <a name="validate"></a>TQIntValidator::validate ( <a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;input, int &amp; ) const<tt> [virtual]</tt>
</h3>
-Returns <a href="qvalidator.html#State-enum">Acceptable</a> if the <em>input</em> is an integer within the
-valid range, <a href="qvalidator.html#State-enum">Intermediate</a> if the <em>input</em> is an integer outside
-the valid range and <a href="qvalidator.html#State-enum">Invalid</a> if the <em>input</em> is not an integer.
+Returns <a href="ntqvalidator.html#State-enum">Acceptable</a> if the <em>input</em> is an integer within the
+valid range, <a href="ntqvalidator.html#State-enum">Intermediate</a> if the <em>input</em> is an integer outside
+the valid range and <a href="ntqvalidator.html#State-enum">Invalid</a> if the <em>input</em> is not an integer.
<p> Note: If the valid range consists of just positive integers (e.g. 32 - 100)
and <em>input</em> is a negative integer then Invalid is returned.
<p> <pre>
@@ -151,7 +151,7 @@ and <em>input</em> is a negative integer then Invalid is returned.
</pre>
-<p>Reimplemented from <a href="qvalidator.html#validate">TQValidator</a>.
+<p>Reimplemented from <a href="ntqvalidator.html#validate">TQValidator</a>.
<hr><h2>Property Documentation</h2>
<h3 class=fn>int <a name="bottom-prop"></a>bottom</h3>
<p>This property holds the validator's lowest acceptable value.