diff options
Diffstat (limited to 'doc/html/ntqvariant.html')
-rw-r--r-- | doc/html/ntqvariant.html | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index fd4f55e4d..9fe348db0 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -193,7 +193,7 @@ type that can be generated from the stored type, toT() copies and converts and leaves the object itself unchanged. If you ask for a type that cannot be generated from the stored type, the result depends on the type (see the function documentation for details). -<p> Note that three data types supported by TQVariant are <a href="shclass.html#explicitly-shared">explicitly shared</a>, namely <a href="tqimage.html">TQImage</a>, <a href="ntqpointarray.html">TQPointArray</a>, and <a href="tqcstring.html">TQCString</a>, and in these +<p> Note that three data types supported by TQVariant are <a href="shclass.html#explicitly-shared">explicitly shared</a>, namely <a href="tqimage.html">TQImage</a>, <a href="tqpointarray.html">TQPointArray</a>, and <a href="tqcstring.html">TQCString</a>, and in these cases the toT() methods return a <a href="shclass.html#shallow-copy">shallow copy</a>. In almost all cases you must make a <a href="shclass.html#deep-copy">deep copy</a> of the returned values before modifying them. @@ -265,13 +265,13 @@ contain. <li><tt>TQVariant::LongLong</tt> - a long long <li><tt>TQVariant::ULongLong</tt> - an unsigned long long <li><tt>TQVariant::Map</tt> - a <a href="tqmap.html">TQMap</a><TQString,TQVariant> -<li><tt>TQVariant::Palette</tt> - a <a href="ntqpalette.html">TQPalette</a> -<li><tt>TQVariant::Pen</tt> - a <a href="ntqpen.html">TQPen</a> -<li><tt>TQVariant::Pixmap</tt> - a <a href="ntqpixmap.html">TQPixmap</a> -<li><tt>TQVariant::Point</tt> - a <a href="ntqpoint.html">TQPoint</a> -<li><tt>TQVariant::PointArray</tt> - a <a href="ntqpointarray.html">TQPointArray</a> -<li><tt>TQVariant::Rect</tt> - a <a href="ntqrect.html">TQRect</a> -<li><tt>TQVariant::Region</tt> - a <a href="ntqregion.html">TQRegion</a> +<li><tt>TQVariant::Palette</tt> - a <a href="tqpalette.html">TQPalette</a> +<li><tt>TQVariant::Pen</tt> - a <a href="tqpen.html">TQPen</a> +<li><tt>TQVariant::Pixmap</tt> - a <a href="tqpixmap.html">TQPixmap</a> +<li><tt>TQVariant::Point</tt> - a <a href="tqpoint.html">TQPoint</a> +<li><tt>TQVariant::PointArray</tt> - a <a href="tqpointarray.html">TQPointArray</a> +<li><tt>TQVariant::Rect</tt> - a <a href="tqrect.html">TQRect</a> +<li><tt>TQVariant::Region</tt> - a <a href="tqregion.html">TQRegion</a> <li><tt>TQVariant::Size</tt> - a <a href="tqsize.html">TQSize</a> <li><tt>TQVariant::SizePolicy</tt> - a <a href="tqsizepolicy.html">TQSizePolicy</a> <li><tt>TQVariant::String</tt> - a <a href="tqstring.html">TQString</a> @@ -337,7 +337,7 @@ Constructs a new variant with a string list value, <em>val</em>. </h3> Constructs a new variant with a font value, <em>val</em>. -<h3 class=fn><a name="TQVariant-9"></a>TQVariant::TQVariant ( const <a href="ntqpixmap.html">TQPixmap</a> & val ) +<h3 class=fn><a name="TQVariant-9"></a>TQVariant::TQVariant ( const <a href="tqpixmap.html">TQPixmap</a> & val ) </h3> Constructs a new variant with a pixmap value, <em>val</em>. @@ -351,11 +351,11 @@ changing the image you've passed later on. </h3> Constructs a new variant with a brush value, <em>val</em>. -<h3 class=fn><a name="TQVariant-c"></a>TQVariant::TQVariant ( const <a href="ntqpoint.html">TQPoint</a> & val ) +<h3 class=fn><a name="TQVariant-c"></a>TQVariant::TQVariant ( const <a href="tqpoint.html">TQPoint</a> & val ) </h3> Constructs a new variant with a point value, <em>val</em>. -<h3 class=fn><a name="TQVariant-d"></a>TQVariant::TQVariant ( const <a href="ntqrect.html">TQRect</a> & val ) +<h3 class=fn><a name="TQVariant-d"></a>TQVariant::TQVariant ( const <a href="tqrect.html">TQRect</a> & val ) </h3> Constructs a new variant with a rect value, <em>val</em>. @@ -367,7 +367,7 @@ Constructs a new variant with a size value, <em>val</em>. </h3> Constructs a new variant with a color value, <em>val</em>. -<h3 class=fn><a name="TQVariant-g"></a>TQVariant::TQVariant ( const <a href="ntqpalette.html">TQPalette</a> & val ) +<h3 class=fn><a name="TQVariant-g"></a>TQVariant::TQVariant ( const <a href="tqpalette.html">TQPalette</a> & val ) </h3> Constructs a new variant with a color palette value, <em>val</em>. @@ -379,14 +379,14 @@ Constructs a new variant with a color group value, <em>val</em>. </h3> Constructs a new variant with an icon set value, <em>val</em>. -<h3 class=fn><a name="TQVariant-j"></a>TQVariant::TQVariant ( const <a href="ntqpointarray.html">TQPointArray</a> & val ) +<h3 class=fn><a name="TQVariant-j"></a>TQVariant::TQVariant ( const <a href="tqpointarray.html">TQPointArray</a> & val ) </h3> Constructs a new variant with a point array value, <em>val</em>. -<p> Because <a href="ntqpointarray.html">TQPointArray</a> is <a href="shclass.html#explicitly-shared">explicitly shared</a>, you may need to pass a -<a href="shclass.html#deep-copy">deep copy</a> to the variant using <a href="ntqpointarray.html#copy">TQPointArray::copy</a>(), e.g. if you +<p> Because <a href="tqpointarray.html">TQPointArray</a> is <a href="shclass.html#explicitly-shared">explicitly shared</a>, you may need to pass a +<a href="shclass.html#deep-copy">deep copy</a> to the variant using <a href="tqpointarray.html#copy">TQPointArray::copy</a>(), e.g. if you intend changing the point array you've passed later on. -<h3 class=fn><a name="TQVariant-k"></a>TQVariant::TQVariant ( const <a href="ntqregion.html">TQRegion</a> & val ) +<h3 class=fn><a name="TQVariant-k"></a>TQVariant::TQVariant ( const <a href="tqregion.html">TQRegion</a> & val ) </h3> Constructs a new variant with a region value, <em>val</em>. @@ -422,7 +422,7 @@ Constructs a new variant with a bitarray value, <em>val</em>. </h3> Constructs a new variant with a key sequence value, <em>val</em>. -<h3 class=fn><a name="TQVariant-t"></a>TQVariant::TQVariant ( const <a href="ntqpen.html">TQPen</a> & val ) +<h3 class=fn><a name="TQVariant-t"></a>TQVariant::TQVariant ( const <a href="tqpen.html">TQPen</a> & val ) </h3> Constructs a new variant with a pen value, <em>val</em>. @@ -617,22 +617,22 @@ over a copy, e.g. </pre> -<h3 class=fn><a href="ntqpalette.html">TQPalette</a> & <a name="asPalette"></a>TQVariant::asPalette () +<h3 class=fn><a href="tqpalette.html">TQPalette</a> & <a name="asPalette"></a>TQVariant::asPalette () </h3> -<p> Tries to convert the variant to hold a <a href="ntqpalette.html">TQPalette</a> value. If that is +<p> Tries to convert the variant to hold a <a href="tqpalette.html">TQPalette</a> value. If that is not possible the variant is set to a palette of black colors. <p> Returns a reference to the stored palette. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn><a href="ntqpen.html">TQPen</a> & <a name="asPen"></a>TQVariant::asPen () +<h3 class=fn><a href="tqpen.html">TQPen</a> & <a name="asPen"></a>TQVariant::asPen () </h3> -<p> Tries to convert the variant to hold a <a href="ntqpen.html">TQPen</a> value. If that +<p> Tries to convert the variant to hold a <a href="tqpen.html">TQPen</a> value. If that is not possible then the variant is set to an empty pen. <p> Returns a reference to the stored pen. <p> <p>See also <a href="#toPen">toPen</a>(). -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> & <a name="asPixmap"></a>TQVariant::asPixmap () +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> & <a name="asPixmap"></a>TQVariant::asPixmap () </h3> <p> Tries to convert the variant to hold a pixmap value. If that is @@ -640,7 +640,7 @@ not possible the variant is set to a null pixmap. <p> Returns a reference to the stored pixmap. <p> <p>See also <a href="#toPixmap">toPixmap</a>(). -<h3 class=fn><a href="ntqpoint.html">TQPoint</a> & <a name="asPoint"></a>TQVariant::asPoint () +<h3 class=fn><a href="tqpoint.html">TQPoint</a> & <a name="asPoint"></a>TQVariant::asPoint () </h3> <p> Tries to convert the variant to hold a point value. If that is not @@ -648,15 +648,15 @@ possible the variant is set to a (0, 0) point. <p> Returns a reference to the stored point. <p> <p>See also <a href="#toPoint">toPoint</a>(). -<h3 class=fn><a href="ntqpointarray.html">TQPointArray</a> & <a name="asPointArray"></a>TQVariant::asPointArray () +<h3 class=fn><a href="tqpointarray.html">TQPointArray</a> & <a name="asPointArray"></a>TQVariant::asPointArray () </h3> -<p> Tries to convert the variant to hold a <a href="ntqpointarray.html">TQPointArray</a> value. If that +<p> Tries to convert the variant to hold a <a href="tqpointarray.html">TQPointArray</a> value. If that is not possible the variant is set to an empty point array. <p> Returns a reference to the stored point array. <p> <p>See also <a href="#toPointArray">toPointArray</a>(). -<h3 class=fn><a href="ntqrect.html">TQRect</a> & <a name="asRect"></a>TQVariant::asRect () +<h3 class=fn><a href="tqrect.html">TQRect</a> & <a name="asRect"></a>TQVariant::asRect () </h3> <p> Tries to convert the variant to hold a rectangle value. If that is @@ -664,10 +664,10 @@ not possible the variant is set to an empty rectangle. <p> Returns a reference to the stored rectangle. <p> <p>See also <a href="#toRect">toRect</a>(). -<h3 class=fn><a href="ntqregion.html">TQRegion</a> & <a name="asRegion"></a>TQVariant::asRegion () +<h3 class=fn><a href="tqregion.html">TQRegion</a> & <a name="asRegion"></a>TQVariant::asRegion () </h3> -<p> Tries to convert the variant to hold a <a href="ntqregion.html">TQRegion</a> value. If that is +<p> Tries to convert the variant to hold a <a href="tqregion.html">TQRegion</a> value. If that is not possible the variant is set to a null region. <p> Returns a reference to the stored region. <p> <p>See also <a href="#toRegion">toRegion</a>(). @@ -1014,45 +1014,45 @@ over a copy, e.g. <p> <p>See also <a href="#asMap">asMap</a>(). -<h3 class=fn>const <a href="ntqpalette.html">TQPalette</a> <a name="toPalette"></a>TQVariant::toPalette () const +<h3 class=fn>const <a href="tqpalette.html">TQPalette</a> <a name="toPalette"></a>TQVariant::toPalette () const </h3> -Returns the variant as a <a href="ntqpalette.html">TQPalette</a> if the variant has <a href="#type">type</a>() +Returns the variant as a <a href="tqpalette.html">TQPalette</a> if the variant has <a href="#type">type</a>() Palette; otherwise returns a completely black palette. <p> <p>See also <a href="#asPalette">asPalette</a>(). -<h3 class=fn>const <a href="ntqpen.html">TQPen</a> <a name="toPen"></a>TQVariant::toPen () const +<h3 class=fn>const <a href="tqpen.html">TQPen</a> <a name="toPen"></a>TQVariant::toPen () const </h3> -Returns the variant as a <a href="ntqpen.html">TQPen</a> if the variant has <a href="#type">type</a>() +Returns the variant as a <a href="tqpen.html">TQPen</a> if the variant has <a href="#type">type</a>() Pen; otherwise returns an empty TQPen. <p> <p>See also <a href="#asPen">asPen</a>(). -<h3 class=fn>const <a href="ntqpixmap.html">TQPixmap</a> <a name="toPixmap"></a>TQVariant::toPixmap () const +<h3 class=fn>const <a href="tqpixmap.html">TQPixmap</a> <a name="toPixmap"></a>TQVariant::toPixmap () const </h3> -Returns the variant as a <a href="ntqpixmap.html">TQPixmap</a> if the variant has <a href="#type">type</a>() Pixmap; +Returns the variant as a <a href="tqpixmap.html">TQPixmap</a> if the variant has <a href="#type">type</a>() Pixmap; otherwise returns a null pixmap. <p> <p>See also <a href="#asPixmap">asPixmap</a>(). -<h3 class=fn>const <a href="ntqpoint.html">TQPoint</a> <a name="toPoint"></a>TQVariant::toPoint () const +<h3 class=fn>const <a href="tqpoint.html">TQPoint</a> <a name="toPoint"></a>TQVariant::toPoint () const </h3> -Returns the variant as a <a href="ntqpoint.html">TQPoint</a> if the variant has <a href="#type">type</a>() Point; +Returns the variant as a <a href="tqpoint.html">TQPoint</a> if the variant has <a href="#type">type</a>() Point; otherwise returns a point (0, 0). <p> <p>See also <a href="#asPoint">asPoint</a>(). -<h3 class=fn>const <a href="ntqpointarray.html">TQPointArray</a> <a name="toPointArray"></a>TQVariant::toPointArray () const +<h3 class=fn>const <a href="tqpointarray.html">TQPointArray</a> <a name="toPointArray"></a>TQVariant::toPointArray () const </h3> -Returns the variant as a <a href="ntqpointarray.html">TQPointArray</a> if the variant has <a href="#type">type</a>() +Returns the variant as a <a href="tqpointarray.html">TQPointArray</a> if the variant has <a href="#type">type</a>() PointArray; otherwise returns an empty TQPointArray. <p> <p>See also <a href="#asPointArray">asPointArray</a>(). -<h3 class=fn>const <a href="ntqrect.html">TQRect</a> <a name="toRect"></a>TQVariant::toRect () const +<h3 class=fn>const <a href="tqrect.html">TQRect</a> <a name="toRect"></a>TQVariant::toRect () const </h3> -Returns the variant as a <a href="ntqrect.html">TQRect</a> if the variant has <a href="#type">type</a>() Rect; +Returns the variant as a <a href="tqrect.html">TQRect</a> if the variant has <a href="#type">type</a>() Rect; otherwise returns an empty rectangle. <p> <p>See also <a href="#asRect">asRect</a>(). -<h3 class=fn>const <a href="ntqregion.html">TQRegion</a> <a name="toRegion"></a>TQVariant::toRegion () const +<h3 class=fn>const <a href="tqregion.html">TQRegion</a> <a name="toRegion"></a>TQVariant::toRegion () const </h3> -Returns the variant as a <a href="ntqregion.html">TQRegion</a> if the variant has <a href="#type">type</a>() Region; +Returns the variant as a <a href="tqregion.html">TQRegion</a> if the variant has <a href="#type">type</a>() Region; otherwise returns an empty TQRegion. <p> <p>See also <a href="#asRegion">asRegion</a>(). |