kleopatra
KDPipeIODevice Class Reference
#include <kdpipeiodevice.h>

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
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 | ( | ) |
| 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] |
| 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 | ) |
| bool KDPipeIODevice::waitForReadyRead | ( | int | msecs | ) |
| qint64 KDPipeIODevice::writeData | ( | const char * | data, | |
| qint64 | maxSize | |||
| ) | [protected] |
| bool KDPipeIODevice::writeWouldBlock | ( | ) | const |
Definition at line 513 of file kdpipeiodevice.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference