kasyncio.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 #ifndef KASYNCIO_H
00023 #define KASYNCIO_H
00024 
00025 
00026 #include <qobject.h>
00027 #include <qiodevice.h>
00028 
00029 class KAsyncIOPrivate;
00040 class KAsyncIO: public QObject, public QIODevice
00041 {
00042   Q_OBJECT
00043 protected:
00044   KAsyncIO()            
00045   { }
00046 
00047 private:
00048   KAsyncIO(KAsyncIO&);
00049 
00050   KAsyncIO& operator=(KAsyncIO&);
00051 
00052 public:
00059   virtual void enableRead(bool enable) = 0;
00060 
00067   virtual void enableWrite(bool enable) = 0;
00068 
00069 signals:
00070 
00074   void readyRead();
00075 
00079   void readyWrite();
00080 protected:
00082   virtual void virtual_hook( int id, void* data );
00083 private:
00084   KAsyncIOPrivate* d;
00085 };
00086 
00087 #endif // KASYNCIO_H
 
This file is part of the documentation for kdecore Library Version 3.2.0.