KDECore
Go to the documentation of this file. 25 #ifndef KBUFFEREDSOCKET_H 26 #define KBUFFEREDSOCKET_H 31 #include <QtCore/QObject> 32 #include <QtCore/QByteArray> 33 #include <QtCore/QList> 37 class KBufferedSocketPrivate;
86 virtual bool setSocketOptions(
int opts);
100 virtual qint64 bytesAvailable()
const;
110 virtual void enableRead(
bool enable);
115 virtual void enableWrite(
bool enable);
120 void setInputBuffering(
bool enable);
125 void setOutputBuffering(
bool enable);
130 virtual qint64 bytesToWrite()
const;
138 virtual void closeNow();
143 virtual bool canReadLine()
const;
151 void waitForConnect();
178 virtual qint64 readLineData(
char *data,
qint64 maxSize);
189 virtual void slotReadActivity();
194 virtual void slotWriteActivity();
202 void bytesWritten(
int bytes);
209 KBufferedSocketPrivate*
const d;
A generic socket address.
A namespace to store all networking-related (socket) classes.
SocketState
Socket states.
Low-level socket functionality.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Jun 15 2017 13:46:44 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.