diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/man/man3/qobject.3qt | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'doc/man/man3/qobject.3qt')
-rw-r--r-- | doc/man/man3/qobject.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/qobject.3qt b/doc/man/man3/qobject.3qt index 8725b0859..f83c0ab16 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 |