summaryrefslogtreecommitdiffstats
path: root/doc/qdict.doc
diff options
context:
space:
mode:
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)] ) {