summaryrefslogtreecommitdiffstats
path: root/doc/html/tqvariant.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqvariant.html')
-rw-r--r--doc/html/tqvariant.html48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/tqvariant.html b/doc/html/tqvariant.html
index 96ec899c7..01124146b 100644
--- a/doc/html/tqvariant.html
+++ b/doc/html/tqvariant.html
@@ -231,7 +231,7 @@ defined type with no value set.
<pre>
TQVariant x, y( TQString() ), z( TQString("") );
x.<a href="#asInt">asInt</a>();
- // x.<a href="#isNull">isNull</a>() == TRUE, y.isNull() == TRUE, z.isNull() == FALSE
+ // x.<a href="#isNull">isNull</a>() == true, y.isNull() == true, z.isNull() == false
</pre>
<p> See the <a href="collection.html">Collection Classes</a>.
@@ -730,7 +730,7 @@ Returns the variant's value as unsigned long long reference.
<h3 class=fn>bool <a name="canCast"></a>TQVariant::canCast ( <a href="tqvariant.html#Type-enum">Type</a>&nbsp;t ) const
</h3>
-Returns TRUE if the variant's type can be cast to the requested
+Returns true if the variant's type can be cast to the requested
type, <em>t</em>. Such casting is done automatically when calling the
<a href="#toInt">toInt</a>(), <a href="#toBool">toBool</a>(), ... or <a href="#asInt">asInt</a>(), <a href="#asBool">asBool</a>(), ... methods.
<p> The following casts are done automatically:
@@ -763,8 +763,8 @@ Casts the variant to the requested type. If the cast cannot be
done, the variant is set to the default value of the requested
type (e.g. an empty string if the requested type <em>t</em> is
TQVariant::String, an empty point array if the requested type <em>t</em>
-is TQVariant::PointArray, etc). Returns TRUE if the current type of
-the variant was successfully cast; otherwise returns FALSE.
+is TQVariant::PointArray, etc). Returns true if the current type of
+the variant was successfully cast; otherwise returns false.
<p> <p>See also <a href="#canCast">canCast</a>().
<h3 class=fn>void <a name="clear"></a>TQVariant::clear ()
@@ -774,13 +774,13 @@ used.
<h3 class=fn>bool <a name="isNull"></a>TQVariant::isNull () const
</h3>
-Returns TRUE if this is a NULL variant, FALSE otherwise.
+Returns true if this is a NULL variant, false otherwise.
<h3 class=fn>bool <a name="isValid"></a>TQVariant::isValid () const
</h3>
-<p> Returns TRUE if the storage type of this variant is not
-TQVariant::Invalid; otherwise returns FALSE.
+<p> Returns true if the storage type of this variant is not
+TQVariant::Invalid; otherwise returns false.
<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a>&lt;TQVariant&gt; <a name="listBegin"></a>TQVariant::listBegin () const
</h3>
@@ -826,8 +826,8 @@ representation, the variant is set to <a href="#Type-enum">Invalid</a>.
<h3 class=fn>bool <a name="operator!-eq"></a>TQVariant::operator!= ( const&nbsp;<a href="tqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;v ) const
</h3>
-Compares this TQVariant with <em>v</em> and returns TRUE if they are not
-equal; otherwise returns FALSE.
+Compares this TQVariant with <em>v</em> and returns true if they are not
+equal; otherwise returns false.
<h3 class=fn><a href="tqvariant.html">TQVariant</a>&nbsp;&amp; <a name="operator-eq"></a>TQVariant::operator= ( const&nbsp;<a href="tqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;variant )
</h3>
@@ -838,8 +838,8 @@ performed.
<h3 class=fn>bool <a name="operator-eq-eq"></a>TQVariant::operator== ( const&nbsp;<a href="tqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;v ) const
</h3>
-Compares this TQVariant with <em>v</em> and returns TRUE if they are
-equal; otherwise returns FALSE.
+Compares this TQVariant with <em>v</em> and returns true if they are
+equal; otherwise returns false.
<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a>&lt;TQString&gt; <a name="stringListBegin"></a>TQVariant::stringListBegin () const
</h3>
@@ -870,11 +870,11 @@ otherwise returns a null TQBitmap.
<h3 class=fn>bool <a name="toBool"></a>TQVariant::toBool () const
</h3>
Returns the variant as a bool if the variant can be cast to Bool;
-otherWise returns FALSE.
-<p> Returns TRUE if the variant has a numeric type and its value is
+otherWise returns false.
+<p> Returns true if the variant has a numeric type and its value is
non-zero, or if the variant has type String, ByteArray or CString
and its lower-case content is not empty, "0" or "false"; otherwise
-returns FALSE.
+returns false.
<p> <p>See also <a href="#asBool">asBool</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn>const&nbsp;<a href="tqbrush.html">TQBrush</a> <a name="toBrush"></a>TQVariant::toBrush () const
@@ -935,8 +935,8 @@ TQt::ISODate format date/time.
</h3>
Returns the variant as a double if the variant can be cast to
Double; otherwise returns 0.0.
-<p> If <em>ok</em> is non-null: <em>*ok</em> is set to TRUE if the value could be
-converted to a double; otherwise <em>*ok</em> is set to FALSE.
+<p> If <em>ok</em> is non-null: <em>*ok</em> is set to true if the value could be
+converted to a double; otherwise <em>*ok</em> is set to false.
<p> <p>See also <a href="#asDouble">asDouble</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn>const&nbsp;<a href="tqfont.html">TQFont</a> <a name="toFont"></a>TQVariant::toFont () const
@@ -961,8 +961,8 @@ otherwise returns a null image.
</h3>
Returns the variant as an int if the variant can be cast to Int;
otherwise returns 0.
-<p> If <em>ok</em> is non-null: <em>*ok</em> is set to TRUE if the value could be
-converted to an int; otherwise <em>*ok</em> is set to FALSE.
+<p> If <em>ok</em> is non-null: <em>*ok</em> is set to true if the value could be
+converted to an int; otherwise <em>*ok</em> is set to false.
<p> <p>See also <a href="#asInt">asInt</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn>const&nbsp;<a href="tqkeysequence.html">TQKeySequence</a> <a name="toKeySequence"></a>TQVariant::toKeySequence () const
@@ -992,8 +992,8 @@ over a copy, e.g.
</h3>
Returns the variant as a long long int if the variant can be cast
to LongLong; otherwise returns 0.
-<p> If <em>ok</em> is non-null: <em>*ok</em> is set to TRUE if the value could be
-converted to an int; otherwise <em>*ok</em> is set to FALSE.
+<p> If <em>ok</em> is non-null: <em>*ok</em> is set to true if the value could be
+converted to an int; otherwise <em>*ok</em> is set to false.
<p> <p>See also <a href="#asLongLong">asLongLong</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn>const&nbsp;<a href="tqmap.html">TQMap</a>&lt;TQString,&nbsp;TQVariant&gt; <a name="toMap"></a>TQVariant::toMap () const
@@ -1104,16 +1104,16 @@ TQt::ISODate format time.
</h3>
Returns the variant as an unsigned int if the variant can be cast
to UInt; otherwise returns 0.
-<p> If <em>ok</em> is non-null: <em>*ok</em> is set to TRUE if the value could be
-converted to an unsigned int; otherwise <em>*ok</em> is set to FALSE.
+<p> If <em>ok</em> is non-null: <em>*ok</em> is set to true if the value could be
+converted to an unsigned int; otherwise <em>*ok</em> is set to false.
<p> <p>See also <a href="#asUInt">asUInt</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQVariant::toULongLong ( bool&nbsp;*&nbsp;ok = 0 ) const
</h3>
Returns the variant as as an unsigned long long int if the variant
can be cast to ULongLong; otherwise returns 0.
-<p> If <em>ok</em> is non-null: <em>*ok</em> is set to TRUE if the value could be
-converted to an int; otherwise <em>*ok</em> is set to FALSE.
+<p> If <em>ok</em> is non-null: <em>*ok</em> is set to true if the value could be
+converted to an int; otherwise <em>*ok</em> is set to false.
<p> <p>See also <a href="#asULongLong">asULongLong</a>() and <a href="#canCast">canCast</a>().
<h3 class=fn><a href="tqvariant.html#Type-enum">Type</a> <a name="type"></a>TQVariant::type () const