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

kleopatra

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
KDPipeIODevice Class Reference

#include <kdpipeiodevice.h>

Inheritance diagram for KDPipeIODevice:
Inheritance graph
[legend]

Public Types

enum  DebugLevel { NoDebug, Debug }
 

Public Member Functions

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

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)
 

Detailed Description

Definition at line 29 of file kdpipeiodevice.h.

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 260 of file kdpipeiodevice.cpp.

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

Definition at line 266 of file kdpipeiodevice.cpp.

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

Definition at line 273 of file kdpipeiodevice.cpp.

KDPipeIODevice::~KDPipeIODevice ( )

Definition at line 280 of file kdpipeiodevice.cpp.

Member Function Documentation

bool KDPipeIODevice::atEnd ( ) const

Definition at line 455 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesAvailable ( ) const

Definition at line 417 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesToWrite ( ) const

Definition at line 432 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::canReadLine ( ) const

Definition at line 441 of file kdpipeiodevice.cpp.

void KDPipeIODevice::close ( )

Definition at line 680 of file kdpipeiodevice.cpp.

KDPipeIODevice::DebugLevel KDPipeIODevice::debugLevel ( )
static

Definition at line 235 of file kdpipeiodevice.cpp.

int KDPipeIODevice::descriptor ( ) const

Definition at line 408 of file kdpipeiodevice.cpp.

Qt::HANDLE KDPipeIODevice::handle ( ) const

Definition at line 413 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::isSequential ( ) const

Definition at line 451 of file kdpipeiodevice.cpp.

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

Definition at line 911 of file kdpipeiodevice.cpp.

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

Definition at line 287 of file kdpipeiodevice.cpp.

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

Definition at line 295 of file kdpipeiodevice.cpp.

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

Definition at line 534 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::readWouldBlock ( ) const

Definition at line 519 of file kdpipeiodevice.cpp.

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

Definition at line 240 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::waitForBytesWritten ( int  msecs)

Definition at line 480 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::waitForReadyRead ( int  msecs)

Definition at line 491 of file kdpipeiodevice.cpp.

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

Definition at line 609 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::writeWouldBlock ( ) const

Definition at line 526 of file kdpipeiodevice.cpp.


The documentation for this class was generated from the following files:
  • kdpipeiodevice.h
  • kdpipeiodevice.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal