/*************************************************************************** kmd.h - description ------------------- begin : Tue Jan 15 00:49:05 MST 2002 copyright : (C) 2002 by Simon R email : mail@srobins.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef __kmd_h__ #define __kmd_h__ #include #include #include #include #include #include //#include class QCString; class kio_kmdProtocol : public QObject, public KIO::SlaveBase { Q_OBJECT public: kio_kmdProtocol(const QCString &pool_socket, const QCString &app_socket); virtual ~kio_kmdProtocol(); virtual void get(const KURL& url); virtual void mimetype(const KURL& url); QHttp *http; int requestNr; private slots: void slotReadyRead(); void slotStateChanged(int id); void slotRequestStarted(int id); }; #endif