Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtNetwork.IQAbstractSocketSignals Interface Reference
Inheritance diagram for QtNetwork.IQAbstractSocketSignals:
Collaboration diagram for QtNetwork.IQAbstractSocketSignals:

Public Member Functions

void HostFound ()
 
 
void Connected ()
 
 
void Disconnected ()
 
 
void StateChanged (QAbstractSocket.SocketState arg1)
 
 
void Error (QAbstractSocket.SocketError arg1)
 
 
void ProxyAuthenticationRequired (QNetworkProxy proxy, QAuthenticator authenticator)
 
 
void ConnectionClosed ()
 
void DelayedCloseFinished ()
 
- Public Member Functions inherited from QtCore.IQIODeviceSignals
void ReadyRead ()
 
 
void BytesWritten (long bytes)
 
 
void AboutToClose ()
 
 
void ReadChannelFinished ()
 
 
- Public Member Functions inherited from QtCore.IQObjectSignals
void Destroyed (QObject arg1)
 
void Destroyed ()
 
 

Member Function Documentation

void QtNetwork.IQAbstractSocketSignals.Connected ( )

This signal is emitted after connectToHost() has been called and a connection has been successfully established.

Note: On some operating systems the connected() signal may be directly emitted from the connectToHost() call for connections to the localhost.

See also connectToHost() and disconnected().

void QtNetwork.IQAbstractSocketSignals.ConnectionClosed ( )
void QtNetwork.IQAbstractSocketSignals.DelayedCloseFinished ( )
void QtNetwork.IQAbstractSocketSignals.Disconnected ( )

This signal is emitted when the socket has been disconnected.

Warning: If you need to delete the sender() of this signal in a slot connected to it, use the deleteLater() function.

See also connectToHost(), disconnectFromHost(), and abort().

void QtNetwork.IQAbstractSocketSignals.Error ( QAbstractSocket.SocketError  arg1)

Returns the type of error that last occurred.

See also state() and errorString().

void QtNetwork.IQAbstractSocketSignals.HostFound ( )

This signal is emitted after connectToHost() has been called and the host lookup has succeeded.

Note: Since Qt 4.6.3 QAbstractSocket may emit hostFound() directly from the connectToHost() call since a DNS result could have been cached.

See also connected().

void QtNetwork.IQAbstractSocketSignals.ProxyAuthenticationRequired ( QNetworkProxy  proxy,
QAuthenticator  authenticator 
)

This signal can be emitted when a proxy that requires authentication is used. The authenticator object can then be filled in with the required details to allow authentication and continue the connection.

Note: It is not possible to use a QueuedConnection to connect to this signal, as the connection will fail if the authenticator has not been filled in with new information when the signal returns.

This function was introduced in Qt 4.3.

See also QAuthenticator and QNetworkProxy.

void QtNetwork.IQAbstractSocketSignals.StateChanged ( QAbstractSocket.SocketState  arg1)

This signal is emitted whenever QAbstractSocket's state changes. The socketState parameter is the new state.

QAbstractSocket::SocketState is not a registered metatype, so for queued connections, you will have to register it with Q_REGISTER_METATYPE() and qRegisterMetaType().

See also state() and Creating Custom Qt Types.