KDECore
Go to the documentation of this file.
25 #ifndef KCLIENTSOCKETBASE_H
26 #define KCLIENTSOCKETBASE_H
28 #include <QtCore/QObject>
29 #include <QtCore/QString>
37 class KClientSocketBasePrivate;
104 SocketState state()
const;
110 virtual bool setSocketOptions(
int opts);
157 void setResolutionEnabled(
bool enable);
165 void setFamily(
int families);
184 virtual bool lookup();
249 OpenMode mode = ReadWrite) = 0;
256 OpenMode mode = ReadWrite);
262 virtual bool disconnect();
269 virtual bool open(OpenMode mode);
277 virtual void close();
283 virtual bool flush();
289 virtual qint64 bytesAvailable()
const;
309 bool emitsReadyRead()
const;
317 virtual void enableRead(
bool enable);
322 bool emitsReadyWrite()
const;
330 virtual void enableWrite(
bool enable);
344 virtual void slotReadActivity();
355 virtual void slotWriteActivity();
358 void lookupFinishedSlot();
369 void stateChanged(
int newstate);
376 void gotError(
int code);
469 void setState(SocketState state);
480 virtual void stateChanging(SocketState newState);
492 KClientSocketBasePrivate*
const d;
Abstract class for active sockets.
Name and service resolution class.
A generic socket address.
Name and service resolution results.
int open(const QString &pathname, int flags, mode_t mode)
SocketState
Socket states.
Abstract client socket class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.