summaryrefslogtreecommitdiffstats
path: root/doc/moc.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/moc.doc')
-rw-r--r--doc/moc.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/moc.doc b/doc/moc.doc
index e0385dcc1..27f11d2d7 100644
--- a/doc/moc.doc
+++ b/doc/moc.doc
@@ -305,7 +305,7 @@ The moc does not handle all of C++. The main problem is that class
templates cannot have signals or slots. Here is an example:
\code
- class SomeTemplate<int> : public QFrame {
+ class SomeTemplate<int> : public TQFrame {
TQ_OBJECT
...
signals:
@@ -387,15 +387,15 @@ public status is not extended to cover signals and slots. Here is an
illegal example:
\code
- class Whatever : public QButtonGroup {
+ class Whatever : public TQButtonGroup {
...
public slots:
- QButtonGroup::buttonPressed; // WRONG
+ TQButtonGroup::buttonPressed; // WRONG
...
};
\endcode
-The QButtonGroup::buttonPressed() slot is protected.
+The TQButtonGroup::buttonPressed() slot is protected.
C++ quiz: What happens if you try to upgrade a protected member
function which is overloaded?