From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- doc/html/metaobjects.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/metaobjects.html') 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; } -

+

TQt's Meta Object System provides the signals and slots mechanism for inter-object communication, runtime type information, and the dynamic property system.

The Meta Object System is based on three things:

  1. the TQObject class; -
  2. the Q_OBJECT macro inside the private section of the class +
  3. the TQ_OBJECT macro inside the private section of the class declaration;
  4. the Meta Object Compiler (moc).

The moc 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.

In addition to providing the signals and @@ -73,14 +73,14 @@ returns the associated meta object for the class.

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 strongly recommend that all -subclasses of TQObject use the Q_OBJECT macro regardless of whether +subclasses of TQObject use the TQ_OBJECT macro regardless of whether they actually use signals, slots and properties or not.

-- cgit v1.2.3