42 #ifndef QLOCALSERVER_H 43 #define QLOCALSERVER_H 45 #include <QtNetwork/qabstractsocket.h> 53 #ifndef QT_NO_LOCALSERVER 72 virtual bool hasPendingConnections()
const;
73 bool isListening()
const;
75 int maxPendingConnections()
const;
79 static bool removeServer(
const QString &name);
81 void setMaxPendingConnections(
int numConnections);
82 bool waitForNewConnection(
int msec = 0,
bool *timedOut = 0);
85 virtual void incomingConnection(
quintptr socketDescriptor);
92 #endif // QT_NO_LOCALSERVER 98 #endif // QLOCALSERVER_H QIntegerForSizeof< void * >::Unsigned quintptr
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
The QLocalSocket class provides a local socket.
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
#define QT_BEGIN_NAMESPACE
This macro expands to.
SocketError
This enum describes the socket errors that can occur.
The QLocalServer class provides a local socket based server.
#define Q_DECLARE_PRIVATE(Class)