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

Public Member Functions

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

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  socketError)

This signal is emitted after an error occurred. The socketError parameter describes the type of error that occurred.

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

See also error(), errorString(), and Creating Custom Qt Types.

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  socketState)

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.