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/ntqobject.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/ntqobject.html') diff --git a/doc/html/ntqobject.html b/doc/html/ntqobject.html index 2adf28d95..a146ae64a 100644 --- a/doc/html/ntqobject.html +++ b/doc/html/ntqobject.html @@ -147,7 +147,7 @@ details. A convenience handler, childEvent(), can be r to catch child events.

Last but not least, TQObject provides the basic timer support in TQt; see TQTimer for high-level support for timers. -

Notice that the Q_OBJECT macro is mandatory for any object that +

Notice that the TQ_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the moc program (Meta Object Compiler) on the source file. We strongly recommend the use of this macro in all @@ -270,7 +270,7 @@ in the list.

This function is generated by the Meta Object Compiler.

Warning: This function will return the wrong name if the class -definition lacks the Q_OBJECT macro. +definition lacks the TQ_OBJECT macro.

See also name, inherits(), isA(), and isWidgetType().

Example: sql/overview/custom1/main.cpp. @@ -298,7 +298,7 @@ label, SLOT(setNum(int v)) );

     class MyWidget : public TQWidget
     {
-        Q_OBJECT
+        TQ_OBJECT
     public:
         MyWidget();
 
@@ -684,7 +684,7 @@ by you, which is often not what you want. We recommend using a
 

Returns a pointer to the meta object of this object.

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 Q_OBJECT macro will also have +slots. Every class that contains the TQ_OBJECT macro will also have a meta object.

The meta object information is required by the signal/slot connection mechanism and the property system. The functions isA() @@ -841,7 +841,7 @@ used to find out which timer was activated.

     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.
 

Returns a translated version of sourceText, or sourceText itself if there is no appropriate translated version. The translation context is TQObject with comment (0 by default). -All TQObject subclasses using the Q_OBJECT macro automatically have +All TQObject subclasses using the TQ_OBJECT macro automatically have a reimplementation of this function with the subclass name as context.

Warning: This method is reentrant only if all translators are -- cgit v1.2.1