class KAsyncIO

Asynchronous I/O support. More...

Contains pure virtuals
Definition#include <kasyncio.h>
InheritsQIODevice (qt) [public ], QObject (qt) [public ]
Inherited byKBufferedIO, KExtendedSocket
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods


Detailed Description

Asynchronous I/O Support

This abstract class provides basic functionality for asynchronous I/O support on top of QIODevice.

 KAsyncIO ()

KAsyncIO

[protected]

void  enableRead (bool enable)

enableRead

[pure virtual]

Toggles the emission of the readyRead() signal whenever the device is ready for reading. This is useful if you want to know the first time the device is ready for reading and you don't want to read it now.

Parameters:
trueto enable, false to disable the readyRead() signal

void  enableWrite (bool enable)

enableWrite

[pure virtual]

Toggles the emission of the readyWrite() signal whenever the device is ready for writing. This is useful if you want to know the first time the device is ready for writing and you don't want to write to it now.

Parameters:
trueto enable, false to disable the readyWrite() signal

void  readyRead ()

readyRead

[signal]

This signal gets sent when the device is ready for reading.

void  readyWrite ()

readyWrite

[signal]

This signal gets sent when the device is ready for writing.

void  virtual_hook ( int id, void* data )

virtual_hook

[protected virtual]