summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdict.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:44:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/man/man3/tqdict.3qt
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt-e6077c30.tar.gz
tqt-e6077c30.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqdict.3qt')
-rw-r--r--doc/man/man3/tqdict.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqdict.3qt b/doc/man/man3/tqdict.3qt
index ad391b99c..c14b20f93 100644
--- a/doc/man/man3/tqdict.3qt
+++ b/doc/man/man3/tqdict.3qt
@@ -91,7 +91,7 @@ QDict is implemented as a template class. Define a template instance QDict<X> to
.PP
A dictionary is a collection of key-value pairs. The key is a TQString used for insertion, removal and lookup. The value is a pointer. Dictionaries provide very fast insertion and lookup.
.PP
-If you want to use non-Unicode, plain 8-bit \fCchar*\fR keys, use the QAsciiDict template. A QDict has the same performance as a QAsciiDict. If you want to have a dictionary that maps QStrings to QStrings use TQMap.
+If you want to use non-Unicode, plain 8-bit \fCchar*\fR keys, use the QAsciiDict template. A QDict has the same performance as a QAsciiDict. If you want to have a dictionary that maps TQStrings to TQStrings use TQMap.
.PP
The size() of the dictionary is very important. In order to get good performance, you should use a suitably large prime number. Suitable means equal to or larger than the maximum expected number of dictionary items. Size is set in the constructor but may be changed with resize().
.PP
@@ -155,13 +155,13 @@ Example #2:
.PP
.nf
.br
- QStringList styleList = QStyleFactory::styles();
+ TQStringList styleList = QStyleFactory::styles();
.br
styleList.sort();
.br
QDict<int> letterDict( 17, FALSE );
.br
- for ( QStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) {
+ for ( TQStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) {
.br
TQString styleName = *it;
.br