diff options
author | Michele Calgaro <[email protected]> | 2024-06-05 19:02:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-05 19:02:23 +0900 |
commit | 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (patch) | |
tree | d62f4174c0e58e1aa895fc71484d068b614cd6de /doc/html/ntqvariant.html | |
parent | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (diff) | |
download | tqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.tar.gz tqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.zip |
Rename template library nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/ntqvariant.html')
-rw-r--r-- | doc/html/ntqvariant.html | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 47f9b7434..7ee8ef8a3 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -222,8 +222,8 @@ return a reference to the new contents of the variant. v.<a href="#asStringList">asStringList</a>().append( "Hello" ); </pre> -<p> You can even store <a href="ntqvaluelist.html">TQValueList</a><TQVariant>s and -<a href="ntqmap.html">TQMap</a><TQString,TQVariant>s in a variant, so you can easily construct +<p> You can even store <a href="tqvaluelist.html">TQValueList</a><TQVariant>s and +<a href="tqmap.html">TQMap</a><TQString,TQVariant>s in a variant, so you can easily construct arbitrarily complex data structures of arbitrary types. This is very powerful and versatile, but may prove less memory and speed efficient than storing specific types in standard data structures. @@ -261,10 +261,10 @@ contain. <li><tt>TQVariant::Image</tt> - a <a href="ntqimage.html">TQImage</a> <li><tt>TQVariant::Int</tt> - an int <li><tt>TQVariant::KeySequence</tt> - a <a href="ntqkeysequence.html">TQKeySequence</a> -<li><tt>TQVariant::List</tt> - a <a href="ntqvaluelist.html">TQValueList</a><TQVariant> +<li><tt>TQVariant::List</tt> - a <a href="tqvaluelist.html">TQValueList</a><TQVariant> <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="ntqmap.html">TQMap</a><TQString,TQVariant> +<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> @@ -426,11 +426,11 @@ Constructs a new variant with a key sequence value, <em>val</em>. </h3> Constructs a new variant with a pen value, <em>val</em>. -<h3 class=fn><a name="TQVariant-u"></a>TQVariant::TQVariant ( const <a href="ntqvaluelist.html">TQValueList</a><TQVariant> & val ) +<h3 class=fn><a name="TQVariant-u"></a>TQVariant::TQVariant ( const <a href="tqvaluelist.html">TQValueList</a><TQVariant> & val ) </h3> Constructs a new variant with a list value, <em>val</em>. -<h3 class=fn><a name="TQVariant-v"></a>TQVariant::TQVariant ( const <a href="ntqmap.html">TQMap</a><TQString, TQVariant> & val ) +<h3 class=fn><a name="TQVariant-v"></a>TQVariant::TQVariant ( const <a href="tqmap.html">TQMap</a><TQString, TQVariant> & val ) </h3> Constructs a new variant with a map of TQVariants, <em>val</em>. @@ -583,15 +583,15 @@ is not possible then the variant is set to an empty key sequence. <p> Returns a reference to the stored key sequence. <p> <p>See also <a href="#toKeySequence">toKeySequence</a>(). -<h3 class=fn><a href="ntqvaluelist.html">TQValueList</a><TQVariant> & <a name="asList"></a>TQVariant::asList () +<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><TQVariant> & <a name="asList"></a>TQVariant::asList () </h3> Returns the variant's value as variant list reference. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqvaluelist.html">TQValueList</a><TQVariant> list = myVariant.asList(); - TQValueList<TQVariant>::Iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); - while( it != list.<a href="ntqvaluelist.html#end">end</a>() ) { + <a href="tqvaluelist.html">TQValueList</a><TQVariant> list = myVariant.asList(); + TQValueList<TQVariant>::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); + while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); ++it; } @@ -602,15 +602,15 @@ over a copy, e.g. </h3> Returns the variant's value as long long reference. -<h3 class=fn><a href="ntqmap.html">TQMap</a><TQString, TQVariant> & <a name="asMap"></a>TQVariant::asMap () +<h3 class=fn><a href="tqmap.html">TQMap</a><TQString, TQVariant> & <a name="asMap"></a>TQVariant::asMap () </h3> Returns the variant's value as variant map reference. <p> Note that if you want to iterate over the map, you should iterate over a copy, e.g. <pre> - <a href="ntqmap.html">TQMap</a><TQString, TQVariant> map = myVariant.asMap(); - TQMap<TQString, TQVariant>::Iterator it = map.<a href="ntqmap.html#begin">begin</a>(); - while( it != map.<a href="ntqmap.html#end">end</a>() ) { + <a href="tqmap.html">TQMap</a><TQString, TQVariant> map = myVariant.asMap(); + TQMap<TQString, TQVariant>::Iterator it = map.<a href="tqmap.html#begin">begin</a>(); + while( it != map.<a href="tqmap.html#end">end</a>() ) { myProcessing( *it ); ++it; } @@ -704,8 +704,8 @@ is not possible the variant is set to an empty string list. iterate over a copy, e.g. <pre> <a href="ntqstringlist.html">TQStringList</a> list = myVariant.asStringList(); - TQStringList::Iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); - while( it != list.<a href="ntqvaluelist.html#end">end</a>() ) { + TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); + while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); ++it; } @@ -783,35 +783,35 @@ Returns TRUE if this is a NULL variant, FALSE otherwise. <p> Returns TRUE if the storage type of this variant is not TQVariant::Invalid; otherwise returns FALSE. -<h3 class=fn><a href="qvaluelistconstiterator.html">TQValueListConstIterator</a><TQVariant> <a name="listBegin"></a>TQVariant::listBegin () const +<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a><TQVariant> <a name="listBegin"></a>TQVariant::listBegin () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Returns an iterator to the first item in the list if the variant's type is appropriate; otherwise returns a null iterator. -<h3 class=fn><a href="qvaluelistconstiterator.html">TQValueListConstIterator</a><TQVariant> <a name="listEnd"></a>TQVariant::listEnd () const +<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a><TQVariant> <a name="listEnd"></a>TQVariant::listEnd () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Returns the end iterator for the list if the variant's type is appropriate; otherwise returns a null iterator. -<h3 class=fn><a href="qmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapBegin"></a>TQVariant::mapBegin () const +<h3 class=fn><a href="tqmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapBegin"></a>TQVariant::mapBegin () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Returns an iterator to the first item in the map, if the variant's type is appropriate; otherwise returns a null iterator. -<h3 class=fn><a href="qmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapEnd"></a>TQVariant::mapEnd () const +<h3 class=fn><a href="tqmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapEnd"></a>TQVariant::mapEnd () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Returns the end iterator for the map, if the variant's type is appropriate; otherwise returns a null iterator. -<h3 class=fn><a href="qmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapFind"></a>TQVariant::mapFind ( const <a href="ntqstring.html">TQString</a> & key ) const +<h3 class=fn><a href="tqmapconstiterator.html">TQMapConstIterator</a><TQString, TQVariant> <a name="mapFind"></a>TQVariant::mapFind ( const <a href="ntqstring.html">TQString</a> & key ) const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -842,14 +842,14 @@ performed. Compares this TQVariant with <em>v</em> and returns TRUE if they are equal; otherwise returns FALSE. -<h3 class=fn><a href="qvaluelistconstiterator.html">TQValueListConstIterator</a><TQString> <a name="stringListBegin"></a>TQVariant::stringListBegin () const +<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a><TQString> <a name="stringListBegin"></a>TQVariant::stringListBegin () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Returns an iterator to the first string in the list if the variant's type is StringList; otherwise returns a null iterator. -<h3 class=fn><a href="qvaluelistconstiterator.html">TQValueListConstIterator</a><TQString> <a name="stringListEnd"></a>TQVariant::stringListEnd () const +<h3 class=fn><a href="tqvaluelistconstiterator.html">TQValueListConstIterator</a><TQString> <a name="stringListEnd"></a>TQVariant::stringListEnd () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -972,16 +972,16 @@ Returns the variant as a <a href="ntqkeysequence.html">TQKeySequence</a> if the to a KeySequence; otherwise returns an empty key sequence. <p> <p>See also <a href="#asKeySequence">asKeySequence</a>() and <a href="#canCast">canCast</a>(). -<h3 class=fn>const <a href="ntqvaluelist.html">TQValueList</a><TQVariant> <a name="toList"></a>TQVariant::toList () const +<h3 class=fn>const <a href="tqvaluelist.html">TQValueList</a><TQVariant> <a name="toList"></a>TQVariant::toList () const </h3> -Returns the variant as a <a href="ntqvaluelist.html">TQValueList</a><TQVariant> if the variant has +Returns the variant as a <a href="tqvaluelist.html">TQValueList</a><TQVariant> if the variant has <a href="#type">type</a>() List or StringList; otherwise returns an empty list. <p> Note that if you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqvaluelist.html">TQValueList</a><TQVariant> list = myVariant.toList(); - TQValueList<TQVariant>::Iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); - while( it != list.<a href="ntqvaluelist.html#end">end</a>() ) { + <a href="tqvaluelist.html">TQValueList</a><TQVariant> list = myVariant.toList(); + TQValueList<TQVariant>::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); + while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); ++it; } @@ -997,16 +997,16 @@ to LongLong; otherwise returns 0. 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 <a href="ntqmap.html">TQMap</a><TQString, TQVariant> <a name="toMap"></a>TQVariant::toMap () const +<h3 class=fn>const <a href="tqmap.html">TQMap</a><TQString, TQVariant> <a name="toMap"></a>TQVariant::toMap () const </h3> -Returns the variant as a <a href="ntqmap.html">TQMap</a><TQString,TQVariant> if the variant has +Returns the variant as a <a href="tqmap.html">TQMap</a><TQString,TQVariant> if the variant has <a href="#type">type</a>() Map; otherwise returns an empty map. <p> Note that if you want to iterate over the map, you should iterate over a copy, e.g. <pre> - <a href="ntqmap.html">TQMap</a><TQString, TQVariant> map = myVariant.toMap(); - TQMap<TQString, TQVariant>::Iterator it = map.<a href="ntqmap.html#begin">begin</a>(); - while( it != map.<a href="ntqmap.html#end">end</a>() ) { + <a href="tqmap.html">TQMap</a><TQString, TQVariant> map = myVariant.toMap(); + TQMap<TQString, TQVariant>::Iterator it = map.<a href="tqmap.html#begin">begin</a>(); + while( it != map.<a href="tqmap.html#end">end</a>() ) { myProcessing( *it ); ++it; } @@ -1083,8 +1083,8 @@ otherwise returns an empty list. over a copy, e.g. <pre> <a href="ntqstringlist.html">TQStringList</a> list = myVariant.toStringList(); - TQStringList::Iterator it = list.<a href="ntqvaluelist.html#begin">begin</a>(); - while( it != list.<a href="ntqvaluelist.html#end">end</a>() ) { + TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); + while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); ++it; } |