summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqnetworkprotocol.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/tqnetworkprotocol.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/tqnetworkprotocol.3qt')
-rw-r--r--doc/man/man3/tqnetworkprotocol.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqnetworkprotocol.3qt b/doc/man/man3/tqnetworkprotocol.3qt
index 128fba10c..5960ccbe4 100644
--- a/doc/man/man3/tqnetworkprotocol.3qt
+++ b/doc/man/man3/tqnetworkprotocol.3qt
@@ -11,7 +11,7 @@ QNetworkProtocol \- Common API for network protocols
.SH SYNOPSIS
\fC#include <ntqnetworkprotocol.h>\fR
.PP
-Inherits QObject.
+Inherits TQObject.
.PP
Inherited by QFtp, QHttp, and QLocalFs.
.PP
@@ -69,7 +69,7 @@ Inherited by QFtp, QHttp, and QLocalFs.
.BI "void \fBdata\fR ( const QByteArray & data, QNetworkOperation * op )"
.br
.ti -1c
-.BI "void \fBconnectionStateChanged\fR ( int state, const QString & data )"
+.BI "void \fBconnectionStateChanged\fR ( int state, const TQString & data )"
.br
.ti -1c
.BI "void \fBfinished\fR ( QNetworkOperation * op )"
@@ -99,10 +99,10 @@ Inherited by QFtp, QHttp, and QLocalFs.
.SS "Static Public Members"
.in +1c
.ti -1c
-.BI "void \fBregisterNetworkProtocol\fR ( const QString & protocol, QNetworkProtocolFactoryBase * protocolFactory )"
+.BI "void \fBregisterNetworkProtocol\fR ( const TQString & protocol, QNetworkProtocolFactoryBase * protocolFactory )"
.br
.ti -1c
-.BI "QNetworkProtocol * \fBgetNetworkProtocol\fR ( const QString & protocol )"
+.BI "QNetworkProtocol * \fBgetNetworkProtocol\fR ( const TQString & protocol )"
.br
.ti -1c
.BI "bool \fBhasOnlyLocalFileSystem\fR ()"
@@ -235,7 +235,7 @@ If the connection can't be opened (e.g. because you already tried but the host c
Example: network/networkprotocol/nntp.cpp.
.SH "void QNetworkProtocol::clearOperationQueue ()\fC [virtual]\fR"
Clears the operation queue.
-.SH "void QNetworkProtocol::connectionStateChanged ( int state, const QString & data )\fC [signal]\fR"
+.SH "void QNetworkProtocol::connectionStateChanged ( int state, const TQString & data )\fC [signal]\fR"
This signal is emitted whenever the state of the connection of the network protocol is changed. \fIstate\fR describes the new state, which is one of, ConHostFound, ConConnected or ConClosed. \fIdata\fR is a message text.
.SH "void QNetworkProtocol::createdDirectory ( const QUrlInfo & i, QNetworkOperation * op )\fC [signal]\fR"
This signal is emitted when mkdir() has been succesful and the directory has been created. \fIi\fR holds the information about the new directory. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc. Using op->arg( 0 ), you can get the file name of the new directory.
@@ -253,7 +253,7 @@ When a protocol emits this signal, QNetworkProtocol is smart enough to let the Q
This signal is emitted when an operation finishes. This signal is always emitted, for both success and failure. \fIop\fR is the pointer to the operation object which contains all the information about the operation, including the state, etc. Check the state and error code of the operation object to determine whether or not the operation was successful.
.PP
When a protocol emits this signal, QNetworkProtocol is smart enough to let the QUrlOperator, which is used by the network protocol, emit its corresponding signal.
-.SH "QNetworkProtocol * QNetworkProtocol::getNetworkProtocol ( const QString & protocol )\fC [static]\fR"
+.SH "QNetworkProtocol * QNetworkProtocol::getNetworkProtocol ( const TQString & protocol )\fC [static]\fR"
Static method to get a new instance of the network protocol \fIprotocol\fR. For example, if you need to do some FTP operations, do the following:
.PP
.nf
@@ -324,7 +324,7 @@ When implementing a new newtork protocol, this method should be reimplemented if
When you reimplement this method it's very important that you emit the correct signals at the correct time (especially the finished() signal after processing an operation). Take a look at the TQt Network Documentation which describes in detail how to reimplement this method. You may also want to look at the example implementation in examples/network/networkprotocol/nntp.cpp.
.PP
\fIop\fR is the pointer to the operation object which contains all the information on the operation that has finished, including the state, etc.
-.SH "void QNetworkProtocol::registerNetworkProtocol ( const QString & protocol, QNetworkProtocolFactoryBase * protocolFactory )\fC [static]\fR"
+.SH "void QNetworkProtocol::registerNetworkProtocol ( const TQString & protocol, QNetworkProtocolFactoryBase * protocolFactory )\fC [static]\fR"
Static method to register a network protocol for Qt. For example, if you have an implementation of NNTP (called Nntp) which is derived from QNetworkProtocol, call:
.PP
.nf