kleopatra
kdpipeiodevice.cpp File Reference
#include <config-kleopatra.h>
#include "kdpipeiodevice.h"
#include <QtCore>
#include <cassert>
#include <cstring>
#include <memory>
#include <algorithm>
#include <unistd.h>
#include <errno.h>
#include "moc_kdpipeiodevice.cpp"
#include "kdpipeiodevice.moc"

Go to the source code of this file.
Defines | |
| #define | KDAB_CHECK_CTOR (void)1 |
| #define | KDAB_CHECK_DTOR KDAB_CHECK_CTOR |
| #define | KDAB_CHECK_THIS KDAB_CHECK_CTOR |
| #define | LOCKED(d) const QMutexLocker locker( &d->mutex ) |
| #define | qDebug if( s_debugLevel == KDPipeIODevice::NoDebug ){}else qDebug |
| #define | synchronized(d) if ( int i = 0 ) {} else for ( const QMutexLocker locker( &d->mutex ) ; !i ; ++i ) |
| #define | waitAndDelete(t) if ( t ) { t->wait(); QThread* const t2 = t; t = 0; delete t2; } |
Variables | |
| const bool | ALLOW_QIODEVICE_BUFFERING = true |
| const unsigned int | BUFFER_SIZE = 4096 |
| KDPipeIODevice::DebugLevel | s_debugLevel = KDPipeIODevice::NoDebug |
Define Documentation
| #define KDAB_CHECK_CTOR (void)1 |
Definition at line 43 of file kdpipeiodevice.cpp.
| #define KDAB_CHECK_DTOR KDAB_CHECK_CTOR |
Definition at line 44 of file kdpipeiodevice.cpp.
| #define KDAB_CHECK_THIS KDAB_CHECK_CTOR |
Definition at line 45 of file kdpipeiodevice.cpp.
| #define LOCKED | ( | d | ) | const QMutexLocker locker( &d->mutex ) |
Definition at line 48 of file kdpipeiodevice.cpp.
| #define qDebug if( s_debugLevel == KDPipeIODevice::NoDebug ){}else qDebug |
Definition at line 58 of file kdpipeiodevice.cpp.
| #define synchronized | ( | d | ) | if ( int i = 0 ) {} else for ( const QMutexLocker locker( &d->mutex ) ; !i ; ++i ) |
Definition at line 49 of file kdpipeiodevice.cpp.
| #define waitAndDelete | ( | t | ) | if ( t ) { t->wait(); QThread* const t2 = t; t = 0; delete t2; } |
Variable Documentation
| const bool ALLOW_QIODEVICE_BUFFERING = true |
Definition at line 52 of file kdpipeiodevice.cpp.
Definition at line 108 of file kdpipeiodevice.cpp.
| char buffer[BUFFER_SIZE] |
Definition at line 119 of file kdpipeiodevice.cpp.
| const unsigned int BUFFER_SIZE = 4096 |
Definition at line 51 of file kdpipeiodevice.cpp.
Definition at line 175 of file kdpipeiodevice.cpp.
Definition at line 105 of file kdpipeiodevice.cpp.
Definition at line 104 of file kdpipeiodevice.cpp.
| bool cancel |
Definition at line 109 of file kdpipeiodevice.cpp.
| bool consumerBlocksOnUs |
Definition at line 115 of file kdpipeiodevice.cpp.
| bool eof |
Definition at line 110 of file kdpipeiodevice.cpp.
| bool eofShortCut |
Definition at line 112 of file kdpipeiodevice.cpp.
| bool error |
Definition at line 111 of file kdpipeiodevice.cpp.
| int errorCode |
Definition at line 113 of file kdpipeiodevice.cpp.
| int fd |
Definition at line 99 of file kdpipeiodevice.cpp.
| Qt::HANDLE handle |
Definition at line 100 of file kdpipeiodevice.cpp.
Definition at line 106 of file kdpipeiodevice.cpp.
| bool isReading |
Definition at line 114 of file kdpipeiodevice.cpp.
Definition at line 102 of file kdpipeiodevice.cpp.
| unsigned int numBytesInBuffer |
Definition at line 182 of file kdpipeiodevice.cpp.
Definition at line 107 of file kdpipeiodevice.cpp.
| unsigned int rptr |
Definition at line 118 of file kdpipeiodevice.cpp.
KDPipeIODevice::DebugLevel s_debugLevel = KDPipeIODevice::NoDebug [static] |
Definition at line 55 of file kdpipeiodevice.cpp.
Definition at line 103 of file kdpipeiodevice.cpp.
| unsigned int wptr |
Definition at line 118 of file kdpipeiodevice.cpp.
KDE 4.2 API Reference