summaryrefslogtreecommitdiffstats
path: root/doc/qdict.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/qdict.doc')
-rw-r--r--doc/qdict.doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/qdict.doc b/doc/qdict.doc
index 315db4107..aa7f5cec5 100644
--- a/doc/qdict.doc
+++ b/doc/qdict.doc
@@ -157,7 +157,7 @@
styleAccel = "&" + styleAccel;
letterDict.insert(styleAccel.left(1), (const int *)1);
}
- (void) new QAction( styleName, TQIconSet(), styleAccel, parent );
+ (void) new TQAction( styleName, TQIconSet(), styleAccel, parent );
}
\endcode
In the example we are using the dictionary to provide fast random
@@ -179,7 +179,7 @@
letter the style will simply have no accelerator. If the first
letter of the style name is not in the dictionary we use it for
the accelerator and add it to the dictionary. Finally we create a
- QAction for each style.
+ TQAction for each style.
\sa QDictIterator, QAsciiDict, QIntDict, TQPtrDict
*/