src/network/socket/qhttpsocketengine.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   273 qint64 QHttpSocketEngine::pendingDatagramSize() const
   273 qint64 QHttpSocketEngine::pendingDatagramSize() const
   274 {
   274 {
   275     return 0;
   275     return 0;
   276 }
   276 }
   277 #endif // QT_NO_UDPSOCKET
   277 #endif // QT_NO_UDPSOCKET
       
   278 
       
   279 qint64 QHttpSocketEngine::bytesToWrite() const
       
   280 {
       
   281     Q_D(const QHttpSocketEngine);
       
   282     if (d->socket) {
       
   283         return d->socket->bytesToWrite();
       
   284     } else {
       
   285         return 0;
       
   286     }
       
   287 }
   278 
   288 
   279 int QHttpSocketEngine::option(SocketOption option) const
   289 int QHttpSocketEngine::option(SocketOption option) const
   280 {
   290 {
   281     Q_D(const QHttpSocketEngine);
   291     Q_D(const QHttpSocketEngine);
   282     if (d->socket) {
   292     if (d->socket) {