# kdecore Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# kasyncio.h

    00001 /*
    00002  *  This file is part of the KDE libraries
    00003  *  Copyright (C) 2001 Thiago Macieira <thiagom@mail.com>
    00004  *
    00005  *  $Id: kasyncio.h,v 1.5 2002/09/08 14:59:59 tjansen Exp $
    00006  *
    00007  *  This library is free software; you can redistribute it and/or
    00008  *  modify it under the terms of the GNU Library General Public
    00009  *  License as published by the Free Software Foundation; either
    00010  *  version 2 of the License, or (at your option) any later version.
    00011  *
    00012  *  This library is distributed in the hope that it will be useful,
    00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015  *  Library General Public License for more details.
    00016  *
    00017  *  You should have received a copy of the GNU Library General Public License
    00018  *  along with this library; see the file COPYING.LIB.  If not, write to
    00019  *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00020  *  Boston, MA 02111-1307, USA.
    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()                    // cannot be accessed externally
    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 kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:46:20 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001