KDECore
klocalsocket_unix.cpp
Go to the documentation of this file.
171 void KLocalSocketPrivate::connectToPath(const QString &path, KLocalSocket::LocalSocketType aType,
238 bool KLocalSocketServerPrivate::listen(const QString &path, KLocalSocket::LocalSocketType aType)
typedef OpenMode
QString i18n(const char *text)
Returns a localized version of a string.
Definition: klocalizedstring.h:630
bool remove()
bool processSocketActivity()
Definition: klocalsocket_unix.cpp:374
QSocketNotifier * readNotifier
Definition: klocalsocket_p.h:65
void _k_newConnectionActivity()
Definition: klocalsocket_unix.cpp:399
QTcpServer * listen(const QString &protocol, const QHostAddress &address=QHostAddress::Any, quint16 port=0, QObject *parent=0)
Opens a TCP/IP socket for listening protocol protocol, binding only at address address.
Definition: ksocketfactory.cpp:115
int length() const
bool setSocketDescriptor(int socketDescriptor, SocketState socketState, QFlags< QIODevice::OpenModeFlag > openMode)
QQueue< KLocalSocket * > pendingConnections
Definition: klocalsocket_p.h:66
void connected()
bool listen(const QString &path, KLocalSocket::LocalSocketType type)
Definition: klocalsocket_unix.cpp:238
void clear()
void connectToPath(const QString &path, KLocalSocket::LocalSocketType type, QAbstractSocket::OpenMode openMode)
Definition: klocalsocket_unix.cpp:171
bool isEmpty() const
const char * constData() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void emitError(QAbstractSocket::SocketError, const QString &errorString)
Definition: klocalsocket.cpp:29
int maxPendingConnections
Definition: klocalsocket_p.h:58
static int kConnect(int fd, const sockaddr *sa, int len)
Definition: klocalsocket_unix.cpp:52
void setEnabled(bool enable)
virtual void incomingConnection(int handle)
Definition: klocalsocket.cpp:202
void emitError(QAbstractSocket::SocketError, const QString &errorString)
Definition: klocalsocket.cpp:38
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QByteArray encodeName(const QString &fileName)
bool waitForNewConnection(int msec, bool *timedOut)
Definition: klocalsocket_unix.cpp:337
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.