add more spacing
[personal-kdebase.git] / runtime / kioslave / filter / filter.h
blob7f86077bd3acf106b88e68e0c38f20ed2c8387e7
1 /*
2 This file is part of KDE
4 Copyright (C) 2000 Waldo Bastian (bastian@kde.org)
5 Copyright 2008 David Faure <faure@kde.org>
7 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal
9 in the Software without restriction, including without limitation the rights
10 to use, copy, modify, merge, publish, distribute, and/or sell
11 copies of the Software, and to permit persons to whom the Software is
12 furnished to do so, subject to the following conditions:
14 The above copyright notice and this permission notice shall be included in
15 all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 #ifndef __filter_h__
26 #define __filter_h__
28 #include <QObject>
29 #include <kio/slavebase.h>
31 class KUrl;
32 class KFilterBase;
34 class FilterProtocol : /*public QObject, */ public KIO::SlaveBase
36 // Q_OBJECT
38 public:
39 FilterProtocol( const QByteArray & protocol, const QByteArray &pool, const QByteArray &app );
41 virtual void get( const KUrl &url );
42 #if 0
43 virtual void put( const KUrl &url, int _mode, KIO::JobFlags _flags );
44 virtual void setSubURL(const KUrl &url);
45 #endif
47 private:
48 KUrl subURL;
49 KFilterBase * filter;
52 #endif