diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/metaobjects.html | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/metaobjects.html')
-rw-r--r-- | doc/html/metaobjects.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/metaobjects.html b/doc/html/metaobjects.html index e4e804b77..4a4ec9108 100644 --- a/doc/html/metaobjects.html +++ b/doc/html/metaobjects.html @@ -33,21 +33,21 @@ body { background: #ffffff; color: black; } -<p> <!-- index meta object --><a name="meta-object"></a><!-- index Q_OBJECT --><a name="Q_OBJECT"></a> +<p> <!-- index meta object --><a name="meta-object"></a><!-- index TQ_OBJECT --><a name="TQ_OBJECT"></a> <p> TQt's Meta Object System provides the signals and slots mechanism for inter-object communication, runtime type information, and the dynamic property system. <p> The Meta Object System is based on three things: <ol type=1> <li> the <a href="ntqobject.html">TQObject</a> class; -<li> the Q_OBJECT macro inside the private section of the class +<li> the TQ_OBJECT macro inside the private section of the class declaration; <li> the <a href="moc.html">Meta Object Compiler (moc)</a>. </ol> <p> The <em><a href="moc.html#moc">moc</a></em> reads a C++ source file. If it finds one or more class -declarations that contain the Q_OBJECT macro, it produces another C++ +declarations that contain the TQ_OBJECT macro, it produces another C++ source file which contains the meta object code for the classes that -contain the Q_OBJECT macro. This generated source file is either +contain the TQ_OBJECT macro. This generated source file is either #included into the class's source file or compiled and linked with the class's implementation. <p> In addition to providing the <a href="signalsandslots.html">signals and @@ -73,14 +73,14 @@ returns the associated <a href="ntqmetaobject.html">meta object</a> for the class. <p> </ul> <p> While it is possible to use TQObject as a base class without the -Q_OBJECT macro and without meta object code, neither signals and slots +TQ_OBJECT macro and without meta object code, neither signals and slots nor the other features described here will be available if the -Q_OBJECT macro is not used. From the meta object system's point of +TQ_OBJECT macro is not used. From the meta object system's point of view, a TQObject subclass without meta code is equivalent to its closest ancestor with meta object code. This means for example, that className() will not return the actual name of your class, but the class name of this ancestor. We <em>strongly</em> recommend that all -subclasses of <a href="ntqobject.html">TQObject</a> use the Q_OBJECT macro regardless of whether +subclasses of <a href="ntqobject.html">TQObject</a> use the TQ_OBJECT macro regardless of whether they actually use signals, slots and properties or not. <p> <!-- eof --> |