File indexing completed on 2024-04-28 15:23:40
0001 /* 0002 This file is part of the KDE libraries 0003 Copyright (c) 2002 Waldo Bastian <bastian@kde.org> 0004 Copyright 2009 David Faure <faure@kde.org> 0005 0006 This library is free software; you can redistribute it and/or 0007 modify it under the terms of the GNU Library General Public 0008 License version 2 as published by the Free Software Foundation. 0009 0010 This library is distributed in the hope that it will be useful, 0011 but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 Library General Public License for more details. 0014 0015 You should have received a copy of the GNU Library General Public License 0016 along with this library; see the file COPYING.LIB. If not, write to 0017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0018 Boston, MA 02110-1301, USA. 0019 */ 0020 0021 #ifndef HTTPFILTERGZIP_P_H 0022 #define HTTPFILTERGZIP_P_H 0023 0024 #include <QObject> 0025 class KFilterBase; 0026 0027 class HTTPFilterGZip : public QObject 0028 { 0029 Q_OBJECT 0030 public: 0031 HTTPFilterGZip(); 0032 ~HTTPFilterGZip(); 0033 0034 Q_SIGNALS: 0035 void output(const QByteArray &d); 0036 void error(const QString &); 0037 0038 public Q_SLOTS: 0039 void slotInput(const QByteArray &d); 0040 0041 private: 0042 bool m_firstData; 0043 bool m_finished; 0044 KFilterBase *m_gzipFilter; 0045 }; 0046 0047 #endif