Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QAbstractSocket
Class hierarchy: QAbstractSocket » QIODevice » QObject
Sub-classes: BindFlag, QFlags_BindFlag, NetworkLayerProtocol, QFlags_NetworkLayerProtocol, PauseMode, QFlags_PauseMode, SocketError, QFlags_SocketError, SocketOption, QFlags_SocketOption, SocketState, QFlags_SocketState, SocketType, QFlags_SocketType
new QAbstractSocket | new | (const QAbstractSocket_SocketType socketType, QObject ptr parent) | Constructor QAbstractSocket::QAbstractSocket(QAbstractSocket::SocketType socketType, QObject *parent) |
[const] | QAbstractSocket ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | abort | Method void QAbstractSocket::abort() | ||
[signal] | void | aboutToClose | Signal declaration for QAbstractSocket::aboutToClose() | |
[const] | bool | atEnd | Method bool QAbstractSocket::atEnd() | |
bool | bind | (const QHostAddress address, unsigned short port = 0, QAbstractSocket_QFlags_BindFlag mode = QAbstractSocket::DefaultForPlatform) | Method bool QAbstractSocket::bind(const QHostAddress &address, quint16 port, QFlags<QAbstractSocket::BindFlag> mode) | |
bool | bind | (unsigned short port = 0, QAbstractSocket_QFlags_BindFlag mode = QAbstractSocket::DefaultForPlatform) | Method bool QAbstractSocket::bind(quint16 port, QFlags<QAbstractSocket::BindFlag> mode) | |
[const] | long long | bytesAvailable | Method qint64 QAbstractSocket::bytesAvailable() | |
[const] | long long | bytesToWrite | Method qint64 QAbstractSocket::bytesToWrite() | |
[signal] | void | bytesWritten | (long long bytes) | Signal declaration for QAbstractSocket::bytesWritten(qint64 bytes) |
[const] | bool | canReadLine | Method bool QAbstractSocket::canReadLine() | |
[signal] | void | channelBytesWritten | (int channel, long long bytes) | Signal declaration for QAbstractSocket::channelBytesWritten(int channel, qint64 bytes) |
[signal] | void | channelReadyRead | (int channel) | Signal declaration for QAbstractSocket::channelReadyRead(int channel) |
void | close | Method void QAbstractSocket::close() | ||
void | connectToHost | (string hostName, unsigned short port, QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite, const QAbstractSocket_NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) | Method void QAbstractSocket::connectToHost(const QString &hostName, quint16 port, QFlags<QIODevice::OpenModeFlag> mode, QAbstractSocket::NetworkLayerProtocol protocol) | |
void | connectToHost | (const QHostAddress address, unsigned short port, QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite) | Method void QAbstractSocket::connectToHost(const QHostAddress &address, quint16 port, QFlags<QIODevice::OpenModeFlag> mode) | |
[signal] | void | connected | Signal declaration for QAbstractSocket::connected() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QAbstractSocket::destroyed(QObject *) |
void | disconnectFromHost | Method void QAbstractSocket::disconnectFromHost() | ||
[signal] | void | disconnected | Signal declaration for QAbstractSocket::disconnected() | |
[const] | QAbstractSocket_SocketError | error | Method QAbstractSocket::SocketError QAbstractSocket::error() | |
[signal] | void | error_sig | (const QAbstractSocket_SocketError arg1) | Signal declaration for QAbstractSocket::error(QAbstractSocket::SocketError) |
bool | flush | Method bool QAbstractSocket::flush() | ||
[signal] | void | hostFound | Signal declaration for QAbstractSocket::hostFound() | |
[const] | bool | isSequential? | Method bool QAbstractSocket::isSequential() | |
[const] | bool | isValid? | Method bool QAbstractSocket::isValid() | |
[const] | QHostAddress | localAddress | Method QHostAddress QAbstractSocket::localAddress() | |
[const] | unsigned short | localPort | Method quint16 QAbstractSocket::localPort() | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QAbstractSocket::objectNameChanged(const QString &objectName) |
[const] | QAbstractSocket_QFlags_PauseMode | pauseMode | Method QFlags<QAbstractSocket::PauseMode> QAbstractSocket::pauseMode() | |
void | pauseMode= | (QAbstractSocket_QFlags_PauseMode pauseMode) | Method void QAbstractSocket::setPauseMode(QFlags<QAbstractSocket::PauseMode> pauseMode) | |
[const] | QHostAddress | peerAddress | Method QHostAddress QAbstractSocket::peerAddress() | |
[const] | string | peerName | Method QString QAbstractSocket::peerName() | |
[const] | unsigned short | peerPort | Method quint16 QAbstractSocket::peerPort() | |
[const] | QNetworkProxy | proxy | Method QNetworkProxy QAbstractSocket::proxy() | |
void | proxy= | (const QNetworkProxy networkProxy) | Method void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) | |
[signal] | void | proxyAuthenticationRequired | (const QNetworkProxy proxy, QAuthenticator ptr authenticator) | Signal declaration for QAbstractSocket::proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator) |
[const] | long long | readBufferSize | Method qint64 QAbstractSocket::readBufferSize() | |
void | readBufferSize= | (long long size) | Method void QAbstractSocket::setReadBufferSize(qint64 size) | |
[signal] | void | readChannelFinished | Signal declaration for QAbstractSocket::readChannelFinished() | |
[signal] | void | readyRead | Signal declaration for QAbstractSocket::readyRead() | |
void | resume | Method void QAbstractSocket::resume() | ||
void | setPauseMode | (QAbstractSocket_QFlags_PauseMode pauseMode) | Method void QAbstractSocket::setPauseMode(QFlags<QAbstractSocket::PauseMode> pauseMode) | |
void | setProxy | (const QNetworkProxy networkProxy) | Method void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) | |
void | setReadBufferSize | (long long size) | Method void QAbstractSocket::setReadBufferSize(qint64 size) | |
bool | setSocketDescriptor | (long long socketDescriptor, const QAbstractSocket_SocketState state = QAbstractSocket::ConnectedState, QIODevice_QFlags_OpenModeFlag openMode = QIODevice::ReadWrite) | Method bool QAbstractSocket::setSocketDescriptor(QIntegerForSizeof<void*>::Signed socketDescriptor, QAbstractSocket::SocketState state, QFlags<QIODevice::OpenModeFlag> openMode) | |
void | setSocketOption | (const QAbstractSocket_SocketOption option, variant value) | Method void QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value) | |
[const] | long long | socketDescriptor | Method QIntegerForSizeof<void*>::Signed QAbstractSocket::socketDescriptor() | |
variant | socketOption | (const QAbstractSocket_SocketOption option) | Method QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option) | |
[const] | QAbstractSocket_SocketType | socketType | Method QAbstractSocket::SocketType QAbstractSocket::socketType() | |
[const] | QAbstractSocket_SocketState | state | Method QAbstractSocket::SocketState QAbstractSocket::state() | |
[signal] | void | stateChanged | (const QAbstractSocket_SocketState arg1) | Signal declaration for QAbstractSocket::stateChanged(QAbstractSocket::SocketState) |
bool | waitForBytesWritten | (int msecs = 30000) | Method bool QAbstractSocket::waitForBytesWritten(int msecs) | |
bool | waitForConnected | (int msecs = 30000) | Method bool QAbstractSocket::waitForConnected(int msecs) | |
bool | waitForDisconnected | (int msecs = 30000) | Method bool QAbstractSocket::waitForDisconnected(int msecs) | |
bool | waitForReadyRead | (int msecs = 30000) | Method bool QAbstractSocket::waitForReadyRead(int msecs) |
[static,const] | QAbstractSocket_SocketError | AddressInUseError | Enum constant QAbstractSocket::AddressInUseError | |
[static,const] | QAbstractSocket_NetworkLayerProtocol | AnyIPProtocol | Enum constant QAbstractSocket::AnyIPProtocol | |
[static,const] | QAbstractSocket_SocketState | BoundState | Enum constant QAbstractSocket::BoundState | |
[static,const] | QAbstractSocket_SocketState | ClosingState | Enum constant QAbstractSocket::ClosingState | |
[static,const] | QAbstractSocket_SocketState | ConnectedState | Enum constant QAbstractSocket::ConnectedState | |
[static,const] | QAbstractSocket_SocketState | ConnectingState | Enum constant QAbstractSocket::ConnectingState | |
[static,const] | QAbstractSocket_SocketError | ConnectionRefusedError | Enum constant QAbstractSocket::ConnectionRefusedError | |
[static,const] | QAbstractSocket_SocketError | DatagramTooLargeError | Enum constant QAbstractSocket::DatagramTooLargeError | |
[static,const] | QAbstractSocket_BindFlag | DefaultForPlatform | Enum constant QAbstractSocket::DefaultForPlatform | |
[static,const] | QAbstractSocket_BindFlag | DontShareAddress | Enum constant QAbstractSocket::DontShareAddress | |
[static,const] | QAbstractSocket_SocketState | HostLookupState | Enum constant QAbstractSocket::HostLookupState | |
[static,const] | QAbstractSocket_SocketError | HostNotFoundError | Enum constant QAbstractSocket::HostNotFoundError | |
[static,const] | QAbstractSocket_NetworkLayerProtocol | IPv4Protocol | Enum constant QAbstractSocket::IPv4Protocol | |
[static,const] | QAbstractSocket_NetworkLayerProtocol | IPv6Protocol | Enum constant QAbstractSocket::IPv6Protocol | |
[static,const] | QAbstractSocket_SocketOption | KeepAliveOption | Enum constant QAbstractSocket::KeepAliveOption | |
[static,const] | QAbstractSocket_SocketState | ListeningState | Enum constant QAbstractSocket::ListeningState | |
[static,const] | QAbstractSocket_SocketOption | LowDelayOption | Enum constant QAbstractSocket::LowDelayOption | |
[static,const] | QAbstractSocket_SocketOption | MulticastLoopbackOption | Enum constant QAbstractSocket::MulticastLoopbackOption | |
[static,const] | QAbstractSocket_SocketOption | MulticastTtlOption | Enum constant QAbstractSocket::MulticastTtlOption | |
[static,const] | QAbstractSocket_SocketError | NetworkError | Enum constant QAbstractSocket::NetworkError | |
[static,const] | QAbstractSocket_SocketError | OperationError | Enum constant QAbstractSocket::OperationError | |
[static,const] | QAbstractSocket_SocketOption | PathMtuSocketOption | Enum constant QAbstractSocket::PathMtuSocketOption | |
[static,const] | QAbstractSocket_PauseMode | PauseNever | Enum constant QAbstractSocket::PauseNever | |
[static,const] | QAbstractSocket_PauseMode | PauseOnSslErrors | Enum constant QAbstractSocket::PauseOnSslErrors | |
[static,const] | QAbstractSocket_SocketError | ProxyAuthenticationRequiredError | Enum constant QAbstractSocket::ProxyAuthenticationRequiredError | |
[static,const] | QAbstractSocket_SocketError | ProxyConnectionClosedError | Enum constant QAbstractSocket::ProxyConnectionClosedError | |
[static,const] | QAbstractSocket_SocketError | ProxyConnectionRefusedError | Enum constant QAbstractSocket::ProxyConnectionRefusedError | |
[static,const] | QAbstractSocket_SocketError | ProxyConnectionTimeoutError | Enum constant QAbstractSocket::ProxyConnectionTimeoutError | |
[static,const] | QAbstractSocket_SocketError | ProxyNotFoundError | Enum constant QAbstractSocket::ProxyNotFoundError | |
[static,const] | QAbstractSocket_SocketError | ProxyProtocolError | Enum constant QAbstractSocket::ProxyProtocolError | |
[static,const] | QAbstractSocket_SocketOption | ReceiveBufferSizeSocketOption | Enum constant QAbstractSocket::ReceiveBufferSizeSocketOption | |
[static,const] | QAbstractSocket_SocketError | RemoteHostClosedError | Enum constant QAbstractSocket::RemoteHostClosedError | |
[static,const] | QAbstractSocket_BindFlag | ReuseAddressHint | Enum constant QAbstractSocket::ReuseAddressHint | |
[static,const] | QAbstractSocket_SocketType | SctpSocket | Enum constant QAbstractSocket::SctpSocket | |
[static,const] | QAbstractSocket_SocketOption | SendBufferSizeSocketOption | Enum constant QAbstractSocket::SendBufferSizeSocketOption | |
[static,const] | QAbstractSocket_BindFlag | ShareAddress | Enum constant QAbstractSocket::ShareAddress | |
[static,const] | QAbstractSocket_SocketError | SocketAccessError | Enum constant QAbstractSocket::SocketAccessError | |
[static,const] | QAbstractSocket_SocketError | SocketAddressNotAvailableError | Enum constant QAbstractSocket::SocketAddressNotAvailableError | |
[static,const] | QAbstractSocket_SocketError | SocketResourceError | Enum constant QAbstractSocket::SocketResourceError | |
[static,const] | QAbstractSocket_SocketError | SocketTimeoutError | Enum constant QAbstractSocket::SocketTimeoutError | |
[static,const] | QAbstractSocket_SocketError | SslHandshakeFailedError | Enum constant QAbstractSocket::SslHandshakeFailedError | |
[static,const] | QAbstractSocket_SocketError | SslInternalError | Enum constant QAbstractSocket::SslInternalError | |
[static,const] | QAbstractSocket_SocketError | SslInvalidUserDataError | Enum constant QAbstractSocket::SslInvalidUserDataError | |
[static,const] | QAbstractSocket_SocketType | TcpSocket | Enum constant QAbstractSocket::TcpSocket | |
[static,const] | QAbstractSocket_SocketError | TemporaryError | Enum constant QAbstractSocket::TemporaryError | |
[static,const] | QAbstractSocket_SocketOption | TypeOfServiceOption | Enum constant QAbstractSocket::TypeOfServiceOption | |
[static,const] | QAbstractSocket_SocketType | UdpSocket | Enum constant QAbstractSocket::UdpSocket | |
[static,const] | QAbstractSocket_SocketState | UnconnectedState | Enum constant QAbstractSocket::UnconnectedState | |
[static,const] | QAbstractSocket_SocketError | UnfinishedSocketOperationError | Enum constant QAbstractSocket::UnfinishedSocketOperationError | |
[static,const] | QAbstractSocket_NetworkLayerProtocol | UnknownNetworkLayerProtocol | Enum constant QAbstractSocket::UnknownNetworkLayerProtocol | |
[static,const] | QAbstractSocket_SocketError | UnknownSocketError | Enum constant QAbstractSocket::UnknownSocketError | |
[static,const] | QAbstractSocket_SocketType | UnknownSocketType | Enum constant QAbstractSocket::UnknownSocketType | |
[static,const] | QAbstractSocket_SocketError | UnsupportedSocketOperationError | Enum constant QAbstractSocket::UnsupportedSocketOperationError | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QAbstractSocket::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QAbstractSocket::trUtf8(const char *s, const char *c, int n) |
AddressInUseError | Signature: [static,const] QAbstractSocket_SocketError AddressInUseError Description: Enum constant QAbstractSocket::AddressInUseError Python specific notes: |
AnyIPProtocol | Signature: [static,const] QAbstractSocket_NetworkLayerProtocol AnyIPProtocol Description: Enum constant QAbstractSocket::AnyIPProtocol Python specific notes: |
BoundState | Signature: [static,const] QAbstractSocket_SocketState BoundState Description: Enum constant QAbstractSocket::BoundState Python specific notes: |
ClosingState | Signature: [static,const] QAbstractSocket_SocketState ClosingState Description: Enum constant QAbstractSocket::ClosingState Python specific notes: |
ConnectedState | Signature: [static,const] QAbstractSocket_SocketState ConnectedState Description: Enum constant QAbstractSocket::ConnectedState Python specific notes: |
ConnectingState | Signature: [static,const] QAbstractSocket_SocketState ConnectingState Description: Enum constant QAbstractSocket::ConnectingState Python specific notes: |
ConnectionRefusedError | Signature: [static,const] QAbstractSocket_SocketError ConnectionRefusedError Description: Enum constant QAbstractSocket::ConnectionRefusedError Python specific notes: |
DatagramTooLargeError | Signature: [static,const] QAbstractSocket_SocketError DatagramTooLargeError Description: Enum constant QAbstractSocket::DatagramTooLargeError Python specific notes: |
DefaultForPlatform | Signature: [static,const] QAbstractSocket_BindFlag DefaultForPlatform Description: Enum constant QAbstractSocket::DefaultForPlatform Python specific notes: |
DontShareAddress | Signature: [static,const] QAbstractSocket_BindFlag DontShareAddress Description: Enum constant QAbstractSocket::DontShareAddress Python specific notes: |
HostLookupState | Signature: [static,const] QAbstractSocket_SocketState HostLookupState Description: Enum constant QAbstractSocket::HostLookupState Python specific notes: |
HostNotFoundError | Signature: [static,const] QAbstractSocket_SocketError HostNotFoundError Description: Enum constant QAbstractSocket::HostNotFoundError Python specific notes: |
IPv4Protocol | Signature: [static,const] QAbstractSocket_NetworkLayerProtocol IPv4Protocol Description: Enum constant QAbstractSocket::IPv4Protocol Python specific notes: |
IPv6Protocol | Signature: [static,const] QAbstractSocket_NetworkLayerProtocol IPv6Protocol Description: Enum constant QAbstractSocket::IPv6Protocol Python specific notes: |
KeepAliveOption | Signature: [static,const] QAbstractSocket_SocketOption KeepAliveOption Description: Enum constant QAbstractSocket::KeepAliveOption Python specific notes: |
ListeningState | Signature: [static,const] QAbstractSocket_SocketState ListeningState Description: Enum constant QAbstractSocket::ListeningState Python specific notes: |
LowDelayOption | Signature: [static,const] QAbstractSocket_SocketOption LowDelayOption Description: Enum constant QAbstractSocket::LowDelayOption Python specific notes: |
MulticastLoopbackOption | Signature: [static,const] QAbstractSocket_SocketOption MulticastLoopbackOption Description: Enum constant QAbstractSocket::MulticastLoopbackOption Python specific notes: |
MulticastTtlOption | Signature: [static,const] QAbstractSocket_SocketOption MulticastTtlOption Description: Enum constant QAbstractSocket::MulticastTtlOption Python specific notes: |
NetworkError | Signature: [static,const] QAbstractSocket_SocketError NetworkError Description: Enum constant QAbstractSocket::NetworkError Python specific notes: |
OperationError | Signature: [static,const] QAbstractSocket_SocketError OperationError Description: Enum constant QAbstractSocket::OperationError Python specific notes: |
PathMtuSocketOption | Signature: [static,const] QAbstractSocket_SocketOption PathMtuSocketOption Description: Enum constant QAbstractSocket::PathMtuSocketOption Python specific notes: |
PauseNever | Signature: [static,const] QAbstractSocket_PauseMode PauseNever Description: Enum constant QAbstractSocket::PauseNever Python specific notes: |
PauseOnSslErrors | Signature: [static,const] QAbstractSocket_PauseMode PauseOnSslErrors Description: Enum constant QAbstractSocket::PauseOnSslErrors Python specific notes: |
ProxyAuthenticationRequiredError | Signature: [static,const] QAbstractSocket_SocketError ProxyAuthenticationRequiredError Description: Enum constant QAbstractSocket::ProxyAuthenticationRequiredError Python specific notes: |
ProxyConnectionClosedError | Signature: [static,const] QAbstractSocket_SocketError ProxyConnectionClosedError Description: Enum constant QAbstractSocket::ProxyConnectionClosedError Python specific notes: |
ProxyConnectionRefusedError | Signature: [static,const] QAbstractSocket_SocketError ProxyConnectionRefusedError Description: Enum constant QAbstractSocket::ProxyConnectionRefusedError Python specific notes: |
ProxyConnectionTimeoutError | Signature: [static,const] QAbstractSocket_SocketError ProxyConnectionTimeoutError Description: Enum constant QAbstractSocket::ProxyConnectionTimeoutError Python specific notes: |
ProxyNotFoundError | Signature: [static,const] QAbstractSocket_SocketError ProxyNotFoundError Description: Enum constant QAbstractSocket::ProxyNotFoundError Python specific notes: |
ProxyProtocolError | Signature: [static,const] QAbstractSocket_SocketError ProxyProtocolError Description: Enum constant QAbstractSocket::ProxyProtocolError Python specific notes: |
ReceiveBufferSizeSocketOption | Signature: [static,const] QAbstractSocket_SocketOption ReceiveBufferSizeSocketOption Description: Enum constant QAbstractSocket::ReceiveBufferSizeSocketOption Python specific notes: |
RemoteHostClosedError | Signature: [static,const] QAbstractSocket_SocketError RemoteHostClosedError Description: Enum constant QAbstractSocket::RemoteHostClosedError Python specific notes: |
ReuseAddressHint | Signature: [static,const] QAbstractSocket_BindFlag ReuseAddressHint Description: Enum constant QAbstractSocket::ReuseAddressHint Python specific notes: |
SctpSocket | Signature: [static,const] QAbstractSocket_SocketType SctpSocket Description: Enum constant QAbstractSocket::SctpSocket Python specific notes: |
SendBufferSizeSocketOption | Signature: [static,const] QAbstractSocket_SocketOption SendBufferSizeSocketOption Description: Enum constant QAbstractSocket::SendBufferSizeSocketOption Python specific notes: |
ShareAddress | Signature: [static,const] QAbstractSocket_BindFlag ShareAddress Description: Enum constant QAbstractSocket::ShareAddress Python specific notes: |
SocketAccessError | Signature: [static,const] QAbstractSocket_SocketError SocketAccessError Description: Enum constant QAbstractSocket::SocketAccessError Python specific notes: |
SocketAddressNotAvailableError | Signature: [static,const] QAbstractSocket_SocketError SocketAddressNotAvailableError Description: Enum constant QAbstractSocket::SocketAddressNotAvailableError Python specific notes: |
SocketResourceError | Signature: [static,const] QAbstractSocket_SocketError SocketResourceError Description: Enum constant QAbstractSocket::SocketResourceError Python specific notes: |
SocketTimeoutError | Signature: [static,const] QAbstractSocket_SocketError SocketTimeoutError Description: Enum constant QAbstractSocket::SocketTimeoutError Python specific notes: |
SslHandshakeFailedError | Signature: [static,const] QAbstractSocket_SocketError SslHandshakeFailedError Description: Enum constant QAbstractSocket::SslHandshakeFailedError Python specific notes: |
SslInternalError | Signature: [static,const] QAbstractSocket_SocketError SslInternalError Description: Enum constant QAbstractSocket::SslInternalError Python specific notes: |
SslInvalidUserDataError | Signature: [static,const] QAbstractSocket_SocketError SslInvalidUserDataError Description: Enum constant QAbstractSocket::SslInvalidUserDataError Python specific notes: |
TcpSocket | Signature: [static,const] QAbstractSocket_SocketType TcpSocket Description: Enum constant QAbstractSocket::TcpSocket Python specific notes: |
TemporaryError | Signature: [static,const] QAbstractSocket_SocketError TemporaryError Description: Enum constant QAbstractSocket::TemporaryError Python specific notes: |
TypeOfServiceOption | Signature: [static,const] QAbstractSocket_SocketOption TypeOfServiceOption Description: Enum constant QAbstractSocket::TypeOfServiceOption Python specific notes: |
UdpSocket | Signature: [static,const] QAbstractSocket_SocketType UdpSocket Description: Enum constant QAbstractSocket::UdpSocket Python specific notes: |
UnconnectedState | Signature: [static,const] QAbstractSocket_SocketState UnconnectedState Description: Enum constant QAbstractSocket::UnconnectedState Python specific notes: |
UnfinishedSocketOperationError | Signature: [static,const] QAbstractSocket_SocketError UnfinishedSocketOperationError Description: Enum constant QAbstractSocket::UnfinishedSocketOperationError Python specific notes: |
UnknownNetworkLayerProtocol | Signature: [static,const] QAbstractSocket_NetworkLayerProtocol UnknownNetworkLayerProtocol Description: Enum constant QAbstractSocket::UnknownNetworkLayerProtocol Python specific notes: |
UnknownSocketError | Signature: [static,const] QAbstractSocket_SocketError UnknownSocketError Description: Enum constant QAbstractSocket::UnknownSocketError Python specific notes: |
UnknownSocketType | Signature: [static,const] QAbstractSocket_SocketType UnknownSocketType Description: Enum constant QAbstractSocket::UnknownSocketType Python specific notes: |
UnsupportedSocketOperationError | Signature: [static,const] QAbstractSocket_SocketError UnsupportedSocketOperationError Description: Enum constant QAbstractSocket::UnsupportedSocketOperationError Python specific notes: |
_const_cast | Signature: [const] QAbstractSocket ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
abort | Signature: void abort Description: Method void QAbstractSocket::abort() |
aboutToClose | Signature: [signal] void aboutToClose Description: Signal declaration for QAbstractSocket::aboutToClose() You can bind a procedure to this signal. Python specific notes: |
atEnd | Signature: [const] bool atEnd Description: Method bool QAbstractSocket::atEnd() This is a reimplementation of QIODevice::atEnd |
bind | (1) Signature: bool bind (const QHostAddress address, unsigned short port = 0, QAbstractSocket_QFlags_BindFlag mode = QAbstractSocket::DefaultForPlatform) Description: Method bool QAbstractSocket::bind(const QHostAddress &address, quint16 port, QFlags<QAbstractSocket::BindFlag> mode) |
(2) Signature: bool bind (unsigned short port = 0, QAbstractSocket_QFlags_BindFlag mode = QAbstractSocket::DefaultForPlatform) Description: Method bool QAbstractSocket::bind(quint16 port, QFlags<QAbstractSocket::BindFlag> mode) | |
bytesAvailable | Signature: [const] long long bytesAvailable Description: Method qint64 QAbstractSocket::bytesAvailable() This is a reimplementation of QIODevice::bytesAvailable |
bytesToWrite | Signature: [const] long long bytesToWrite Description: Method qint64 QAbstractSocket::bytesToWrite() This is a reimplementation of QIODevice::bytesToWrite |
bytesWritten | Signature: [signal] void bytesWritten (long long bytes) Description: Signal declaration for QAbstractSocket::bytesWritten(qint64 bytes) You can bind a procedure to this signal. Python specific notes: |
canReadLine | Signature: [const] bool canReadLine Description: Method bool QAbstractSocket::canReadLine() This is a reimplementation of QIODevice::canReadLine |
channelBytesWritten | Signature: [signal] void channelBytesWritten (int channel, long long bytes) Description: Signal declaration for QAbstractSocket::channelBytesWritten(int channel, qint64 bytes) You can bind a procedure to this signal. Python specific notes: |
channelReadyRead | Signature: [signal] void channelReadyRead (int channel) Description: Signal declaration for QAbstractSocket::channelReadyRead(int channel) You can bind a procedure to this signal. Python specific notes: |
close | Signature: void close Description: Method void QAbstractSocket::close() This is a reimplementation of QIODevice::close |
connectToHost | (1) Signature: void connectToHost (string hostName, unsigned short port, QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite, const QAbstractSocket_NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol) Description: Method void QAbstractSocket::connectToHost(const QString &hostName, quint16 port, QFlags<QIODevice::OpenModeFlag> mode, QAbstractSocket::NetworkLayerProtocol protocol) |
(2) Signature: void connectToHost (const QHostAddress address, unsigned short port, QIODevice_QFlags_OpenModeFlag mode = QIODevice::ReadWrite) Description: Method void QAbstractSocket::connectToHost(const QHostAddress &address, quint16 port, QFlags<QIODevice::OpenModeFlag> mode) | |
connected | Signature: [signal] void connected Description: Signal declaration for QAbstractSocket::connected() You can bind a procedure to this signal. Python specific notes: |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QAbstractSocket::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectFromHost | Signature: void disconnectFromHost Description: Method void QAbstractSocket::disconnectFromHost() |
disconnected | Signature: [signal] void disconnected Description: Signal declaration for QAbstractSocket::disconnected() You can bind a procedure to this signal. Python specific notes: |
error | Signature: [const] QAbstractSocket_SocketError error Description: Method QAbstractSocket::SocketError QAbstractSocket::error() |
error_sig | Signature: [signal] void error_sig (const QAbstractSocket_SocketError arg1) Description: Signal declaration for QAbstractSocket::error(QAbstractSocket::SocketError) You can bind a procedure to this signal. Python specific notes: |
flush | Signature: bool flush Description: Method bool QAbstractSocket::flush() |
hostFound | Signature: [signal] void hostFound Description: Signal declaration for QAbstractSocket::hostFound() You can bind a procedure to this signal. Python specific notes: |
isSequential? | Signature: [const] bool isSequential? Description: Method bool QAbstractSocket::isSequential() This is a reimplementation of QIODevice::isSequential |
isValid? | Signature: [const] bool isValid? Description: Method bool QAbstractSocket::isValid() |
localAddress | Signature: [const] QHostAddress localAddress Description: Method QHostAddress QAbstractSocket::localAddress() |
localPort | Signature: [const] unsigned short localPort Description: Method quint16 QAbstractSocket::localPort() |
new | Signature: [static] new QAbstractSocket new (const QAbstractSocket_SocketType socketType, QObject ptr parent) Description: Constructor QAbstractSocket::QAbstractSocket(QAbstractSocket::SocketType socketType, QObject *parent) This method creates an object of class QAbstractSocket. Python specific notes: |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QAbstractSocket::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
pauseMode | Signature: [const] QAbstractSocket_QFlags_PauseMode pauseMode Description: Method QFlags<QAbstractSocket::PauseMode> QAbstractSocket::pauseMode() Python specific notes: |
pauseMode= | Signature: void pauseMode= (QAbstractSocket_QFlags_PauseMode pauseMode) Description: Method void QAbstractSocket::setPauseMode(QFlags<QAbstractSocket::PauseMode> pauseMode) Python specific notes: |
peerAddress | Signature: [const] QHostAddress peerAddress Description: Method QHostAddress QAbstractSocket::peerAddress() |
peerName | Signature: [const] string peerName Description: Method QString QAbstractSocket::peerName() |
peerPort | Signature: [const] unsigned short peerPort Description: Method quint16 QAbstractSocket::peerPort() |
proxy | Signature: [const] QNetworkProxy proxy Description: Method QNetworkProxy QAbstractSocket::proxy() Python specific notes: |
proxy= | Signature: void proxy= (const QNetworkProxy networkProxy) Description: Method void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) Python specific notes: |
proxyAuthenticationRequired | Signature: [signal] void proxyAuthenticationRequired (const QNetworkProxy proxy, QAuthenticator ptr authenticator) Description: Signal declaration for QAbstractSocket::proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator) You can bind a procedure to this signal. Python specific notes: |
readBufferSize | Signature: [const] long long readBufferSize Description: Method qint64 QAbstractSocket::readBufferSize() Python specific notes: |
readBufferSize= | Signature: void readBufferSize= (long long size) Description: Method void QAbstractSocket::setReadBufferSize(qint64 size) Python specific notes: |
readChannelFinished | Signature: [signal] void readChannelFinished Description: Signal declaration for QAbstractSocket::readChannelFinished() You can bind a procedure to this signal. Python specific notes: |
readyRead | Signature: [signal] void readyRead Description: Signal declaration for QAbstractSocket::readyRead() You can bind a procedure to this signal. Python specific notes: |
resume | Signature: void resume Description: Method void QAbstractSocket::resume() |
setPauseMode | Signature: void setPauseMode (QAbstractSocket_QFlags_PauseMode pauseMode) Description: Method void QAbstractSocket::setPauseMode(QFlags<QAbstractSocket::PauseMode> pauseMode) Python specific notes: |
setProxy | Signature: void setProxy (const QNetworkProxy networkProxy) Description: Method void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) Python specific notes: |
setReadBufferSize | Signature: void setReadBufferSize (long long size) Description: Method void QAbstractSocket::setReadBufferSize(qint64 size) Python specific notes: |
setSocketDescriptor | Signature: bool setSocketDescriptor (long long socketDescriptor, const QAbstractSocket_SocketState state = QAbstractSocket::ConnectedState, QIODevice_QFlags_OpenModeFlag openMode = QIODevice::ReadWrite) Description: Method bool QAbstractSocket::setSocketDescriptor(QIntegerForSizeof<void*>::Signed socketDescriptor, QAbstractSocket::SocketState state, QFlags<QIODevice::OpenModeFlag> openMode) |
setSocketOption | Signature: void setSocketOption (const QAbstractSocket_SocketOption option, variant value) Description: Method void QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value) |
socketDescriptor | Signature: [const] long long socketDescriptor Description: Method QIntegerForSizeof<void*>::Signed QAbstractSocket::socketDescriptor() |
socketOption | Signature: variant socketOption (const QAbstractSocket_SocketOption option) Description: Method QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option) |
socketType | Signature: [const] QAbstractSocket_SocketType socketType Description: Method QAbstractSocket::SocketType QAbstractSocket::socketType() |
state | Signature: [const] QAbstractSocket_SocketState state Description: Method QAbstractSocket::SocketState QAbstractSocket::state() |
stateChanged | Signature: [signal] void stateChanged (const QAbstractSocket_SocketState arg1) Description: Signal declaration for QAbstractSocket::stateChanged(QAbstractSocket::SocketState) You can bind a procedure to this signal. Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QAbstractSocket::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QAbstractSocket::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
waitForBytesWritten | Signature: bool waitForBytesWritten (int msecs = 30000) Description: Method bool QAbstractSocket::waitForBytesWritten(int msecs) This is a reimplementation of QIODevice::waitForBytesWritten |
waitForConnected | Signature: bool waitForConnected (int msecs = 30000) Description: Method bool QAbstractSocket::waitForConnected(int msecs) |
waitForDisconnected | Signature: bool waitForDisconnected (int msecs = 30000) Description: Method bool QAbstractSocket::waitForDisconnected(int msecs) |
waitForReadyRead | Signature: bool waitForReadyRead (int msecs = 30000) Description: Method bool QAbstractSocket::waitForReadyRead(int msecs) This is a reimplementation of QIODevice::waitForReadyRead |