Qt 4.8
|
#include <qlocalsocket_p.h>
Public Functions | |
void | _q_canWrite () |
void | _q_emitReadyRead () |
void | _q_notified () |
void | _q_pipeClosed () |
DWORD | checkPipeState () |
Returns the number of available bytes in the pipe. More... | |
void | checkReadyRead () |
bool | completeAsyncRead () |
Sets the correct size of the read buffer after a read operation. More... | |
void | destroyPipeHandles () |
void | init () |
QLocalSocketPrivate () | |
void | setErrorString (const QString &function) |
void | startAsyncRead () |
~QLocalSocketPrivate () | |
Public Functions inherited from QIODevicePrivate | |
bool | isSequential () const |
virtual qint64 | peek (char *data, qint64 maxSize) |
virtual QByteArray | peek (qint64 maxSize) |
virtual bool | putCharHelper (char c) |
QIODevicePrivate () | |
virtual | ~QIODevicePrivate () |
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 Variables | |
static const qint64 | initialReadBufferSize = 4096 |
Additional Inherited Members | |
Public Types inherited from QIODevicePrivate | |
enum | AccessMode { Unset, Sequential, RandomAccess } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
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) |
Definition at line 114 of file qlocalsocket_p.h.
QLocalSocketPrivate::QLocalSocketPrivate | ( | ) |
Definition at line 52 of file qlocalsocket_tcp.cpp.
Referenced by setErrorString().
QLocalSocketPrivate::~QLocalSocketPrivate | ( | ) |
Definition at line 117 of file qlocalsocket_win.cpp.
void QLocalSocketPrivate::_q_canWrite | ( | ) |
Definition at line 506 of file qlocalsocket_win.cpp.
Referenced by completeAsyncRead().
void QLocalSocketPrivate::_q_emitReadyRead | ( | ) |
void QLocalSocketPrivate::_q_notified | ( | ) |
Definition at line 513 of file qlocalsocket_win.cpp.
void QLocalSocketPrivate::_q_pipeClosed | ( | ) |
Definition at line 392 of file qlocalsocket_win.cpp.
Referenced by _q_notified(), checkPipeState(), and destroyPipeHandles().
DWORD QLocalSocketPrivate::checkPipeState | ( | ) |
Returns the number of available bytes in the pipe.
Sets QLocalSocketPrivate::pipeClosed to true if the connection is broken.
Definition at line 375 of file qlocalsocket_win.cpp.
Referenced by startAsyncRead().
void QLocalSocketPrivate::checkReadyRead | ( | ) |
Definition at line 239 of file qlocalsocket_win.cpp.
bool QLocalSocketPrivate::completeAsyncRead | ( | ) |
Sets the correct size of the read buffer after a read operation.
Returns false, if an error occurred or the connection dropped.
Definition at line 319 of file qlocalsocket_win.cpp.
Referenced by _q_notified(), and startAsyncRead().
void QLocalSocketPrivate::destroyPipeHandles | ( | ) |
void QLocalSocketPrivate::init | ( | ) |
Definition at line 59 of file qlocalsocket_tcp.cpp.
void QLocalSocketPrivate::setErrorString | ( | const QString & | function | ) |
Definition at line 59 of file qlocalsocket_win.cpp.
Referenced by completeAsyncRead(), destroyPipeHandles(), and startAsyncRead().
void QLocalSocketPrivate::startAsyncRead | ( | ) |
Definition at line 256 of file qlocalsocket_win.cpp.
Referenced by _q_notified().
int QLocalSocketPrivate::actualReadBufferSize |
Definition at line 147 of file qlocalsocket_p.h.
Referenced by _q_notified(), checkPipeState(), checkReadyRead(), completeAsyncRead(), and setErrorString().
QWinEventNotifier* QLocalSocketPrivate::dataReadNotifier |
Definition at line 148 of file qlocalsocket_p.h.
QLocalSocket::LocalSocketError QLocalSocketPrivate::error |
Definition at line 149 of file qlocalsocket_p.h.
Referenced by destroyPipeHandles(), init(), and setErrorString().
QString QLocalSocketPrivate::fullServerName |
Definition at line 171 of file qlocalsocket_p.h.
Referenced by init().
HANDLE QLocalSocketPrivate::handle |
Definition at line 142 of file qlocalsocket_p.h.
Referenced by checkPipeState(), completeAsyncRead(), destroyPipeHandles(), setErrorString(), and startAsyncRead().
|
static |
Definition at line 153 of file qlocalsocket_p.h.
Referenced by startAsyncRead().
OVERLAPPED QLocalSocketPrivate::overlapped |
Definition at line 143 of file qlocalsocket_p.h.
Referenced by completeAsyncRead(), startAsyncRead(), and ~QLocalSocketPrivate().
bool QLocalSocketPrivate::pendingReadyRead |
Definition at line 151 of file qlocalsocket_p.h.
Referenced by _q_emitReadyRead(), _q_notified(), checkReadyRead(), and setErrorString().
bool QLocalSocketPrivate::pipeClosed |
Definition at line 152 of file qlocalsocket_p.h.
Referenced by _q_notified(), checkPipeState(), setErrorString(), and startAsyncRead().
QWindowsPipeWriter* QLocalSocketPrivate::pipeWriter |
Definition at line 144 of file qlocalsocket_p.h.
Referenced by setErrorString().
QRingBuffer QLocalSocketPrivate::readBuffer |
Definition at line 146 of file qlocalsocket_p.h.
Referenced by completeAsyncRead(), and startAsyncRead().
qint64 QLocalSocketPrivate::readBufferMaxSize |
Definition at line 145 of file qlocalsocket_p.h.
Referenced by setErrorString(), and startAsyncRead().
bool QLocalSocketPrivate::readSequenceStarted |
Definition at line 150 of file qlocalsocket_p.h.
Referenced by completeAsyncRead(), setErrorString(), and startAsyncRead().
QString QLocalSocketPrivate::serverName |
Definition at line 170 of file qlocalsocket_p.h.
Referenced by init().
QLocalSocket::LocalSocketState QLocalSocketPrivate::state |
Definition at line 172 of file qlocalsocket_p.h.
Referenced by _q_canWrite(), _q_emitReadyRead(), _q_pipeClosed(), QLocalSocket::connectToServer(), destroyPipeHandles(), init(), setErrorString(), QLocalSocket::waitForConnected(), QLocalSocket::waitForDisconnected(), and QLocalSocket::waitForReadyRead().