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

tdecore

  • tdecore
kasyncio.h
1 /*
2  * This file is part of the KDE libraries
3  * Copyright (C) 2001 Thiago Macieira <thiago.macieira@kdemail.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 #ifndef KASYNCIO_H
21 #define KASYNCIO_H
22 
23 
24 #include <tqobject.h>
25 #include <tqiodevice.h>
26 #include "tdelibs_export.h"
27 
28 class KAsyncIOPrivate;
38 class TDECORE_EXPORT KAsyncIO: public TQObject, public TQIODevice
39 {
40  TQ_OBJECT
41 
42 protected:
43  KAsyncIO() // cannot be accessed externally
44  { }
45 
46 private:
47  KAsyncIO(KAsyncIO&);
48 
49  KAsyncIO& operator=(KAsyncIO&);
50 
51 public:
58  virtual void enableRead(bool enable) = 0;
59 
66  virtual void enableWrite(bool enable) = 0;
67 
68 signals:
69 
73  void readyRead();
74 
78  void readyWrite();
79 protected:
81  virtual void virtual_hook( int id, void* data );
82 private:
83  KAsyncIOPrivate* d;
84 };
85 
86 #endif // KASYNCIO_H
KAsyncIO
Asynchronous I/O Support.
Definition: kasyncio.h:39
KAsyncIO::readyRead
void readyRead()
This signal gets sent when the device is ready for reading.
KAsyncIO::enableRead
virtual void enableRead(bool enable)=0
Toggles the emission of the readyRead() signal whenever the device is ready for reading.
KAsyncIO::enableWrite
virtual void enableWrite(bool enable)=0
Toggles the emission of the readyWrite() signal whenever the device is ready for writing.
KAsyncIO::readyWrite
void readyWrite()
This signal gets sent when the device is ready for writing.

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.1
This website is maintained by Timothy Pearson.