summaryrefslogtreecommitdiffstats
path: root/doc/moc.doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-08-12 22:02:11 +0900
committerMichele Calgaro <[email protected]>2024-08-12 22:02:11 +0900
commit42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch)
tree0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/moc.doc
parentfef846914f8db6dc117e206ef913d519bf6bb33e (diff)
downloadtqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz
tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
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?