summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcopchannel.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
commitb35e0845dc9b3c8b9a5e52a682c769f383933fae (patch)
treee4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqcopchannel.3qt
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqcopchannel.3qt')
-rw-r--r--doc/man/man3/tqcopchannel.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqcopchannel.3qt b/doc/man/man3/tqcopchannel.3qt
index 50c95ff3f..25bd87fa6 100644
--- a/doc/man/man3/tqcopchannel.3qt
+++ b/doc/man/man3/tqcopchannel.3qt
@@ -11,12 +11,12 @@ QCopChannel \- Communication capabilities between several clients
.SH SYNOPSIS
\fC#include <qcopchannel_qws.h>\fR
.PP
-Inherits QObject.
+Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCopChannel\fR ( const QCString & channel, QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQCopChannel\fR ( const QCString & channel, TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
.BI "virtual \fB~QCopChannel\fR ()"
@@ -59,8 +59,8 @@ The channel() function returns the name of the channel.
.PP
In order to \fIlisten\fR to the traffic on a channel, you should either subclass QCopChannel and reimplement receive(), or connect() to the received() signal.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCopChannel::QCopChannel ( const QCString & channel, QObject * parent = 0, const char * name = 0 )"
-Constructs a QCop channel and registers it with the server using the name \fIchannel\fR. The standard \fIparent\fR and \fIname\fR arguments are passed on to the QObject constructor.
+.SH "QCopChannel::QCopChannel ( const QCString & channel, TQObject * parent = 0, const char * name = 0 )"
+Constructs a QCop channel and registers it with the server using the name \fIchannel\fR. The standard \fIparent\fR and \fIname\fR arguments are passed on to the TQObject constructor.
.SH "QCopChannel::~QCopChannel ()\fC [virtual]\fR"
Destroys the client's end of the channel and notifies the server that the client has closed its connection. The server will keep the channel open until the last registered client detaches.
.SH "QCString QCopChannel::channel () const"
@@ -86,17 +86,17 @@ Example:
.br
QDataStream stream( data, IO_ReadOnly );
.br
- if ( msg == "execute(QString,QString)" ) {
+ if ( msg == "execute(TQString,TQString)" ) {
.br
- QString cmd, arg;
+ TQString cmd, arg;
.br
stream >> cmd >> arg;
.br
...
.br
- } else if ( msg == "delete(QString)" ) {
+ } else if ( msg == "delete(TQString)" ) {
.br
- QString filenname;
+ TQString filenname;
.br
stream >> filename;
.br
@@ -127,9 +127,9 @@ Example:
.br
QDataStream stream( ba, IO_WriteOnly );
.br
- stream << QString("cat") << QString("file.txt");
+ stream << TQString("cat") << TQString("file.txt");
.br
- QCopChannel::send( "System/Shell", "execute(QString,QString)", ba );
+ QCopChannel::send( "System/Shell", "execute(TQString,TQString)", ba );
.br
.fi
Here the channel is "System/Shell". The \fImsg\fR is an arbitrary string, but in the example we've used the DCOP convention of passing a function signature. Such a signature is formatted as functionname(types) where types is a list of zero or more comma-separated type names, with no whitespace, no consts and no pointer or reference marks, i.e. no "*" or "&".