summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdictiterator.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-07 14:56:09 +0900
committerMichele Calgaro <[email protected]>2024-07-07 14:56:09 +0900
commit87d29563e3ccdeb7fea0197e262e667ef323ff9c (patch)
tree2d674f204c5205ca577a782e1b50583afd563972 /doc/man/man3/tqdictiterator.3qt
parent628b0bb74c3fc327efff8add9c73ada04b1cbea2 (diff)
downloadtqt3-87d29563e3ccdeb7fea0197e262e667ef323ff9c.tar.gz
tqt3-87d29563e3ccdeb7fea0197e262e667ef323ff9c.zip
Rename utility class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqdictiterator.3qt')
-rw-r--r--doc/man/man3/tqdictiterator.3qt44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/man/man3/tqdictiterator.3qt b/doc/man/man3/tqdictiterator.3qt
index 78a7fc768..e222a3a9d 100644
--- a/doc/man/man3/tqdictiterator.3qt
+++ b/doc/man/man3/tqdictiterator.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QDictIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQDictIterator 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,17 +7,17 @@
.ad l
.nh
.SH NAME
-QDictIterator \- Iterator for QDict collections
+TQDictIterator \- Iterator for TQDict collections
.SH SYNOPSIS
-\fC#include <ntqdict.h>\fR
+\fC#include <tqdict.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQDictIterator\fR ( const QDict<type> & dict )"
+.BI "\fBTQDictIterator\fR ( const TQDict<type> & dict )"
.br
.ti -1c
-.BI "\fB~QDictIterator\fR ()"
+.BI "\fB~TQDictIterator\fR ()"
.br
.ti -1c
.BI "uint \fBcount\fR () const"
@@ -45,19 +45,19 @@ QDictIterator \- Iterator for QDict collections
.br
.in -1c
.SH DESCRIPTION
-The QDictIterator class provides an iterator for QDict collections.
+The TQDictIterator class provides an iterator for TQDict collections.
.PP
-QDictIterator is implemented as a template class. Define a template instance QDictIterator<X> to create a dictionary iterator that operates on QDict<X> (dictionary of X*).
+TQDictIterator is implemented as a template class. Define a template instance TQDictIterator<X> to create a dictionary iterator that operates on TQDict<X> (dictionary of X*).
.PP
The traversal order is arbitrary; when we speak of the "first"," last" and "next" item we are talking in terms of this arbitrary order.
.PP
-Multiple iterators may independently traverse the same dictionary. A QDict knows about all the iterators that are operating on the dictionary. When an item is removed from the dictionary, QDict updates all iterators that are referring to the removed item to point to the next item in the (arbitrary) traversal order.
+Multiple iterators may independently traverse the same dictionary. A TQDict knows about all the iterators that are operating on the dictionary. When an item is removed from the dictionary, TQDict updates all iterators that are referring to the removed item to point to the next item in the (arbitrary) traversal order.
.PP
Example:
.PP
.nf
.br
- QDict<QLineEdit> fields;
+ TQDict<QLineEdit> fields;
.br
fields.insert( "forename", new QLineEdit( this ) );
.br
@@ -73,7 +73,7 @@ Example:
fields["age"]->setText( "45" );
.br
.br
- QDictIterator<QLineEdit> it( fields );
+ TQDictIterator<QLineEdit> it( fields );
.br
for( ; it.current(); ++it )
.br
@@ -93,42 +93,42 @@ Example:
.fi
In the example we insert some pointers to line edits into a dictionary, then iterate over the dictionary printing the strings associated with the line edits.
.PP
-See also QDict, Collection Classes, and Non-GUI Classes.
+See also TQDict, Collection Classes, and Non-GUI Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QDictIterator::QDictIterator ( const QDict<type> & dict )"
+.SH "TQDictIterator::TQDictIterator ( const TQDict<type> & dict )"
Constructs an iterator for \fIdict\fR. The current iterator item is set to point to the first item in the dictionary, \fIdict\fR. First in this context means first in the arbitrary traversal order.
-.SH "QDictIterator::~QDictIterator ()"
+.SH "TQDictIterator::~TQDictIterator ()"
Destroys the iterator.
-.SH "uint QDictIterator::count () const"
+.SH "uint TQDictIterator::count () const"
Returns the number of items in the dictionary over which the iterator is operating.
.PP
See also isEmpty().
-.SH "type * QDictIterator::current () const"
+.SH "type * TQDictIterator::current () const"
Returns a pointer to the current iterator item's value.
-.SH "TQString QDictIterator::currentKey () const"
+.SH "TQString TQDictIterator::currentKey () const"
Returns the current iterator item's key.
-.SH "bool QDictIterator::isEmpty () const"
+.SH "bool TQDictIterator::isEmpty () const"
Returns TRUE if the dictionary is empty, i.e. count() == 0; otherwise returns FALSE.
.PP
See also count().
-.SH "QDictIterator::operator type * () const"
+.SH "TQDictIterator::operator type * () const"
Cast operator. Returns a pointer to the current iterator item. Same as current().
-.SH "type * QDictIterator::operator() ()"
+.SH "type * TQDictIterator::operator() ()"
Makes the next item current and returns the original current item.
.PP
If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned.
-.SH "type * QDictIterator::operator++ ()"
+.SH "type * TQDictIterator::operator++ ()"
Prefix ++ makes the next item current and returns the new current item.
.PP
If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned.
-.SH "type * QDictIterator::toFirst ()"
+.SH "type * TQDictIterator::toFirst ()"
Resets the iterator, making the first item the first current item. First in this context means first in the arbitrary traversal order. Returns a pointer to this item.
.PP
If the dictionary is empty it sets the current item to 0 and
returns 0.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qdictiterator.html
+.BR http://doc.trolltech.com/tqdictiterator.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the