summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqobject.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqobject.html')
-rw-r--r--doc/html/ntqobject.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqobject.html b/doc/html/ntqobject.html
index 2adf28d9..a146ae64 100644
--- a/doc/html/ntqobject.html
+++ b/doc/html/ntqobject.html
@@ -147,7 +147,7 @@ details. A convenience handler, <a href="#childEvent">childEvent</a>(), can be r
to catch child events.
<p> Last but not least, TQObject provides the basic timer support in
TQt; see <a href="ntqtimer.html">TQTimer</a> for high-level support for timers.
-<p> Notice that the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro is mandatory for any object that
+<p> Notice that the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro is mandatory for any object that
implements signals, slots or properties. You also need to run the
<a href="moc.html">moc program (Meta Object Compiler)</a> on the
source file. We strongly recommend the use of this macro in <em>all</em>
@@ -270,7 +270,7 @@ in the list.
<p> This function is generated by the <a href="metaobjects.html">Meta
Object Compiler.</a>
<p> <b>Warning:</b> This function will return the wrong name if the class
-definition lacks the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro.
+definition lacks the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro.
<p> <p>See also <a href="#name-prop">name</a>, <a href="#inherits">inherits</a>(), <a href="#isA">isA</a>(), and <a href="#isWidgetType">isWidgetType</a>().
<p>Example: <a href="sql.html#x2235">sql/overview/custom1/main.cpp</a>.
@@ -298,7 +298,7 @@ label, SLOT(setNum(int v)) );
<p> <pre>
class MyWidget : public <a href="ntqwidget.html">TQWidget</a>
{
- <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
+ <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
MyWidget();
@@ -684,7 +684,7 @@ by you, which is often not what you want. We recommend using a
<p> Returns a pointer to the <a href="metaobjects.html#meta-object">meta object</a> of this object.
<p> A meta object contains information about a class that inherits
TQObject, e.g. class name, superclass name, properties, signals and
-slots. Every class that contains the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro will also have
+slots. Every class that contains the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro will also have
a meta object.
<p> The meta object information is required by the signal/slot
connection mechanism and the property system. The functions <a href="#isA">isA</a>()
@@ -841,7 +841,7 @@ used to find out which timer was activated.
<pre>
class MyObject : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyObject( TQObject *parent = 0, const char *name = 0 );
@@ -887,7 +887,7 @@ functionality, and also more general information about timers.
<p> Returns a translated version of <em>sourceText</em>, or <em>sourceText</em>
itself if there is no appropriate translated version. The
translation context is TQObject with <em>comment</em> (0 by default).
-All TQObject subclasses using the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro automatically have
+All TQObject subclasses using the <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> macro automatically have
a reimplementation of this function with the subclass name as
context.
<p> <b>Warning:</b> This method is reentrant only if all translators are