Home · All Classes · Modules

QLocalSocket Class Reference
[QtNetwork module]

Inherits QIODevice.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QLocalSocket.LocalSocketError

QLocalSocket.LocalSocketState


Method Documentation

QLocalSocket.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QLocalSocket.abort (self)

int QLocalSocket.bytesAvailable (self)

int QLocalSocket.bytesToWrite (self)

bool QLocalSocket.canReadLine (self)

QLocalSocket.close (self)

QLocalSocket.connectToServer (self, QString, QIODevice.OpenMode mode = QIODevice.ReadWrite)

QLocalSocket.disconnectFromServer (self)

LocalSocketError QLocalSocket.error (self)

bool QLocalSocket.flush (self)

QString QLocalSocket.fullServerName (self)

bool QLocalSocket.isSequential (self)

bool QLocalSocket.isValid (self)

int QLocalSocket.readBufferSize (self)

str QLocalSocket.readData (self, int maxlen)

QString QLocalSocket.serverName (self)

QLocalSocket.setReadBufferSize (self, int)

bool QLocalSocket.setSocketDescriptor (self, sip.voidptr, LocalSocketState state = QLocalSocket.ConnectedState, QIODevice.OpenMode mode = QIODevice.ReadWrite)

sip.voidptr QLocalSocket.socketDescriptor (self)

LocalSocketState QLocalSocket.state (self)

bool QLocalSocket.waitForBytesWritten (self, int msecs = 30000)

bool QLocalSocket.waitForConnected (self, int msecs = 30000)

bool QLocalSocket.waitForDisconnected (self, int msecs = 30000)

bool QLocalSocket.waitForReadyRead (self, int msecs = 30000)

int QLocalSocket.writeData (self, str)


Qt Signal Documentation

void connected ()

This is the default overload of this signal.

void disconnected ()

This is the default overload of this signal.

void error (QLocalSocket::LocalSocketError)

This is the default overload of this signal.

void stateChanged (QLocalSocket::LocalSocketState)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0