• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

KAsyncIO Class Reference

Asynchronous I/O Support. More...

#include <kasyncio.h>

Inheritance diagram for KAsyncIO:

Inheritance graph
[legend]

List of all members.


Signals

void readyRead ()
void readyWrite ()

Public Member Functions

virtual void enableRead (bool enable)=0
virtual void enableWrite (bool enable)=0

Protected Member Functions

 KAsyncIO ()
virtual void virtual_hook (int id, void *data)

Detailed Description

Asynchronous I/O Support.

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

Author:
Thiago Macieira <thiago.macieira@kdemail.net> Asynchronous I/O support

Definition at line 38 of file kasyncio.h.


Constructor & Destructor Documentation

KAsyncIO::KAsyncIO (  )  [inline, protected]

Definition at line 42 of file kasyncio.h.


Member Function Documentation

virtual void KAsyncIO::enableRead ( bool  enable  )  [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:
enable true to enable, false to disable the readyRead() signal

Implemented in KExtendedSocket.

virtual void KAsyncIO::enableWrite ( bool  enable  )  [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:
enable true to enable, false to disable the readyWrite() signal

Implemented in KExtendedSocket.

void KAsyncIO::readyRead (  )  [signal]

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

void KAsyncIO::readyWrite (  )  [signal]

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

void KAsyncIO::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

For internal use only.

Reimplemented in KBufferedIO, and KExtendedSocket.

Definition at line 24 of file kasyncio.cpp.


The documentation for this class was generated from the following files:
  • kasyncio.h
  • kasyncio.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal