diff options
Diffstat (limited to 'doc/html/qlistviewitemiterator.html')
-rw-r--r-- | doc/html/qlistviewitemiterator.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qlistviewitemiterator.html b/doc/html/qlistviewitemiterator.html index 907797f9e..cc82a4750 100644 --- a/doc/html/qlistviewitemiterator.html +++ b/doc/html/qlistviewitemiterator.html @@ -72,21 +72,21 @@ 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="ntqptrlist.html">TQPtrList</a><TQListViewItem> lst; + <a href="tqptrlist.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="ntqptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); + lst.<a href="tqptrlist.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="ntqptrlist.html">TQPtrList</a><TQListViewItem> lst; + <a href="tqptrlist.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="ntqptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); + lst.<a href="tqptrlist.html#append">append</a>( it.<a href="#current">current</a>() ); ++it; } </pre> |