summaryrefslogtreecommitdiffstats
path: root/doc/signalsandslots.doc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/signalsandslots.doc
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
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