Commit a28696b9 authored by Gabriel Anderson's avatar Gabriel Anderson
Browse files

Cleaned up the includes

svn path=/trunk/KDE/kdebase/runtime/; revision=700697
parent 953ba14a
......@@ -21,6 +21,8 @@ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "filter.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -29,8 +31,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kdebug.h>
#include <kmimetype.h>
#include <kfilterbase.h>
#include <kurl.h>
#include "filter.h"
extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char ** argv)
......
......@@ -25,24 +25,26 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define __filter_h__
#include <QObject>
#include <kio/global.h>
#include <kio/slavebase.h>
class KUrl;
class KFilterBase;
class FilterProtocol : public QObject, public KIO::SlaveBase
{
Q_OBJECT
Q_OBJECT
public:
FilterProtocol( const QByteArray & protocol, const QByteArray &pool, const QByteArray &app );
FilterProtocol( const QByteArray & protocol, const QByteArray &pool, const QByteArray &app );
virtual void get( const KUrl &url );
virtual void put( const KUrl &url, int _mode, bool _overwrite,
virtual void get( const KUrl &url );
virtual void put( const KUrl &url, int _mode, bool _overwrite,
bool _resume );
virtual void setSubURL(const KUrl &url);
virtual void setSubURL(const KUrl &url);
private:
KUrl subURL;
KFilterBase * filter;
KUrl subURL;
KFilterBase * filter;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment