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

kleopatra

KDPipeIODevice Class Reference

#include <kdpipeiodevice.h>

Inheritance diagram for KDPipeIODevice:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 29 of file kdpipeiodevice.h.


Public Types

enum  DebugLevel { NoDebug, Debug }

Public Member Functions

bool atEnd () const
qint64 bytesAvailable () const
qint64 bytesToWrite () const
bool canReadLine () const
void close ()
int descriptor () const
Qt::HANDLE handle () const
bool isSequential () const
 KDPipeIODevice (Qt::HANDLE handle, OpenMode=ReadOnly, QObject *parent=0)
 KDPipeIODevice (int fd, OpenMode=ReadOnly, QObject *parent=0)
 KDPipeIODevice (QObject *parent=0)
bool open (Qt::HANDLE handle, OpenMode mode=ReadOnly)
bool open (int fd, OpenMode mode=ReadOnly)
bool readWouldBlock () const
bool waitForBytesWritten (int msecs)
bool waitForReadyRead (int msecs)
bool writeWouldBlock () const
 ~KDPipeIODevice ()

Static Public Member Functions

static DebugLevel debugLevel ()
static std::pair
< KDPipeIODevice *,
KDPipeIODevice * > 
makePairOfConnectedPipes ()
static void setDebugLevel (DebugLevel level)

Protected Member Functions

qint64 readData (char *data, qint64 maxSize)
qint64 writeData (const char *data, qint64 maxSize)

Member Enumeration Documentation

enum KDPipeIODevice::DebugLevel

Enumerator:
NoDebug 
Debug 

Definition at line 33 of file kdpipeiodevice.h.


Constructor & Destructor Documentation

KDPipeIODevice::KDPipeIODevice ( QObject *  parent = 0  )  [explicit]

Definition at line 256 of file kdpipeiodevice.cpp.

KDPipeIODevice::KDPipeIODevice ( int  fd,
OpenMode  mode = ReadOnly,
QObject *  parent = 0 
) [explicit]

Definition at line 262 of file kdpipeiodevice.cpp.

KDPipeIODevice::KDPipeIODevice ( Qt::HANDLE  handle,
OpenMode  mode = ReadOnly,
QObject *  parent = 0 
) [explicit]

Definition at line 269 of file kdpipeiodevice.cpp.

KDPipeIODevice::~KDPipeIODevice (  ) 

Definition at line 276 of file kdpipeiodevice.cpp.


Member Function Documentation

bool KDPipeIODevice::atEnd (  )  const

Definition at line 446 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesAvailable (  )  const

Definition at line 411 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesToWrite (  )  const

Definition at line 425 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::canReadLine (  )  const

Definition at line 433 of file kdpipeiodevice.cpp.

void KDPipeIODevice::close (  ) 

Reimplemented from QIODevice.

Definition at line 665 of file kdpipeiodevice.cpp.

KDPipeIODevice::DebugLevel KDPipeIODevice::debugLevel (  )  [static]

Definition at line 231 of file kdpipeiodevice.cpp.

int KDPipeIODevice::descriptor (  )  const

Definition at line 402 of file kdpipeiodevice.cpp.

Qt::HANDLE KDPipeIODevice::handle (  )  const

Definition at line 407 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::isSequential (  )  const

Definition at line 442 of file kdpipeiodevice.cpp.

std::pair< KDPipeIODevice *, KDPipeIODevice * > KDPipeIODevice::makePairOfConnectedPipes (  )  [static]

Definition at line 897 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::open ( Qt::HANDLE  handle,
OpenMode  mode = ReadOnly 
)

Definition at line 291 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::open ( int  fd,
OpenMode  mode = ReadOnly 
)

Definition at line 283 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::readData ( char *  data,
qint64  maxSize 
) [protected]

Reimplemented from QIODevice.

Definition at line 521 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::readWouldBlock (  )  const

Definition at line 506 of file kdpipeiodevice.cpp.

void KDPipeIODevice::setDebugLevel ( KDPipeIODevice::DebugLevel  level  )  [static]

Definition at line 236 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::waitForBytesWritten ( int  msecs  ) 

Reimplemented from QIODevice.

Definition at line 467 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::waitForReadyRead ( int  msecs  ) 

Reimplemented from QIODevice.

Definition at line 478 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::writeData ( const char *  data,
qint64  maxSize 
) [protected]

Reimplemented from QIODevice.

Definition at line 594 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::writeWouldBlock (  )  const

Definition at line 513 of file kdpipeiodevice.cpp.


The documentation for this class was generated from the following files:
  • kdpipeiodevice.h
  • 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
  •   doc
  • 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