diff options
Diffstat (limited to 'doc/man/man3/tqsignal.3qt')
-rw-r--r-- | doc/man/man3/tqsignal.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqsignal.3qt b/doc/man/man3/tqsignal.3qt index 095283c3c..1119b1bb5 100644 --- a/doc/man/man3/tqsignal.3qt +++ b/doc/man/man3/tqsignal.3qt @@ -7,25 +7,25 @@ .ad l .nh .SH NAME -QSignal \- Can be used to send signals for classes that don't inherit QObject +QSignal \- Can be used to send signals for classes that don't inherit TQObject .SH SYNOPSIS \fC#include <ntqsignal.h>\fR .PP -Inherits QObject. +Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSignal\fR ( QObject * parent = 0, const char * name = 0 )" +.BI "\fBQSignal\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~QSignal\fR ()" .br .ti -1c -.BI "bool \fBconnect\fR ( const QObject * receiver, const char * member )" +.BI "bool \fBconnect\fR ( const TQObject * receiver, const char * member )" .br .ti -1c -.BI "bool \fBdisconnect\fR ( const QObject * receiver, const char * member = 0 )" +.BI "bool \fBdisconnect\fR ( const TQObject * receiver, const char * member = 0 )" .br .ti -1c .BI "void \fBactivate\fR ()" @@ -38,15 +38,15 @@ Inherits QObject. .br .in -1c .SH DESCRIPTION -The QSignal class can be used to send signals for classes that don't inherit QObject. +The QSignal class can be used to send signals for classes that don't inherit TQObject. .PP -If you want to send signals from a class that does not inherit QObject, you can create an internal QSignal object to emit the signal. You must also provide a function that connects the signal to an outside object slot. This is how we have implemented signals in the QMenuData class, which is not a QObject. +If you want to send signals from a class that does not inherit TQObject, you can create an internal QSignal object to emit the signal. You must also provide a function that connects the signal to an outside object slot. This is how we have implemented signals in the QMenuData class, which is not a TQObject. .PP -In general, we recommend inheriting QObject instead. QObject provides much more functionality. +In general, we recommend inheriting TQObject instead. TQObject provides much more functionality. .PP You can set a single QVariant parameter for the signal with setValue(). .PP -Note that QObject is a \fIprivate\fR base class of QSignal, i.e. you cannot call any QObject member functions from a QSignal object. +Note that TQObject is a \fIprivate\fR base class of QSignal, i.e. you cannot call any TQObject member functions from a QSignal object. .PP Example: .PP @@ -69,7 +69,7 @@ Example: void doSomething(); .br .br - void connect( QObject *receiver, const char *member ); + void connect( TQObject *receiver, const char *member ); .br .br private: @@ -108,7 +108,7 @@ Example: } .br .br - void MyClass::connect( QObject *receiver, const char *member ) + void MyClass::connect( TQObject *receiver, const char *member ) .br { .br @@ -120,20 +120,20 @@ Example: .PP See also Input/Output and Networking and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSignal::QSignal ( QObject * parent = 0, const char * name = 0 )" -Constructs a signal object called \fIname\fR, with the parent object \fIparent\fR. These arguments are passed directly to QObject. +.SH "QSignal::QSignal ( TQObject * parent = 0, const char * name = 0 )" +Constructs a signal object called \fIname\fR, with the parent object \fIparent\fR. These arguments are passed directly to TQObject. .SH "QSignal::~QSignal ()" Destroys the signal. All connections are removed, as is the case with all QObjects. .SH "void QSignal::activate ()" Emits the signal. If the platform supports QVariant and a parameter has been set with setValue(), this value is passed in the signal. -.SH "bool QSignal::connect ( const QObject * receiver, const char * member )" +.SH "bool QSignal::connect ( const TQObject * receiver, const char * member )" Connects the signal to \fImember\fR in object \fIreceiver\fR. .PP -See also disconnect() and QObject::connect(). -.SH "bool QSignal::disconnect ( const QObject * receiver, const char * member = 0 )" +See also disconnect() and TQObject::connect(). +.SH "bool QSignal::disconnect ( const TQObject * receiver, const char * member = 0 )" Disonnects the signal from \fImember\fR in object \fIreceiver\fR. .PP -See also connect() and QObject::disconnect(). +See also connect() and TQObject::disconnect(). .SH "void QSignal::setValue ( const QVariant & value )" Sets the signal's parameter to \fIvalue\fR .SH "QVariant QSignal::value () const" |