diff options
author | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/man/man3/tqsignal.3qt | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqsignal.3qt')
-rw-r--r-- | doc/man/man3/tqsignal.3qt | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/man/man3/tqsignal.3qt b/doc/man/man3/tqsignal.3qt index f2fd48f62..d00d757f9 100644 --- a/doc/man/man3/tqsignal.3qt +++ b/doc/man/man3/tqsignal.3qt @@ -1,5 +1,5 @@ '\" t -.TH QSignal 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQSignal 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QSignal \- Can be used to send signals for classes that don't inherit TQObject +TQSignal \- Can be used to send signals for classes that don't inherit TQObject .SH SYNOPSIS -\fC#include <ntqsignal.h>\fR +\fC#include <tqsignal.h>\fR .PP Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSignal\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQSignal\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QSignal\fR ()" +.BI "\fB~TQSignal\fR ()" .br .ti -1c .BI "bool \fBconnect\fR ( const TQObject * receiver, const char * member )" @@ -38,21 +38,21 @@ Inherits TQObject. .br .in -1c .SH DESCRIPTION -The QSignal class can be used to send signals for classes that don't inherit TQObject. +The TQSignal 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 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 TQMenuData class, which is not a TQObject. +If you want to send signals from a class that does not inherit TQObject, you can create an internal TQSignal 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 TQMenuData class, which is not a TQObject. .PP 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 TQObject is a \fIprivate\fR base class of QSignal, i.e. you cannot call any TQObject member functions from a QSignal object. +Note that TQObject is a \fIprivate\fR base class of TQSignal, i.e. you cannot call any TQObject member functions from a TQSignal object. .PP Example: .PP .nf .br - #include <ntqsignal.h> + #include <tqsignal.h> .br .br class MyClass @@ -74,7 +74,7 @@ Example: .br private: .br - QSignal *sig; + TQSignal *sig; .br }; .br @@ -83,7 +83,7 @@ Example: .br { .br - sig = new QSignal; + sig = new TQSignal; .br } .br @@ -120,27 +120,27 @@ Example: .PP See also Input/Output and Networking and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSignal::QSignal ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQSignal::TQSignal ( 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 ()" +.SH "TQSignal::~TQSignal ()" Destroys the signal. All connections are removed, as is the case with all TQObjects. -.SH "void QSignal::activate ()" +.SH "void TQSignal::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 TQObject * receiver, const char * member )" +.SH "bool TQSignal::connect ( const TQObject * receiver, const char * member )" Connects the signal to \fImember\fR in object \fIreceiver\fR. .PP See also disconnect() and TQObject::connect(). -.SH "bool QSignal::disconnect ( const TQObject * receiver, const char * member = 0 )" +.SH "bool TQSignal::disconnect ( const TQObject * receiver, const char * member = 0 )" Disonnects the signal from \fImember\fR in object \fIreceiver\fR. .PP See also connect() and TQObject::disconnect(). -.SH "void QSignal::setValue ( const QVariant & value )" +.SH "void TQSignal::setValue ( const QVariant & value )" Sets the signal's parameter to \fIvalue\fR -.SH "QVariant QSignal::value () const" +.SH "QVariant TQSignal::value () const" Returns the signal's parameter .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqsignal.html +.BR http://doc.trolltech.com/tqsignal.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |