Qt 4.8
Public Types | Public Slots | Public Functions | Static Public Functions | Protected Functions | List of all members
QAbstractSocketEngine Class Referenceabstract

#include <qabstractsocketengine_p.h>

Inheritance diagram for QAbstractSocketEngine:
QObject QHttpSocketEngine QNativeSocketEngine QSocks5SocketEngine

Public Types

enum  SocketOption {
  NonBlockingSocketOption, BroadcastSocketOption, ReceiveBufferSocketOption, SendBufferSocketOption,
  AddressReusable, BindExclusively, ReceiveOutOfBandData, LowDelayOption,
  KeepAliveOption, MulticastTtlOption, MulticastLoopbackOption
}
 

Public Slots

void connectionNotification ()
 
void exceptionNotification ()
 
void proxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *authenticator)
 
void readNotification ()
 
void writeNotification ()
 
- Public Slots inherited from QObject
void deleteLater ()
 Schedules this object for deletion. More...
 

Public Functions

virtual int accept ()=0
 
virtual bool bind (const QHostAddress &address, quint16 port)=0
 
virtual qint64 bytesAvailable () const =0
 
virtual qint64 bytesToWrite () const =0
 
virtual void close ()=0
 
virtual bool connectToHost (const QHostAddress &address, quint16 port)=0
 
virtual bool connectToHostByName (const QString &name, quint16 port)=0
 
QAbstractSocket::SocketError error () const
 
QString errorString () const
 
virtual bool hasPendingDatagrams () const =0
 
virtual bool initialize (QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol=QAbstractSocket::IPv4Protocol)=0
 
virtual bool initialize (int socketDescriptor, QAbstractSocket::SocketState socketState=QAbstractSocket::ConnectedState)=0
 
virtual bool isExceptionNotificationEnabled () const =0
 
virtual bool isReadNotificationEnabled () const =0
 
virtual bool isValid () const =0
 
virtual bool isWriteNotificationEnabled () const =0
 
virtual bool joinMulticastGroup (const QHostAddress &groupAddress, const QNetworkInterface &iface)=0
 
virtual bool leaveMulticastGroup (const QHostAddress &groupAddress, const QNetworkInterface &iface)=0
 
virtual bool listen ()=0
 
QHostAddress localAddress () const
 
quint16 localPort () const
 
virtual QNetworkInterface multicastInterface () const =0
 
virtual int option (SocketOption option) const =0
 
QHostAddress peerAddress () const
 
quint16 peerPort () const
 
virtual qint64 pendingDatagramSize () const =0
 
QAbstractSocket::NetworkLayerProtocol protocol () const
 
 QAbstractSocketEngine (QObject *parent=0)
 
virtual qint64 read (char *data, qint64 maxlen)=0
 
virtual qint64 readDatagram (char *data, qint64 maxlen, QHostAddress *addr=0, quint16 *port=0)=0
 
virtual void setExceptionNotificationEnabled (bool enable)=0
 
virtual bool setMulticastInterface (const QNetworkInterface &iface)=0
 
virtual bool setOption (SocketOption option, int value)=0
 
virtual void setReadNotificationEnabled (bool enable)=0
 
void setReceiver (QAbstractSocketEngineReceiver *receiver)
 
virtual void setWriteNotificationEnabled (bool enable)=0
 
virtual int socketDescriptor () const =0
 
QAbstractSocket::SocketType socketType () const
 
QAbstractSocket::SocketState state () const
 
virtual bool waitForRead (int msecs=30000, bool *timedOut=0)=0
 
virtual bool waitForReadOrWrite (bool *readyToRead, bool *readyToWrite, bool checkRead, bool checkWrite, int msecs=30000, bool *timedOut=0)=0
 
virtual bool waitForWrite (int msecs=30000, bool *timedOut=0)=0
 
virtual qint64 write (const char *data, qint64 len)=0
 
virtual qint64 writeDatagram (const char *data, qint64 len, const QHostAddress &addr, quint16 port)=0
 
- Public Functions inherited from QObject
bool blockSignals (bool b)
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More...
 
const QObjectListchildren () const
 Returns a list of child objects. More...
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectInfo ()
 Dumps information about signal connections, etc. More...
 
void dumpObjectTree ()
 Dumps a tree of children to the debug output. More...
 
QList< QByteArraydynamicPropertyNames () const
 Returns the names of all properties that were dynamically added to the object using setProperty(). More...
 
virtual bool event (QEvent *)
 This virtual function receives events to an object and should return true if the event e was recognized and processed. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Filters events if this object has been installed as an event filter for the watched object. More...
 
template<typename T >
findChild (const QString &aName=QString()) const
 Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More...
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More...
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More...
 
void installEventFilter (QObject *)
 Installs an event filter filterObj on this object. More...
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false. More...
 
void killTimer (int id)
 Kills the timer with timer identifier, id. More...
 
virtual const QMetaObjectmetaObject () const
 Returns a pointer to the meta-object of this object. More...
 
void moveToThread (QThread *thread)
 Changes the thread affinity for this object and its children. More...
 
QString objectName () const
 
QObjectparent () const
 Returns a pointer to the parent object. More...
 
QVariant property (const char *name) const
 Returns the value of the object's name property. More...
 
Q_INVOKABLE QObject (QObject *parent=0)
 Constructs an object with parent object parent. More...
 
void removeEventFilter (QObject *)
 Removes an event filter object obj from this object. More...
 
void setObjectName (const QString &name)
 
void setParent (QObject *)
 Makes the object a child of parent. More...
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value. More...
 
void setUserData (uint id, QObjectUserData *data)
 
bool signalsBlocked () const
 Returns true if signals are blocked; otherwise returns false. More...
 
int startTimer (int interval)
 Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More...
 
QThreadthread () const
 Returns the thread in which the object lives. More...
 
QObjectUserDatauserData (uint id) const
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects. More...
 

Static Public Functions

static QAbstractSocketEnginecreateSocketEngine (QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent)
 
static QAbstractSocketEnginecreateSocketEngine (int socketDescripter, QObject *parent)
 
- Static Public Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More...
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 Disconnects signal in object sender from method in object receiver. More...
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 
static QString tr (const char *sourceText, const char *comment=0, int n=-1)
 
static QString trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 

Protected Functions

 QAbstractSocketEngine (QAbstractSocketEnginePrivate &dd, QObject *parent=0)
 
void setError (QAbstractSocket::SocketError error, const QString &errorString) const
 
void setLocalAddress (const QHostAddress &address)
 
void setLocalPort (quint16 port)
 
void setPeerAddress (const QHostAddress &address)
 
void setPeerPort (quint16 port)
 
void setProtocol (QAbstractSocket::NetworkLayerProtocol protocol)
 
void setSocketType (QAbstractSocket::SocketType socketType)
 
void setState (QAbstractSocket::SocketState state)
 
- Protected Functions inherited from QObject
virtual void childEvent (QChildEvent *)
 This event handler can be reimplemented in a subclass to receive child events. More...
 
virtual void connectNotify (const char *signal)
 This virtual function is called when something has been connected to signal in this object. More...
 
virtual void customEvent (QEvent *)
 This event handler can be reimplemented in a subclass to receive custom events. More...
 
virtual void disconnectNotify (const char *signal)
 This virtual function is called when something has been disconnected from signal in this object. More...
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal. More...
 
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More...
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *)
 This event handler can be reimplemented in a subclass to receive timer events for the object. More...
 

Additional Inherited Members

- Signals inherited from QObject
void destroyed (QObject *=0)
 This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More...
 
- Static Public Variables inherited from QObject
static const QMetaObject staticMetaObject
 This variable stores the meta-object for the class. More...
 
- Protected Variables inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Variables inherited from QObject
static const QMetaObject staticQtMetaObject
 

Detailed Description

Definition at line 81 of file qabstractsocketengine_p.h.

Enumerations

◆ SocketOption

Enumerator
NonBlockingSocketOption 
BroadcastSocketOption 
ReceiveBufferSocketOption 
SendBufferSocketOption 
AddressReusable 
BindExclusively 
ReceiveOutOfBandData 
LowDelayOption 
KeepAliveOption 
MulticastTtlOption 
MulticastLoopbackOption 

Definition at line 91 of file qabstractsocketengine_p.h.

Constructors and Destructors

◆ QAbstractSocketEngine() [1/2]

QAbstractSocketEngine::QAbstractSocketEngine ( QObject parent = 0)

Definition at line 92 of file qabstractsocketengine.cpp.

93  : QObject(*new QAbstractSocketEnginePrivate(), parent)
94 {
95 }
Q_INVOKABLE QObject(QObject *parent=0)
Constructs an object with parent object parent.
Definition: qobject.cpp:753

◆ QAbstractSocketEngine() [2/2]

QAbstractSocketEngine::QAbstractSocketEngine ( QAbstractSocketEnginePrivate dd,
QObject parent = 0 
)
protected

Definition at line 97 of file qabstractsocketengine.cpp.

98  : QObject(dd, parent)
99 {
100 }
Q_INVOKABLE QObject(QObject *parent=0)
Constructs an object with parent object parent.
Definition: qobject.cpp:753

Functions

◆ accept()

virtual int QAbstractSocketEngine::accept ( )
pure virtual

◆ bind()

virtual bool QAbstractSocketEngine::bind ( const QHostAddress address,
quint16  port 
)
pure virtual

◆ bytesAvailable()

virtual qint64 QAbstractSocketEngine::bytesAvailable ( ) const
pure virtual

◆ bytesToWrite()

virtual qint64 QAbstractSocketEngine::bytesToWrite ( ) const
pure virtual

◆ close()

virtual void QAbstractSocketEngine::close ( )
pure virtual

◆ connectionNotification

void QAbstractSocketEngine::connectionNotification ( )
slot

Definition at line 183 of file qabstractsocketengine.cpp.

Referenced by QNativeSocketEngine::connectionNotification(), and QHttpSocketEngine::emitPendingConnectionNotification().

184 {
185  if (QAbstractSocketEngineReceiver *receiver = d_func()->receiver)
186  receiver->connectionNotification();
187 }

◆ connectToHost()

virtual bool QAbstractSocketEngine::connectToHost ( const QHostAddress address,
quint16  port 
)
pure virtual

◆ connectToHostByName()

virtual bool QAbstractSocketEngine::connectToHostByName ( const QString name,
quint16  port 
)
pure virtual

◆ createSocketEngine() [1/2]

QAbstractSocketEngine * QAbstractSocketEngine::createSocketEngine ( QAbstractSocket::SocketType  socketType,
const QNetworkProxy proxy,
QObject parent 
)
static

Definition at line 102 of file qabstractsocketengine.cpp.

Referenced by createSocketEngine(), QAbstractSocketPrivate::initSocketLayer(), QTcpServer::listen(), QTcpServer::setSocketDescriptor(), and QAbstractSocket::setSocketDescriptor().

103 {
104 #ifndef QT_NO_NETWORKPROXY
105  // proxy type must have been resolved by now
106  if (proxy.type() == QNetworkProxy::DefaultProxy)
107  return 0;
108 #endif
109 
110  QMutexLocker locker(&socketHandlers()->mutex);
111  for (int i = 0; i < socketHandlers()->size(); i++) {
112  if (QAbstractSocketEngine *ret = socketHandlers()->at(i)->createSocketEngine(socketType, proxy, parent))
113  return ret;
114  }
115 
116 #ifndef QT_NO_NETWORKPROXY
117  // only NoProxy can have reached here
118  if (proxy.type() != QNetworkProxy::NoProxy)
119  return 0;
120 #endif
121 
122 #ifdef Q_OS_SYMBIAN
123  return new QSymbianSocketEngine(parent);
124 #else
125  return new QNativeSocketEngine(parent);
126 #endif
127 }
QNetworkProxy::ProxyType type() const
Returns the proxy type for this instance.
static QAbstractSocketEngine * createSocketEngine(QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent)
The QNativeSocketEngine class provides low level access to a socket.
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101
QAbstractSocket::SocketType socketType() const

◆ createSocketEngine() [2/2]

QAbstractSocketEngine * QAbstractSocketEngine::createSocketEngine ( int  socketDescripter,
QObject parent 
)
static

Definition at line 129 of file qabstractsocketengine.cpp.

130 {
131  QMutexLocker locker(&socketHandlers()->mutex);
132  for (int i = 0; i < socketHandlers()->size(); i++) {
133  if (QAbstractSocketEngine *ret = socketHandlers()->at(i)->createSocketEngine(socketDescripter, parent))
134  return ret;
135  }
136 #ifdef Q_OS_SYMBIAN
137  return new QSymbianSocketEngine(parent);
138 #else
139  return new QNativeSocketEngine(parent);
140 #endif
141 }
static QAbstractSocketEngine * createSocketEngine(QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent)
The QNativeSocketEngine class provides low level access to a socket.
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101

◆ error()

QAbstractSocket::SocketError QAbstractSocketEngine::error ( ) const

◆ errorString()

QString QAbstractSocketEngine::errorString ( ) const

◆ exceptionNotification

void QAbstractSocketEngine::exceptionNotification ( )
slot

Definition at line 177 of file qabstractsocketengine.cpp.

178 {
179  if (QAbstractSocketEngineReceiver *receiver = d_func()->receiver)
180  receiver->exceptionNotification();
181 }

◆ hasPendingDatagrams()

virtual bool QAbstractSocketEngine::hasPendingDatagrams ( ) const
pure virtual

◆ initialize() [1/2]

virtual bool QAbstractSocketEngine::initialize ( QAbstractSocket::SocketType  type,
QAbstractSocket::NetworkLayerProtocol  protocol = QAbstractSocket::IPv4Protocol 
)
pure virtual

◆ initialize() [2/2]

virtual bool QAbstractSocketEngine::initialize ( int  socketDescriptor,
QAbstractSocket::SocketState  socketState = QAbstractSocket::ConnectedState 
)
pure virtual

◆ isExceptionNotificationEnabled()

virtual bool QAbstractSocketEngine::isExceptionNotificationEnabled ( ) const
pure virtual

◆ isReadNotificationEnabled()

virtual bool QAbstractSocketEngine::isReadNotificationEnabled ( ) const
pure virtual

◆ isValid()

virtual bool QAbstractSocketEngine::isValid ( ) const
pure virtual

◆ isWriteNotificationEnabled()

virtual bool QAbstractSocketEngine::isWriteNotificationEnabled ( ) const
pure virtual

◆ joinMulticastGroup()

virtual bool QAbstractSocketEngine::joinMulticastGroup ( const QHostAddress groupAddress,
const QNetworkInterface iface 
)
pure virtual

◆ leaveMulticastGroup()

virtual bool QAbstractSocketEngine::leaveMulticastGroup ( const QHostAddress groupAddress,
const QNetworkInterface iface 
)
pure virtual

◆ listen()

virtual bool QAbstractSocketEngine::listen ( )
pure virtual

◆ localAddress()

QHostAddress QAbstractSocketEngine::localAddress ( ) const

Definition at line 228 of file qabstractsocketengine.cpp.

Referenced by QAbstractSocketPrivate::fetchConnectionParameters().

229 {
230  return d_func()->localAddress;
231 }

◆ localPort()

quint16 QAbstractSocketEngine::localPort ( ) const

Definition at line 238 of file qabstractsocketengine.cpp.

Referenced by QAbstractSocketPrivate::fetchConnectionParameters().

239 {
240  return d_func()->localPort;
241 }

◆ multicastInterface()

virtual QNetworkInterface QAbstractSocketEngine::multicastInterface ( ) const
pure virtual

◆ option()

virtual int QAbstractSocketEngine::option ( SocketOption  option) const
pure virtual

◆ peerAddress()

QHostAddress QAbstractSocketEngine::peerAddress ( ) const

Definition at line 248 of file qabstractsocketengine.cpp.

Referenced by QAbstractSocketPrivate::fetchConnectionParameters(), and QHttpSocketEngine::slotSocketConnected().

249 {
250  return d_func()->peerAddress;
251 }

◆ peerPort()

quint16 QAbstractSocketEngine::peerPort ( ) const

Definition at line 258 of file qabstractsocketengine.cpp.

Referenced by QAbstractSocketPrivate::fetchConnectionParameters().

259 {
260  return d_func()->peerPort;
261 }

◆ pendingDatagramSize()

virtual qint64 QAbstractSocketEngine::pendingDatagramSize ( ) const
pure virtual

◆ protocol()

QAbstractSocket::NetworkLayerProtocol QAbstractSocketEngine::protocol ( ) const

Definition at line 218 of file qabstractsocketengine.cpp.

Referenced by QSocks5SocketEngine::initialize(), QNativeSocketEngine::initialize(), and setProtocol().

219 {
220  return d_func()->socketProtocol;
221 }

◆ proxyAuthenticationRequired

void QAbstractSocketEngine::proxyAuthenticationRequired ( const QNetworkProxy proxy,
QAuthenticator authenticator 
)
slot

Definition at line 190 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::slotSocketReadNotification().

191 {
192  if (QAbstractSocketEngineReceiver *receiver = d_func()->receiver)
193  receiver->proxyAuthenticationRequired(proxy, authenticator);
194 }

◆ read()

virtual qint64 QAbstractSocketEngine::read ( char *  data,
qint64  maxlen 
)
pure virtual

◆ readDatagram()

virtual qint64 QAbstractSocketEngine::readDatagram ( char *  data,
qint64  maxlen,
QHostAddress addr = 0,
quint16 port = 0 
)
pure virtual

◆ readNotification

void QAbstractSocketEngine::readNotification ( )
slot

Definition at line 165 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::emitPendingReadNotification().

166 {
167  if (QAbstractSocketEngineReceiver *receiver = d_func()->receiver)
168  receiver->readNotification();
169 }

◆ setError()

void QAbstractSocketEngine::setError ( QAbstractSocket::SocketError  error,
const QString errorString 
) const
protected

◆ setExceptionNotificationEnabled()

virtual void QAbstractSocketEngine::setExceptionNotificationEnabled ( bool  enable)
pure virtual

◆ setLocalAddress()

void QAbstractSocketEngine::setLocalAddress ( const QHostAddress address)
protected

Definition at line 233 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::slotSocketReadNotification().

234 {
235  d_func()->localAddress = address;
236 }

◆ setLocalPort()

void QAbstractSocketEngine::setLocalPort ( quint16  port)
protected

Definition at line 243 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::slotSocketReadNotification().

244 {
245  d_func()->localPort = port;
246 }

◆ setMulticastInterface()

virtual bool QAbstractSocketEngine::setMulticastInterface ( const QNetworkInterface iface)
pure virtual

◆ setOption()

virtual bool QAbstractSocketEngine::setOption ( SocketOption  option,
int  value 
)
pure virtual

◆ setPeerAddress()

void QAbstractSocketEngine::setPeerAddress ( const QHostAddress address)
protected

◆ setPeerPort()

void QAbstractSocketEngine::setPeerPort ( quint16  port)
protected

◆ setProtocol()

void QAbstractSocketEngine::setProtocol ( QAbstractSocket::NetworkLayerProtocol  protocol)
protected

Definition at line 223 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::initialize().

224 {
225  d_func()->socketProtocol = protocol;
226 }
QAbstractSocket::NetworkLayerProtocol protocol() const

◆ setReadNotificationEnabled()

virtual void QAbstractSocketEngine::setReadNotificationEnabled ( bool  enable)
pure virtual

◆ setReceiver()

void QAbstractSocketEngine::setReceiver ( QAbstractSocketEngineReceiver receiver)

Definition at line 160 of file qabstractsocketengine.cpp.

Referenced by QAbstractSocketPrivate::initSocketLayer().

161 {
162  d_func()->receiver = receiver;
163 }

◆ setSocketType()

void QAbstractSocketEngine::setSocketType ( QAbstractSocket::SocketType  socketType)
protected

Definition at line 213 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::initialize().

214 {
215  d_func()->socketType = socketType;
216 }
QAbstractSocket::SocketType socketType() const

◆ setState()

void QAbstractSocketEngine::setState ( QAbstractSocket::SocketState  state)
protected

◆ setWriteNotificationEnabled()

virtual void QAbstractSocketEngine::setWriteNotificationEnabled ( bool  enable)
pure virtual

◆ socketDescriptor()

virtual int QAbstractSocketEngine::socketDescriptor ( ) const
pure virtual

◆ socketType()

QAbstractSocket::SocketType QAbstractSocketEngine::socketType ( ) const

Definition at line 208 of file qabstractsocketengine.cpp.

Referenced by QSocks5SocketEngine::bind(), QSocks5SocketEngine::connectInternal(), QNativeSocketEngine::initialize(), and setSocketType().

209 {
210  return d_func()->socketType;
211 }

◆ state()

QAbstractSocket::SocketState QAbstractSocketEngine::state ( ) const

◆ waitForRead()

virtual bool QAbstractSocketEngine::waitForRead ( int  msecs = 30000,
bool *  timedOut = 0 
)
pure virtual

◆ waitForReadOrWrite()

virtual bool QAbstractSocketEngine::waitForReadOrWrite ( bool *  readyToRead,
bool *  readyToWrite,
bool  checkRead,
bool  checkWrite,
int  msecs = 30000,
bool *  timedOut = 0 
)
pure virtual

◆ waitForWrite()

virtual bool QAbstractSocketEngine::waitForWrite ( int  msecs = 30000,
bool *  timedOut = 0 
)
pure virtual

◆ write()

virtual qint64 QAbstractSocketEngine::write ( const char *  data,
qint64  len 
)
pure virtual

◆ writeDatagram()

virtual qint64 QAbstractSocketEngine::writeDatagram ( const char *  data,
qint64  len,
const QHostAddress addr,
quint16  port 
)
pure virtual

◆ writeNotification

void QAbstractSocketEngine::writeNotification ( )
slot

Definition at line 171 of file qabstractsocketengine.cpp.

Referenced by QHttpSocketEngine::emitPendingWriteNotification().

172 {
173  if (QAbstractSocketEngineReceiver *receiver = d_func()->receiver)
174  receiver->writeNotification();
175 }

The documentation for this class was generated from the following files: