• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Signals | Public Member Functions | Protected Member Functions | List of all members
KAsyncIO Class Referenceabstract

#include <kasyncio.h>

Inheritance diagram for KAsyncIO:
TDEBufferedIO KExtendedSocket

Signals

void readyRead ()
 
void readyWrite ()
 

Public Member Functions

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

Protected Member Functions

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 TQIODevice.

Author
Thiago Macieira thiag.nosp@m.o.ma.nosp@m.cieir.nosp@m.a@kd.nosp@m.email.nosp@m..net

Asynchronous I/O support

Definition at line 38 of file kasyncio.h.

Constructor & Destructor Documentation

◆ KAsyncIO()

KAsyncIO::KAsyncIO ( )
inlineprotected

Definition at line 43 of file kasyncio.h.

Member Function Documentation

◆ enableRead()

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
enabletrue to enable, false to disable the readyRead() signal

Implemented in KExtendedSocket.

◆ enableWrite()

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
enabletrue to enable, false to disable the readyWrite() signal

Implemented in KExtendedSocket.

◆ readyRead

void KAsyncIO::readyRead ( )
signal

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

◆ readyWrite

void KAsyncIO::readyWrite ( )
signal

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

◆ virtual_hook()

void KAsyncIO::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Definition at line 24 of file kasyncio.cpp.


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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.