#include <QtNetwork/QLocalServer>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QLocalServer


Public Functions Index

QLocalServer (QObject *parent=0)
~QLocalServer ()
voidclose ()
QStringerrorString () const
QStringfullServerName () const
virtual boolhasPendingConnections () const
boolisListening () const
boollisten (const QString &name)
intmaxPendingConnections () const
virtual QLocalSocket *nextPendingConnection ()
QAbstractSocket::SocketErrorserverError () const
QStringserverName () const
voidsetMaxPendingConnections (int numConnections)
boolwaitForNewConnection (int msec=0, bool *timedOut=0)

Static Public Functions Index

boolremoveServer (const QString &name)

Protected Functions Index

virtual voidincomingConnection (quintptr socketDescriptor)

Signals Index

Public Functions

QLocalServer (

~QLocalServer ()


void close ()

QString errorString ()

QString fullServerName ()

virtual bool hasPendingConnections ()

bool isListening ()

bool listen (

int maxPendingConnections ()

virtualQLocalSocket * nextPendingConnection ()

QAbstractSocket::SocketError serverError ()

QString serverName ()

void setMaxPendingConnections (
  • intnumConnections)

bool waitForNewConnection (
  • intmsec,
  • bool *timedOut )

Static Public Functions

bool removeServer (

Protected Functions

virtual void incomingConnection (
  • quintptrsocketDescriptor)


void newConnection ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus