summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlistviewitemiterator.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqlistviewitemiterator.3qt')
-rw-r--r--doc/man/man3/tqlistviewitemiterator.3qt142
1 files changed, 71 insertions, 71 deletions
diff --git a/doc/man/man3/tqlistviewitemiterator.3qt b/doc/man/man3/tqlistviewitemiterator.3qt
index 473df9747..f29852d5e 100644
--- a/doc/man/man3/tqlistviewitemiterator.3qt
+++ b/doc/man/man3/tqlistviewitemiterator.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QListViewItemIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQListViewItemIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QListViewItemIterator \- Iterator for collections of QListViewItems
+TQListViewItemIterator \- Iterator for collections of TQListViewItems
.SH SYNOPSIS
-\fC#include <ntqlistview.h>\fR
+\fC#include <tqlistview.h>\fR
.PP
.SS "Public Members"
.in +1c
@@ -17,68 +17,68 @@ QListViewItemIterator \- Iterator for collections of QListViewItems
.BI "enum \fBIteratorFlag\fR { Visible = 0x00000001, Invisible = 0x00000002, Selected = 0x00000004, Unselected = 0x00000008, Selectable = 0x00000010, NotSelectable = 0x00000020, DragEnabled = 0x00000040, DragDisabled = 0x00000080, DropEnabled = 0x00000100, DropDisabled = 0x00000200, Expandable = 0x00000400, NotExpandable = 0x00000800, Checked = 0x00001000, NotChecked = 0x00002000 }"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ()"
+.BI "\fBTQListViewItemIterator\fR ()"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ( QListViewItem * item )"
+.BI "\fBTQListViewItemIterator\fR ( TQListViewItem * item )"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ( QListViewItem * item, int iteratorFlags )"
+.BI "\fBTQListViewItemIterator\fR ( TQListViewItem * item, int iteratorFlags )"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ( const QListViewItemIterator & it )"
+.BI "\fBTQListViewItemIterator\fR ( const TQListViewItemIterator & it )"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ( QListView * lv )"
+.BI "\fBTQListViewItemIterator\fR ( TQListView * lv )"
.br
.ti -1c
-.BI "\fBQListViewItemIterator\fR ( QListView * lv, int iteratorFlags )"
+.BI "\fBTQListViewItemIterator\fR ( TQListView * lv, int iteratorFlags )"
.br
.ti -1c
-.BI "QListViewItemIterator & \fBoperator=\fR ( const QListViewItemIterator & it )"
+.BI "TQListViewItemIterator & \fBoperator=\fR ( const TQListViewItemIterator & it )"
.br
.ti -1c
-.BI "\fB~QListViewItemIterator\fR ()"
+.BI "\fB~TQListViewItemIterator\fR ()"
.br
.ti -1c
-.BI "QListViewItemIterator & \fBoperator++\fR ()"
+.BI "TQListViewItemIterator & \fBoperator++\fR ()"
.br
.ti -1c
-.BI "const QListViewItemIterator \fBoperator++\fR ( int )"
+.BI "const TQListViewItemIterator \fBoperator++\fR ( int )"
.br
.ti -1c
-.BI "QListViewItemIterator & \fBoperator+=\fR ( int j )"
+.BI "TQListViewItemIterator & \fBoperator+=\fR ( int j )"
.br
.ti -1c
-.BI "QListViewItemIterator & \fBoperator--\fR ()"
+.BI "TQListViewItemIterator & \fBoperator--\fR ()"
.br
.ti -1c
-.BI "const QListViewItemIterator \fBoperator--\fR ( int )"
+.BI "const TQListViewItemIterator \fBoperator--\fR ( int )"
.br
.ti -1c
-.BI "QListViewItemIterator & \fBoperator-=\fR ( int j )"
+.BI "TQListViewItemIterator & \fBoperator-=\fR ( int j )"
.br
.ti -1c
-.BI "QListViewItem * \fBoperator*\fR ()"
+.BI "TQListViewItem * \fBoperator*\fR ()"
.br
.ti -1c
-.BI "QListViewItem * \fBcurrent\fR () const"
+.BI "TQListViewItem * \fBcurrent\fR () const"
.br
.in -1c
.SH DESCRIPTION
-The QListViewItemIterator class provides an iterator for collections of QListViewItems.
+The TQListViewItemIterator class provides an iterator for collections of TQListViewItems.
.PP
-Construct an instance of a QListViewItemIterator, with either a QListView* or a QListViewItem* as argument, to operate on the tree of QListViewItems, starting from the argument.
+Construct an instance of a TQListViewItemIterator, with either a TQListView* or a TQListViewItem* as argument, to operate on the tree of TQListViewItems, starting from the argument.
.PP
-A QListViewItemIterator iterates over all the items from its starting point. This means that it always makes the first child of the current item the new current item. If there is no child, the next sibling becomes the new current item; and if there is no next sibling, the next sibling of the parent becomes current.
+A TQListViewItemIterator iterates over all the items from its starting point. This means that it always makes the first child of the current item the new current item. If there is no child, the next sibling becomes the new current item; and if there is no next sibling, the next sibling of the parent becomes current.
.PP
The following example creates a list of all the items that have been selected by the user, storing pointers to the items in a TQPtrList:
.PP
.nf
.br
- TQPtrList<QListViewItem> lst;
+ TQPtrList<TQListViewItem> lst;
.br
- QListViewItemIterator it( myListView );
+ TQListViewItemIterator it( myListView );
.br
while ( it.current() ) {
.br
@@ -96,9 +96,9 @@ An alternative approach is to use an IteratorFlag:
.PP
.nf
.br
- TQPtrList<QListViewItem> lst;
+ TQPtrList<TQListViewItem> lst;
.br
- QListViewItemIterator it( myListView, QListViewItemIterator::Selected );
+ TQListViewItemIterator it( myListView, TQListViewItemIterator::Selected );
.br
while ( it.current() ) {
.br
@@ -110,90 +110,90 @@ An alternative approach is to use an IteratorFlag:
.br
.fi
.PP
-A QListViewItemIterator provides a convenient and easy way to traverse a hierarchical QListView.
+A TQListViewItemIterator provides a convenient and easy way to traverse a hierarchical TQListView.
.PP
-Multiple QListViewItemIterators can operate on the tree of QListViewItems. A QListView knows about all iterators operating on its QListViewItems. So when a QListViewItem gets removed all 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.
+Multiple TQListViewItemIterators can operate on the tree of TQListViewItems. A TQListView knows about all iterators operating on its TQListViewItems. So when a TQListViewItem gets removed all 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.
.PP
-See also QListView, QListViewItem, and Advanced Widgets.
+See also TQListView, TQListViewItem, and Advanced Widgets.
.SS "Member Type Documentation"
-.SH "QListViewItemIterator::IteratorFlag"
-These flags can be passed to a QListViewItemIterator constructor (OR-ed together if more than one is used), so that the iterator will only iterate over items that match the given flags.
+.SH "TQListViewItemIterator::IteratorFlag"
+These flags can be passed to a TQListViewItemIterator constructor (OR-ed together if more than one is used), so that the iterator will only iterate over items that match the given flags.
.TP
-\fCQListViewItemIterator::Visible\fR
+\fCTQListViewItemIterator::Visible\fR
.TP
-\fCQListViewItemIterator::Invisible\fR
+\fCTQListViewItemIterator::Invisible\fR
.TP
-\fCQListViewItemIterator::Selected\fR
+\fCTQListViewItemIterator::Selected\fR
.TP
-\fCQListViewItemIterator::Unselected\fR
+\fCTQListViewItemIterator::Unselected\fR
.TP
-\fCQListViewItemIterator::Selectable\fR
+\fCTQListViewItemIterator::Selectable\fR
.TP
-\fCQListViewItemIterator::NotSelectable\fR
+\fCTQListViewItemIterator::NotSelectable\fR
.TP
-\fCQListViewItemIterator::DragEnabled\fR
+\fCTQListViewItemIterator::DragEnabled\fR
.TP
-\fCQListViewItemIterator::DragDisabled\fR
+\fCTQListViewItemIterator::DragDisabled\fR
.TP
-\fCQListViewItemIterator::DropEnabled\fR
+\fCTQListViewItemIterator::DropEnabled\fR
.TP
-\fCQListViewItemIterator::DropDisabled\fR
+\fCTQListViewItemIterator::DropDisabled\fR
.TP
-\fCQListViewItemIterator::Expandable\fR
+\fCTQListViewItemIterator::Expandable\fR
.TP
-\fCQListViewItemIterator::NotExpandable\fR
+\fCTQListViewItemIterator::NotExpandable\fR
.TP
-\fCQListViewItemIterator::Checked\fR
+\fCTQListViewItemIterator::Checked\fR
.TP
-\fCQListViewItemIterator::NotChecked\fR
+\fCTQListViewItemIterator::NotChecked\fR
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QListViewItemIterator::QListViewItemIterator ()"
+.SH "TQListViewItemIterator::TQListViewItemIterator ()"
Constructs an empty iterator.
-.SH "QListViewItemIterator::QListViewItemIterator ( QListViewItem * item )"
-Constructs an iterator for the QListView that contains the \fIitem\fR. The current iterator item is set to point to the \fIitem\fR.
-.SH "QListViewItemIterator::QListViewItemIterator ( QListViewItem * item, int iteratorFlags )"
-Constructs an iterator for the QListView that contains the \fIitem\fR using the flags \fIiteratorFlags\fR. The current iterator item is set to point to \fIitem\fR or the next matching item if \fIitem\fR doesn't match the flags.
+.SH "TQListViewItemIterator::TQListViewItemIterator ( TQListViewItem * item )"
+Constructs an iterator for the TQListView that contains the \fIitem\fR. The current iterator item is set to point to the \fIitem\fR.
+.SH "TQListViewItemIterator::TQListViewItemIterator ( TQListViewItem * item, int iteratorFlags )"
+Constructs an iterator for the TQListView that contains the \fIitem\fR using the flags \fIiteratorFlags\fR. The current iterator item is set to point to \fIitem\fR or the next matching item if \fIitem\fR doesn't match the flags.
.PP
-See also QListViewItemIterator::IteratorFlag.
-.SH "QListViewItemIterator::QListViewItemIterator ( const QListViewItemIterator & it )"
-Constructs an iterator for the same QListView as \fIit\fR. The current iterator item is set to point on the current item of \fIit\fR.
-.SH "QListViewItemIterator::QListViewItemIterator ( QListView * lv )"
-Constructs an iterator for the QListView \fIlv\fR. The current iterator item is set to point on the first child (QListViewItem) of \fIlv\fR.
-.SH "QListViewItemIterator::QListViewItemIterator ( QListView * lv, int iteratorFlags )"
-Constructs an iterator for the QListView \fIlv\fR with the flags \fIiteratorFlags\fR. The current iterator item is set to point on the first child (QListViewItem) of \fIlv\fR that matches the flags.
+See also TQListViewItemIterator::IteratorFlag.
+.SH "TQListViewItemIterator::TQListViewItemIterator ( const TQListViewItemIterator & it )"
+Constructs an iterator for the same TQListView as \fIit\fR. The current iterator item is set to point on the current item of \fIit\fR.
+.SH "TQListViewItemIterator::TQListViewItemIterator ( TQListView * lv )"
+Constructs an iterator for the TQListView \fIlv\fR. The current iterator item is set to point on the first child (TQListViewItem) of \fIlv\fR.
+.SH "TQListViewItemIterator::TQListViewItemIterator ( TQListView * lv, int iteratorFlags )"
+Constructs an iterator for the TQListView \fIlv\fR with the flags \fIiteratorFlags\fR. The current iterator item is set to point on the first child (TQListViewItem) of \fIlv\fR that matches the flags.
.PP
-See also QListViewItemIterator::IteratorFlag.
-.SH "QListViewItemIterator::~QListViewItemIterator ()"
+See also TQListViewItemIterator::IteratorFlag.
+.SH "TQListViewItemIterator::~TQListViewItemIterator ()"
Destroys the iterator.
-.SH "QListViewItem * QListViewItemIterator::current () const"
+.SH "TQListViewItem * TQListViewItemIterator::current () const"
Returns iterator's current item.
.PP
Examples:
.)l addressbook/centralwidget.cpp, checklists/checklists.cpp, and dirview/dirview.cpp.
-.SH "QListViewItem * QListViewItemIterator::operator* ()"
+.SH "TQListViewItem * TQListViewItemIterator::operator* ()"
Dereference operator. Returns a reference to the current item. The same as current().
-.SH "QListViewItemIterator & QListViewItemIterator::operator++ ()"
-Prefix ++. Makes the next item the new current item and returns it. Returns 0 if the current item is the last item or the QListView is 0.
-.SH "const QListViewItemIterator QListViewItemIterator::operator++ ( int )"
+.SH "TQListViewItemIterator & TQListViewItemIterator::operator++ ()"
+Prefix ++. Makes the next item the new current item and returns it. Returns 0 if the current item is the last item or the TQListView is 0.
+.SH "const TQListViewItemIterator TQListViewItemIterator::operator++ ( int )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Postfix ++. Makes the next item the new current item and returns the item that \fIwas\fR the current item.
-.SH "QListViewItemIterator & QListViewItemIterator::operator+= ( int j )"
+.SH "TQListViewItemIterator & TQListViewItemIterator::operator+= ( int j )"
Sets the current item to the item \fIj\fR positions after the current item. If that item is beyond the last item, the current item is set to 0. Returns the current item.
-.SH "QListViewItemIterator & QListViewItemIterator::operator-- ()"
-Prefix --. Makes the previous item the new current item and returns it. Returns 0 if the current item is the first item or the QListView is 0.
-.SH "const QListViewItemIterator QListViewItemIterator::operator-- ( int )"
+.SH "TQListViewItemIterator & TQListViewItemIterator::operator-- ()"
+Prefix --. Makes the previous item the new current item and returns it. Returns 0 if the current item is the first item or the TQListView is 0.
+.SH "const TQListViewItemIterator TQListViewItemIterator::operator-- ( int )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Postfix --. Makes the previous item the new current item and returns the item that \fIwas\fR the current item.
-.SH "QListViewItemIterator & QListViewItemIterator::operator-= ( int j )"
+.SH "TQListViewItemIterator & TQListViewItemIterator::operator-= ( int j )"
Sets the current item to the item \fIj\fR positions before the current item. If that item is before the first item, the current item is set to 0. Returns the current item.
-.SH "QListViewItemIterator & QListViewItemIterator::operator= ( const QListViewItemIterator & it )"
+.SH "TQListViewItemIterator & TQListViewItemIterator::operator= ( const TQListViewItemIterator & it )"
Assignment. Makes a copy of \fIit\fR and returns a reference to its
iterator.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qlistviewitemiterator.html
+.BR http://doc.trolltech.com/tqlistviewitemiterator.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the