42 #ifndef QLOCALSERVER_P_H 43 #define QLOCALSERVER_P_H 56 #ifndef QT_NO_LOCALSERVER 59 #include "private/qobject_p.h" 62 #if defined(QT_LOCALSOCKET_TCP) 64 #elif defined(Q_OS_WIN) 66 # include <private/qwineventnotifier_p.h> 68 # include <private/qabstractsocketengine_p.h> 80 #
if !defined(QT_LOCALSOCKET_TCP) && !defined(
Q_OS_WIN)
81 listenSocket(-1), socketNotifier(0),
94 #if defined(QT_LOCALSOCKET_TCP) 98 #elif defined(Q_OS_WIN) 128 #endif // QT_NO_LOCALSERVER 130 #endif // QLOCALSERVER_P_H
int maxPendingConnections
bool listen(const QString &name)
void waitForNewConnection(int msec, bool *timedOut)
#define QT_END_NAMESPACE
This macro expands to.
The QQueue class is a generic container that provides a queue.
QList< Listener > listeners
The QString class provides a Unicode character string.
The QSocketNotifier class provides support for monitoring activity on a file descriptor.
void _q_onNewConnection()
We have received a notification that we can read on the listen socket.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QQueue< QLocalSocket * > pendingConnections
SocketError
This enum describes the socket errors that can occur.
QWinEventNotifier * connectionEventNotifier
The QLocalServer class provides a local socket based server.
void setError(const QString &function)
#define Q_DECLARE_PUBLIC(Class)
The QTcpServer class provides a TCP-based server.
if(void) toggleToolbarShown
QAbstractSocket::SocketError error
The QAbstractSocket class provides the base functionality common to all socket types.
The QMap class is a template class that provides a skip-list-based dictionary.
The QList class is a template class that provides lists.
static bool removeServer(const QString &name)