diff options
author | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/signalsandslots.html | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/signalsandslots.html')
-rw-r--r-- | doc/html/signalsandslots.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/signalsandslots.html b/doc/html/signalsandslots.html index 0421e7bcf..4b4059ebc 100644 --- a/doc/html/signalsandslots.html +++ b/doc/html/signalsandslots.html @@ -109,7 +109,7 @@ mechanism. <p> <pre> class Foo : public <a href="ntqobject.html">TQObject</a> { - <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> + <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: Foo(); int value() const { return val; } @@ -127,7 +127,7 @@ state, but in addition it has support for component programming using signals and slots: this class can tell the outside world that its state has changed by emitting a signal, <tt>valueChanged()</tt>, and it has a slot which other objects can send signals to. -<p> All classes that contain signals or slots must mention Q_OBJECT in +<p> All classes that contain signals or slots must mention TQ_OBJECT in their declaration. <p> Slots are implemented by the application programmer. Here is a possible implementation of Foo::setValue(): @@ -283,10 +283,10 @@ knowledge, via <a href="ntqframe.html">TQFrame</a> and <a href="ntqwidget.html"> declarations. <p> <pre> { - Q_OBJECT + TQ_OBJECT </pre> -<p> Q_OBJECT is expanded by the preprocessor to declare several member +<p> 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 TQButton::className not defined" you have probably forgotten to <a href="moc.html">run the moc</a> or to |