• 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
 
- Public Member Functions inherited from QIODevice
 QIODevice ()
 
 QIODevice (QObject *parent)
 
virtual  ~QIODevice ()
 
void aboutToClose ()
 
Offset at () const
 
bool at (Offset offset)
 
void bytesWritten (qint64 bytes)
 
QString errorString () const
 
int flags () const
 
int getch ()
 
bool getChar (char *c)
 
bool isAsynchronous () const
 
bool isBuffered () const
 
bool isCombinedAccess () const
 
bool isDirectAccess () const
 
bool isInactive () const
 
bool isOpen () const
 
bool isRaw () const
 
bool isReadable () const
 
bool isSequentialAccess () const
 
bool isSynchronous () const
 
bool isTextModeEnabled () const
 
bool isTranslated () const
 
bool isWritable () const
 
int mode () const
 
virtual bool open (QFlags< QIODevice::OpenModeFlag > mode)
 
OpenMode openMode () const
 
qint64 peek (char *data, qint64 maxSize)
 
QByteArray peek (qint64 maxSize)
 
virtual qint64 pos () const
 
int putch (int ch)
 
bool putChar (char c)
 
qint64 read (char *data, qint64 maxSize)
 
QByteArray read (qint64 maxSize)
 
QByteArray readAll ()
 
qint64 readBlock (char *data, quint64 size)
 
void readChannelFinished ()
 
QByteArray readLine (qint64 maxSize)
 
qint64 readLine (char *data, qint64 maxSize)
 
void readyRead ()
 
virtual bool reset ()
 
void resetStatus ()
 
virtual bool seek (qint64 pos)
 
void setTextModeEnabled (bool enabled)
 
virtual qint64 size () const
 
int state () const
 
Status status () const
 
int ungetch (int ch)
 
void ungetChar (char c)
 
qint64 write (const char *data)
 
qint64 write (const char *data, qint64 maxSize)
 
qint64 write (const QByteArray &byteArray)
 
qint64 writeBlock (const QByteArray &data)
 
qint64 writeBlock (const char *data, quint64 size)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Static Public Member Functions

static DebugLevel debugLevel ()
 
static std::pair
< KDPipeIODevice
*, KDPipeIODevice * > 
makePairOfConnectedPipes ()
 
static void setDebugLevel (DebugLevel level)
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

qint64 readData (char *data, qint64 maxSize)
 
qint64 writeData (const char *data, qint64 maxSize)
 
- Protected Member Functions inherited from QIODevice
virtual qint64 readData (char *data, qint64 maxSize)=0
 
virtual qint64 readLineData (char *data, qint64 maxSize)
 
void setErrorString (const QString &str)
 
void setOpenMode (QFlags< QIODevice::OpenModeFlag > openMode)
 
virtual qint64 writeData (const char *data, qint64 maxSize)=0
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Additional Inherited Members

- Public Attributes inherited from QIODevice
typedef Offset
 
typedef OpenMode
 
typedef Status
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

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
virtual

Reimplemented from QIODevice.

Definition at line 455 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesAvailable ( ) const
virtual

Reimplemented from QIODevice.

Definition at line 417 of file kdpipeiodevice.cpp.

qint64 KDPipeIODevice::bytesToWrite ( ) const
virtual

Reimplemented from QIODevice.

Definition at line 432 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::canReadLine ( ) const
virtual

Reimplemented from QIODevice.

Definition at line 441 of file kdpipeiodevice.cpp.

void KDPipeIODevice::close ( )
virtual

Reimplemented from QIODevice.

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
virtual

Reimplemented from QIODevice.

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)
virtual

Reimplemented from QIODevice.

Definition at line 480 of file kdpipeiodevice.cpp.

bool KDPipeIODevice::waitForReadyRead ( int  msecs)
virtual

Reimplemented from QIODevice.

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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 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
  • pimprint

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