summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qobject.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qobject.3qt')
-rw-r--r--doc/man/man3/qobject.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/qobject.3qt b/doc/man/man3/qobject.3qt
index 8725b085..f83c0ab1 100644
--- a/doc/man/man3/qobject.3qt
+++ b/doc/man/man3/qobject.3qt
@@ -209,7 +209,7 @@ QObjects can receive events through event() and filter the events of other objec
.PP
Last but not least, QObject provides the basic timer support in Qt; see QTimer for high-level support for timers.
.PP
-Notice that the Q_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 \fIall\fR subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit undefined behaviour.
+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 \fIall\fR subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit undefined behaviour.
.PP
All Qt widgets inherit QObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than inherits( "QWidget" ).
.PP
@@ -290,7 +290,7 @@ Returns the class name of this object.
.PP
This function is generated by the Meta Object Compiler.
.PP
-\fBWarning:\fR This function will return the wrong name if the class definition lacks the Q_OBJECT macro.
+\fBWarning:\fR This function will return the wrong name if the class definition lacks the TQ_OBJECT macro.
.PP
See also name, inherits(), isA(), and isWidgetType().
.PP
@@ -322,7 +322,7 @@ A signal can also be connected to another signal:
.br
{
.br
- Q_OBJECT
+ TQ_OBJECT
.br
public:
.br
@@ -741,7 +741,7 @@ See also timerEvent(), startTimer(), and killTimer().
.SH "QMetaObject * QObject::metaObject () const\fC [virtual]\fR"
Returns a pointer to the meta object of this object.
.PP
-A meta object contains information about a class that inherits QObject, e.g. class name, superclass name, properties, signals and slots. Every class that contains the Q_OBJECT macro will also have a meta object.
+A meta object contains information about a class that inherits QObject, e.g. class name, superclass name, properties, signals and slots. Every class that contains the TQ_OBJECT macro will also have a meta object.
.PP
The meta object information is required by the signal/slot connection mechanism and the property system. The functions isA() and inherits() also make use of the meta object.
.SH "const char * QObject::name () const"
@@ -870,7 +870,7 @@ Example:
.br
{
.br
- Q_OBJECT
+ TQ_OBJECT
.br
public:
.br
@@ -924,7 +924,7 @@ See also startTimer(), killTimer(), killTimers(), and event().
Examples:
.)l biff/biff.cpp, dclock/dclock.cpp, forever/forever.cpp, grapher/grapher.cpp, qmag/qmag.cpp, and xform/xform.cpp.
.SH "QString QObject::tr ( const char * sourceText, const char * comment )\fC [static]\fR"
-Returns a translated version of \fIsourceText\fR, or \fIsourceText\fR itself if there is no appropriate translated version. The translation context is QObject with \fIcomment\fR (0 by default). All QObject subclasses using the Q_OBJECT macro automatically have a reimplementation of this function with the subclass name as context.
+Returns a translated version of \fIsourceText\fR, or \fIsourceText\fR itself if there is no appropriate translated version. The translation context is QObject with \fIcomment\fR (0 by default). All QObject subclasses using the TQ_OBJECT macro automatically have a reimplementation of this function with the subclass name as context.
.PP
\fBWarning:\fR This method is reentrant only if all translators are installed \fIbefore\fR calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior.
.PP