Qt 4.8
|
#include <qlocalserver_p.h>
Classes | |
struct | Listener |
Public Functions | |
void | _q_onNewConnection () |
We have received a notification that we can read on the listen socket. More... | |
bool | addListener () |
void | closeServer () |
void | init () |
bool | listen (const QString &name) |
QLocalServerPrivate () | |
void | setError (const QString &function) |
void | waitForNewConnection (int msec, bool *timedOut) |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static bool | removeServer (const QString &name) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 74 of file qlocalserver_p.h.
|
inline |
Definition at line 79 of file qlocalserver_p.h.
void QLocalServerPrivate::_q_onNewConnection | ( | ) |
We have received a notification that we can read on the listen socket.
Accept the new socket.
Definition at line 99 of file qlocalserver_tcp.cpp.
Referenced by addListener(), init(), and QLocalServerPrivate().
bool QLocalServerPrivate::addListener | ( | ) |
Definition at line 58 of file qlocalserver_win.cpp.
void QLocalServerPrivate::closeServer | ( | ) |
Definition at line 81 of file qlocalserver_tcp.cpp.
Referenced by addListener(), and QLocalServerPrivate().
void QLocalServerPrivate::init | ( | ) |
Definition at line 53 of file qlocalserver_tcp.cpp.
Referenced by addListener(), and QLocalServerPrivate().
bool QLocalServerPrivate::listen | ( | const QString & | name | ) |
Definition at line 59 of file qlocalserver_tcp.cpp.
Referenced by addListener(), and QLocalServerPrivate().
|
static |
Definition at line 113 of file qlocalserver_tcp.cpp.
Referenced by addListener(), QLocalServerPrivate(), and QLocalServer::removeServer().
void QLocalServerPrivate::setError | ( | const QString & | function | ) |
Definition at line 234 of file qlocalserver_unix.cpp.
Referenced by addListener().
void QLocalServerPrivate::waitForNewConnection | ( | int | msec, |
bool * | timedOut | ||
) |
Definition at line 91 of file qlocalserver_tcp.cpp.
Referenced by addListener(), and QLocalServerPrivate().
QWinEventNotifier* QLocalServerPrivate::connectionEventNotifier |
Definition at line 110 of file qlocalserver_p.h.
Referenced by addListener().
QAbstractSocket::SocketError QLocalServerPrivate::error |
Definition at line 123 of file qlocalserver_p.h.
Referenced by addListener(), and setError().
QString QLocalServerPrivate::errorString |
Definition at line 122 of file qlocalserver_p.h.
Referenced by addListener(), and setError().
HANDLE QLocalServerPrivate::eventHandle |
Definition at line 109 of file qlocalserver_p.h.
Referenced by addListener().
QString QLocalServerPrivate::fullServerName |
Definition at line 119 of file qlocalserver_p.h.
Referenced by addListener(), closeServer(), listen(), and setError().
Definition at line 108 of file qlocalserver_p.h.
Referenced by addListener().
int QLocalServerPrivate::maxPendingConnections |
Definition at line 120 of file qlocalserver_p.h.
Referenced by addListener().
QQueue<QLocalSocket*> QLocalServerPrivate::pendingConnections |
Definition at line 121 of file qlocalserver_p.h.
Referenced by addListener(), and waitForNewConnection().
QString QLocalServerPrivate::serverName |
Definition at line 118 of file qlocalserver_p.h.
Referenced by removeServer().