• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

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"

Include dependency graph for kdpipeiodevice.cpp:

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.

QWaitCondition blockedConsumerIsDoneCondition

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.

QWaitCondition bufferEmptyCondition

Definition at line 175 of file kdpipeiodevice.cpp.

QWaitCondition bufferNotEmptyCondition

Definition at line 105 of file kdpipeiodevice.cpp.

QWaitCondition bufferNotFullCondition

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.

QWaitCondition hasStarted

Definition at line 106 of file kdpipeiodevice.cpp.

bool isReading

Definition at line 114 of file kdpipeiodevice.cpp.

QMutex mutex

Definition at line 102 of file kdpipeiodevice.cpp.

unsigned int numBytesInBuffer

Definition at line 182 of file kdpipeiodevice.cpp.

QWaitCondition readyReadSentCondition

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.

QWaitCondition waitForCancelCondition

Definition at line 103 of file kdpipeiodevice.cpp.

unsigned int wptr

Definition at line 118 of file kdpipeiodevice.cpp.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal