#include <qabstractsocketproto.h>
Signals | |
void | aboutToClose () |
void | bytesWritten (qint64 bytes) |
void | connected () |
void | disconnected () |
void | error (QAbstractSocket::SocketError socketError) |
void | hostFound () |
void | proxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *authenticator) |
void | readChannelFinished () |
void | readyRead () |
void | stateChanged (QAbstractSocket::SocketState socketState) |
Public Member Functions | |
QAbstractSocketProto (QObject *parent) | |
Q_INVOKABLE void | abort () |
Q_INVOKABLE bool | atEnd () const |
Q_INVOKABLE bool | bind (const QHostAddress &address, quint16 port=0, QAbstractSocket::BindMode mode=QAbstractSocket::DefaultForPlatform) |
Q_INVOKABLE bool | bind (quint16 port=0, QAbstractSocket::BindMode mode=QAbstractSocket::DefaultForPlatform) |
Q_INVOKABLE qint64 | bytesAvailable () const |
Q_INVOKABLE qint64 | bytesToWrite () const |
Q_INVOKABLE bool | canReadLine () const |
Q_INVOKABLE void | close () |
Q_INVOKABLE void | connectToHost (const QHostAddress &address, quint16 port, QIODevice::OpenMode openMode=QIODevice::ReadWrite) |
Q_INVOKABLE void | connectToHost (const QString &hostName, quint16 port, QIODevice::OpenMode openMode=QIODevice::ReadWrite, QAbstractSocket::NetworkLayerProtocol protocol=QAbstractSocket::AnyIPProtocol) |
Q_INVOKABLE void | disconnectFromHost () |
Q_INVOKABLE QAbstractSocket::SocketError | error () const |
Q_INVOKABLE QString | errorString () const |
Q_INVOKABLE bool | flush () |
Q_INVOKABLE char | getChar () |
Q_INVOKABLE bool | isOpen () const |
Q_INVOKABLE bool | isReadable () const |
Q_INVOKABLE bool | isSequential () const |
Q_INVOKABLE bool | isTextModeEnabled () const |
Q_INVOKABLE bool | isValid () const |
Q_INVOKABLE bool | isWritable () const |
Q_INVOKABLE QHostAddress | localAddress () const |
Q_INVOKABLE quint16 | localPort () const |
Q_INVOKABLE bool | open (QIODevice::OpenMode mode) |
Q_INVOKABLE QIODevice::OpenMode | openMode () const |
Q_INVOKABLE QAbstractSocket::PauseModes | pauseMode () const |
Q_INVOKABLE qint64 | peek (char *data, qint64 maxSize) |
Q_INVOKABLE QByteArray | peek (qint64 maxSize) |
Q_INVOKABLE QHostAddress | peerAddress () const |
Q_INVOKABLE QString | peerName () const |
Q_INVOKABLE quint16 | peerPort () const |
Q_INVOKABLE qint64 | pos () const |
Q_INVOKABLE QNetworkProxy | proxy () const |
Q_INVOKABLE bool | putChar (char c) |
Q_INVOKABLE qint64 | read (char *data, qint64 maxSize) |
Q_INVOKABLE QByteArray | read (qint64 maxSize) |
Q_INVOKABLE QByteArray | readAll () |
Q_INVOKABLE qint64 | readBufferSize () const |
Q_INVOKABLE qint64 | readLine (char *data, qint64 maxSize) |
Q_INVOKABLE QByteArray | readLine (qint64 maxSize=0) |
Q_INVOKABLE bool | reset () |
Q_INVOKABLE void | resume () |
Q_INVOKABLE bool | seek (qint64 pos) |
Q_INVOKABLE void | setPauseMode (QAbstractSocket::PauseModes pauseMode) |
Q_INVOKABLE void | setProxy (const QNetworkProxy &networkProxy) |
Q_INVOKABLE void | setReadBufferSize (qint64 size) |
Q_INVOKABLE bool | setSocketDescriptor (qintptr socketDescriptor, QAbstractSocket::SocketState socketState=QAbstractSocket::ConnectedState, QIODevice::OpenMode openMode=QIODevice::ReadWrite) |
Q_INVOKABLE void | setSocketOption (QAbstractSocket::SocketOption option, const QVariant &value) |
Q_INVOKABLE void | setTextModeEnabled (bool enabled) |
Q_INVOKABLE qint64 | size () const |
Q_INVOKABLE qintptr | socketDescriptor () const |
Q_INVOKABLE QVariant | socketOption (QAbstractSocket::SocketOption option) |
Q_INVOKABLE QAbstractSocket::SocketType | socketType () const |
Q_INVOKABLE QAbstractSocket::SocketState | state () const |
Q_INVOKABLE QString | toString () const |
Q_INVOKABLE void | ungetChar (char c) |
Q_INVOKABLE bool | waitForBytesWritten (int msecs=30000) |
Q_INVOKABLE bool | waitForConnected (int msecs=30000) |
Q_INVOKABLE bool | waitForDisconnected (int msecs=30000) |
Q_INVOKABLE bool | waitForReadyRead (int msecs=30000) |
Q_INVOKABLE qint64 | write (char data) |
Q_INVOKABLE qint64 | write (char data, qint64 maxSize) |
Q_INVOKABLE qint64 | write (const QByteArray &byteArray) |
QAbstractSocketProto::QAbstractSocketProto | ( | QObject * | parent | ) |
void QAbstractSocketProto::abort | ( | ) |
|
signalinherited |
bool QAbstractSocketProto::atEnd | ( | ) | const |
bool QAbstractSocketProto::bind | ( | const QHostAddress & | address, |
quint16 | port = 0 , |
||
QAbstractSocket::BindMode | mode = QAbstractSocket::DefaultForPlatform |
||
) |
bool QAbstractSocketProto::bind | ( | quint16 | port = 0 , |
QAbstractSocket::BindMode | mode = QAbstractSocket::DefaultForPlatform |
||
) |
qint64 QAbstractSocketProto::bytesAvailable | ( | ) | const |
qint64 QAbstractSocketProto::bytesToWrite | ( | ) | const |
|
signalinherited |
bool QAbstractSocketProto::canReadLine | ( | ) | const |
void QAbstractSocketProto::close | ( | ) |
|
signal |
void QAbstractSocketProto::connectToHost | ( | const QHostAddress & | address, |
quint16 | port, | ||
QIODevice::OpenMode | openMode = QIODevice::ReadWrite |
||
) |
void QAbstractSocketProto::connectToHost | ( | const QString & | hostName, |
quint16 | port, | ||
QIODevice::OpenMode | openMode = QIODevice::ReadWrite , |
||
QAbstractSocket::NetworkLayerProtocol | protocol = QAbstractSocket::AnyIPProtocol |
||
) |
|
signal |
void QAbstractSocketProto::disconnectFromHost | ( | ) |
QAbstractSocket::SocketError QAbstractSocketProto::error | ( | ) | const |
|
signal |
|
inherited |
bool QAbstractSocketProto::flush | ( | ) |
|
inherited |
|
signal |
|
inherited |
|
inherited |
bool QAbstractSocketProto::isSequential | ( | ) | const |
|
inherited |
bool QAbstractSocketProto::isValid | ( | ) | const |
|
inherited |
QHostAddress QAbstractSocketProto::localAddress | ( | ) | const |
quint16 QAbstractSocketProto::localPort | ( | ) | const |
|
inherited |
|
inherited |
QAbstractSocket::PauseModes QAbstractSocketProto::pauseMode | ( | ) | const |
|
inherited |
|
inherited |
QHostAddress QAbstractSocketProto::peerAddress | ( | ) | const |
QString QAbstractSocketProto::peerName | ( | ) | const |
quint16 QAbstractSocketProto::peerPort | ( | ) | const |
|
inherited |
QNetworkProxy QAbstractSocketProto::proxy | ( | ) | const |
|
signal |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
qint64 QAbstractSocketProto::readBufferSize | ( | ) | const |
|
signalinherited |
|
inherited |
|
inherited |
|
signalinherited |
|
inherited |
void QAbstractSocketProto::resume | ( | ) |
|
inherited |
void QAbstractSocketProto::setPauseMode | ( | QAbstractSocket::PauseModes | pauseMode | ) |
void QAbstractSocketProto::setProxy | ( | const QNetworkProxy & | networkProxy | ) |
void QAbstractSocketProto::setReadBufferSize | ( | qint64 | size | ) |
bool QAbstractSocketProto::setSocketDescriptor | ( | qintptr | socketDescriptor, |
QAbstractSocket::SocketState | socketState = QAbstractSocket::ConnectedState , |
||
QIODevice::OpenMode | openMode = QIODevice::ReadWrite |
||
) |
void QAbstractSocketProto::setSocketOption | ( | QAbstractSocket::SocketOption | option, |
const QVariant & | value | ||
) |
|
inherited |
|
inherited |
qintptr QAbstractSocketProto::socketDescriptor | ( | ) | const |
QVariant QAbstractSocketProto::socketOption | ( | QAbstractSocket::SocketOption | option | ) |
QAbstractSocket::SocketType QAbstractSocketProto::socketType | ( | ) | const |
QAbstractSocket::SocketState QAbstractSocketProto::state | ( | ) | const |
|
signal |
QString QAbstractSocketProto::toString | ( | ) | const |
|
inherited |
bool QAbstractSocketProto::waitForBytesWritten | ( | int | msecs = 30000 | ) |
bool QAbstractSocketProto::waitForConnected | ( | int | msecs = 30000 | ) |
bool QAbstractSocketProto::waitForDisconnected | ( | int | msecs = 30000 | ) |
bool QAbstractSocketProto::waitForReadyRead | ( | int | msecs = 30000 | ) |
|
inherited |
|
inherited |
|
inherited |
Generated on Fri Apr 9 2021 | xTuple ERP Programmer Reference, Version 6.0.0 | 1.8.17 |