File: filter.h

package info (click to toggle)
kio-extras 4%3A22.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,768 kB
  • sloc: cpp: 26,898; ansic: 4,443; perl: 1,058; xml: 97; sh: 69; python: 28; makefile: 9
file content (33 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
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