diff options
Diffstat (limited to 'doc/html/moc.html')
-rw-r--r-- | doc/html/moc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/moc.html b/doc/html/moc.html index 322c570e7..ad5bdd955 100644 --- a/doc/html/moc.html +++ b/doc/html/moc.html @@ -40,14 +40,14 @@ handles TQt's <a href="metaobjects.html">C++ extensions.</a> declarations that contain the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro, it produces another C++ source file which contains the <a href="metaobjects.html#meta-object">meta object</a> code for the classes that use the Q_OBJECT macro. Among other things, meta object code is -retquired for the signal/slot mechanism, runtime type information and +required for the signal/slot mechanism, runtime type information and the dynamic property system. <p> The C++ source file generated by the moc must be compiled and linked with the implementation of the class (or it can be #included into the class's source file). <p> If you use <a href="qmake-manual.html">qmake</a> to create your Makefiles, build rules will be included that call the moc when -retquired, so you will not need to use the moc directly. For more +required, so you will not need to use the moc directly. For more background information on moc, see <a href="templates.html">Why doesn't TQt use templates for signals and slots?</a>. <p> <h2> Usage @@ -265,7 +265,7 @@ templates cannot have signals or slots. Here is an example: <p> Less importantly, the following constructs are illegal. All of them have alternatives which we think are usually better, so removing these limitations is not a high priority for us. -<p> <h3> Multiple inheritance retquires <a href="qobject.html">TQObject</a> to be first +<p> <h3> Multiple inheritance requires <a href="qobject.html">TQObject</a> to be first </h3> <a name="5-1"></a><p> If you are using multiple inheritance, moc assumes that the <em>first</em> inherited class is a subclass of TQObject. Also, be sure that <em>only</em> |