diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qlistviewitemiterator.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qlistviewitemiterator.html')
-rw-r--r-- | doc/html/qlistviewitemiterator.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/qlistviewitemiterator.html b/doc/html/qlistviewitemiterator.html index 33c5f7427..907797f9e 100644 --- a/doc/html/qlistviewitemiterator.html +++ b/doc/html/qlistviewitemiterator.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } <p>The TQListViewItemIterator class provides an iterator for collections of TQListViewItems. <a href="#details">More...</a> -<p><tt>#include <<a href="qlistview-h.html">qlistview.h</a>></tt> +<p><tt>#include <<a href="qlistview-h.html">ntqlistview.h</a>></tt> <p><a href="qlistviewitemiterator-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; } The TQListViewItemIterator class provides an iterator for collections of TQListViewItems. <p> <p> Construct an instance of a TQListViewItemIterator, with either a -<a href="qlistview.html">TQListView</a>* or a <a href="qlistviewitem.html">TQListViewItem</a>* as argument, to operate on the tree +<a href="ntqlistview.html">TQListView</a>* or a <a href="qlistviewitem.html">TQListViewItem</a>* as argument, to operate on the tree of TQListViewItems, starting from the argument. <p> A TQListViewItemIterator iterates over all the items from its starting point. This means that it always makes the first child of @@ -72,27 +72,27 @@ sibling, the next sibling of the parent becomes current. been selected by the user, storing pointers to the items in a TQPtrList: <pre> - <a href="qptrlist.html">TQPtrList</a><TQListViewItem> lst; + <a href="ntqptrlist.html">TQPtrList</a><TQListViewItem> lst; TQListViewItemIterator it( myListView ); while ( it.<a href="#current">current</a>() ) { if ( it.<a href="#current">current</a>()->isSelected() ) - lst.<a href="qptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); + lst.<a href="ntqptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); ++it; } </pre> <p> An alternative approach is to use an <a href="#IteratorFlag-enum">IteratorFlag</a>: <pre> - <a href="qptrlist.html">TQPtrList</a><TQListViewItem> lst; + <a href="ntqptrlist.html">TQPtrList</a><TQListViewItem> lst; TQListViewItemIterator it( myListView, TQListViewItemIterator::<a href="#IteratorFlag-enum">Selected</a> ); while ( it.<a href="#current">current</a>() ) { - lst.<a href="qptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); + lst.<a href="ntqptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); ++it; } </pre> <p> A TQListViewItemIterator provides a convenient and easy way to -traverse a hierarchical <a href="qlistview.html">TQListView</a>. +traverse a hierarchical <a href="ntqlistview.html">TQListView</a>. <p> Multiple TQListViewItemIterators can operate on the tree of TQListViewItems. A TQListView knows about all iterators operating on its TQListViewItems. So when a <a href="qlistviewitem.html">TQListViewItem</a> gets removed all @@ -100,7 +100,7 @@ iterators that point to this item are updated and point to the following item if possible, otherwise to a valid item before the current one or to 0. Note however that deleting the parent item of an item that an iterator points to is not safe. -<p> <p>See also <a href="qlistview.html">TQListView</a>, <a href="qlistviewitem.html">TQListViewItem</a>, and <a href="advanced.html">Advanced Widgets</a>. +<p> <p>See also <a href="ntqlistview.html">TQListView</a>, <a href="qlistviewitem.html">TQListViewItem</a>, and <a href="advanced.html">Advanced Widgets</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="IteratorFlag-enum"></a>TQListViewItemIterator::IteratorFlag</h3> @@ -131,11 +131,11 @@ Constructs an empty iterator. <h3 class=fn><a name="TQListViewItemIterator-2"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="qlistviewitem.html">TQListViewItem</a> * item ) </h3> -Constructs an iterator for the <a href="qlistview.html">TQListView</a> that contains the <em>item</em>. The current iterator item is set to point to the <em>item</em>. +Constructs an iterator for the <a href="ntqlistview.html">TQListView</a> that contains the <em>item</em>. The current iterator item is set to point to the <em>item</em>. <h3 class=fn><a name="TQListViewItemIterator-3"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="qlistviewitem.html">TQListViewItem</a> * item, int iteratorFlags ) </h3> -Constructs an iterator for the <a href="qlistview.html">TQListView</a> that contains the <em>item</em> +Constructs an iterator for the <a href="ntqlistview.html">TQListView</a> that contains the <em>item</em> using the flags <em>iteratorFlags</em>. The current iterator item is set to point to <em>item</em> or the next matching item if <em>item</em> doesn't match the flags. @@ -143,18 +143,18 @@ match the flags. <h3 class=fn><a name="TQListViewItemIterator-4"></a>TQListViewItemIterator::TQListViewItemIterator ( const <a href="qlistviewitemiterator.html">TQListViewItemIterator</a> & it ) </h3> -Constructs an iterator for the same <a href="qlistview.html">TQListView</a> as <em>it</em>. The +Constructs an iterator for the same <a href="ntqlistview.html">TQListView</a> as <em>it</em>. The current iterator item is set to point on the current item of <em>it</em>. -<h3 class=fn><a name="TQListViewItemIterator-5"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="qlistview.html">TQListView</a> * lv ) +<h3 class=fn><a name="TQListViewItemIterator-5"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="ntqlistview.html">TQListView</a> * lv ) </h3> -Constructs an iterator for the <a href="qlistview.html">TQListView</a> <em>lv</em>. The current +Constructs an iterator for the <a href="ntqlistview.html">TQListView</a> <em>lv</em>. The current iterator item is set to point on the first child (<a href="qlistviewitem.html">TQListViewItem</a>) of <em>lv</em>. -<h3 class=fn><a name="TQListViewItemIterator-6"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="qlistview.html">TQListView</a> * lv, int iteratorFlags ) +<h3 class=fn><a name="TQListViewItemIterator-6"></a>TQListViewItemIterator::TQListViewItemIterator ( <a href="ntqlistview.html">TQListView</a> * lv, int iteratorFlags ) </h3> -Constructs an iterator for the <a href="qlistview.html">TQListView</a> <em>lv</em> with the flags <em>iteratorFlags</em>. The current iterator item is set to point on the +Constructs an iterator for the <a href="ntqlistview.html">TQListView</a> <em>lv</em> with the flags <em>iteratorFlags</em>. The current iterator item is set to point on the first child (<a href="qlistviewitem.html">TQListViewItem</a>) of <em>lv</em> that matches the flags. <p> <p>See also <a href="#IteratorFlag-enum">TQListViewItemIterator::IteratorFlag</a>. @@ -176,7 +176,7 @@ same as <a href="#current">current</a>(). </h3> Prefix ++. Makes the next item the new current item and returns it. Returns 0 if the current item is the last item or the -<a href="qlistview.html">TQListView</a> is 0. +<a href="ntqlistview.html">TQListView</a> is 0. <h3 class=fn>const <a href="qlistviewitemiterator.html">TQListViewItemIterator</a> <a name="operator++-2"></a>TQListViewItemIterator::operator++ ( int ) </h3> @@ -194,7 +194,7 @@ set to 0. Returns the current item. </h3> Prefix --. Makes the previous item the new current item and returns it. Returns 0 if the current item is the first item or the -<a href="qlistview.html">TQListView</a> is 0. +<a href="ntqlistview.html">TQListView</a> is 0. <h3 class=fn>const <a href="qlistviewitemiterator.html">TQListViewItemIterator</a> <a name="operator---2"></a>TQListViewItemIterator::operator-- ( int ) </h3> |