summaryrefslogtreecommitdiffstats
path: root/doc/signalsandslots.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/signalsandslots.doc')
-rw-r--r--doc/signalsandslots.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/signalsandslots.doc b/doc/signalsandslots.doc
index 551114893..e746f4051 100644
--- a/doc/signalsandslots.doc
+++ b/doc/signalsandslots.doc
@@ -130,7 +130,7 @@ A small Qt class might read:
\code
class Foo : public QObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Foo();
int value() const { return val; }
@@ -149,7 +149,7 @@ signals and slots: this class can tell the outside world that its state
has changed by emitting a signal, \c{valueChanged()}, and it has
a slot which other objects can send signals to.
-All classes that contain signals or slots must mention Q_OBJECT in
+All classes that contain signals or slots must mention TQ_OBJECT in
their declaration.
Slots are implemented by the application programmer.
@@ -335,10 +335,10 @@ declarations.
\code
{
- Q_OBJECT
+ TQ_OBJECT
\endcode
-Q_OBJECT is expanded by the preprocessor to declare several member
+TQ_OBJECT is expanded by the preprocessor to declare several member
functions that are implemented by the moc; if you get compiler errors
along the lines of "virtual function QButton::className not defined"
you have probably forgotten to \link moc.html run the moc\endlink or to