kioslave/mbox
mbox.h
00001 /* 00002 * This is a simple kioslave to handle mbox-files. 00003 * Copyright (C) 2004 Mart Kelder (mart.kde@hccnet.nl) 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 #ifndef MBOX_H 00020 #define MBOX_H 00021 00022 #include <kio/slavebase.h> 00023 //Added by qt3to4: 00024 #include <QByteArray> 00025 00026 class QByteArray; 00027 class KUrl; 00028 00033 class MBoxProtocol : public KIO::SlaveBase 00034 { 00035 public: 00039 MBoxProtocol( const QByteArray&, const QByteArray& ); 00043 virtual ~MBoxProtocol(); 00044 00050 virtual void get( const KUrl& url ); 00051 00056 virtual void listDir( const KUrl& url ); 00057 00062 virtual void stat( const KUrl& url ); 00063 00068 virtual void mimetype( const KUrl& url ); 00069 00077 void emitError( int _errno, const QString& arg ); 00078 private: 00079 bool m_errorState; 00080 }; 00081 00082 #endif 00083
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:08:24 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:08:24 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.