summaryrefslogtreecommitdiffstats
path: root/doc/qdict.doc
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/qdict.doc
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/qdict.doc')
-rw-r--r--doc/qdict.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/qdict.doc b/doc/qdict.doc
index bb80e3301..a7ebed4c5 100644
--- a/doc/qdict.doc
+++ b/doc/qdict.doc
@@ -64,8 +64,8 @@
If you want to use non-Unicode, plain 8-bit \c char* 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.
+ QAsciiDict. If you want to have a dictionary that maps TQStrings to
+ TQStrings use TQMap.
The size() of the dictionary is very important. In order to get
good performance, you should use a suitably large prime number.
@@ -139,10 +139,10 @@
Example #2:
\code
- QStringList styleList = QStyleFactory::styles();
+ TQStringList styleList = QStyleFactory::styles();
styleList.sort();
QDict<int> letterDict( 17, FALSE );
- for ( QStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) {
+ for ( TQStringList::Iterator it = styleList.begin(); it != styleList.end(); ++it ) {
TQString styleName = *it;
TQString styleAccel = styleName;
if ( letterDict[styleAccel.left(1)] ) {