Home · Modules · Classes · Namespaces · Functions

QxtDeplex Class Reference
[QxtCore module]

The QxtDeplex class puts a standard QIODevice into a QxtPipe chain More...

    #include <QxtDeplex>

Inherits QxtPipe.

Public Functions

Protected Functions

Additional Inherited Members


Detailed Description

The QxtDeplex class puts a standard QIODevice into a QxtPipe chain

implements a normal QxtPipe with the exception that r/w operations are delegated to the device set by setDevice()

See also QIODevice and QxtPipe.


Member Function Documentation

QxtDeplex::QxtDeplex ( QObject * parent = 0 )

creates a new QxtDeplex

creates a new QxtDeplex and delegates r/w operations to the device

delegate r/w operations to the device

returns the device currently delegated

QxtDeplex::QxtDeplex ( QIODevice * device, QObject * parent = 0 )

creates a new QxtDeplex

creates a new QxtDeplex and delegates r/w operations to the device

delegate r/w operations to the device

returns the device currently delegated

QIODevice * QxtDeplex::device () const

creates a new QxtDeplex

creates a new QxtDeplex and delegates r/w operations to the device

delegate r/w operations to the device

returns the device currently delegated

See also setDevice().

void QxtDeplex::receiveData ( QByteArray data, const QxtPipe * sender )   [virtual protected]

creates a new QxtDeplex

creates a new QxtDeplex and delegates r/w operations to the device

delegate r/w operations to the device

returns the device currently delegated

Reimplemented from QxtPipe.

void QxtDeplex::setDevice ( QIODevice * device )

creates a new QxtDeplex

creates a new QxtDeplex and delegates r/w operations to the device

delegate r/w operations to the device

returns the device currently delegated

See also device().

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


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1