1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
/*
This file is part of KDE
SPDX-FileCopyrightText: 2000 Waldo Bastian <bastian@kde.org>
SPDX-FileCopyrightText: 2008 David Faure <faure@kde.org>
SPDX-License-Identifier: MIT
*/
#ifndef __filter_h__
#define __filter_h__
#include <KIO/WorkerBase>
#include <QObject>
class KFilterBase;
class FilterProtocol : /*public QObject, */ public KIO::WorkerBase
{
// Q_OBJECT
public:
FilterProtocol(const QByteArray &protocol, const QByteArray &pool, const QByteArray &app);
KIO::WorkerResult get(const QUrl &url) override;
private:
const QString m_protocol;
KFilterBase *filter;
};
#endif
|