/***************************************************************************
                            kde_KURIFilterData.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KURIFilterData.h"
}

#include <qstringlist.h>
#include <kurifilter.h>

class KURIFilterDataBridge : public KURIFilterData
{
public:
	KURIFilterDataBridge() : KURIFilterData() {}
	KURIFilterDataBridge(const KURL& url) : KURIFilterData(url) {}
	KURIFilterDataBridge(const QString& url) : KURIFilterData(url) {}
	KURIFilterDataBridge(const KURIFilterData& arg1) : KURIFilterData(arg1) {}
	~KURIFilterDataBridge() {}
	void protected_init(const KURL& url) {
		KURIFilterData::init(url);
		return;
	}
};

kde_KURIFilterData * kde_new_KURIFilterData(){
	return (kde_KURIFilterData *) new KURIFilterDataBridge();
}
kde_KURIFilterData * kde_new_KURIFilterData1(kde_KURL* url){
	return (kde_KURIFilterData *) new KURIFilterDataBridge((KURL&)* (KURL*)url);
}
kde_KURIFilterData * kde_new_KURIFilterData2(qt_QString * url){
	return (kde_KURIFilterData *) new KURIFilterDataBridge((QString&)* (QString*)url);
}
kde_KURIFilterData * kde_new_KURIFilterData3(kde_KURIFilterData* arg1){
	return (kde_KURIFilterData *) new KURIFilterDataBridge((KURIFilterData&)* (KURIFilterData*)arg1);
}
void kde_del_KURIFilterData( kde_KURIFilterData* p ){
	delete (KURIFilterDataBridge*) p;
}
int kde_KURIFilterData_hasBeenFiltered( kde_KURIFilterData* instPointer){
	return (int) ((KURIFilterDataBridge*)instPointer)->hasBeenFiltered();
}
kde_KURL* kde_KURIFilterData_uri( kde_KURIFilterData* instPointer){
	return (kde_KURL*)new KURL(((KURIFilterDataBridge*)instPointer)->uri());
}
qt_QString * kde_KURIFilterData_errorMsg( kde_KURIFilterData* instPointer){
	return (qt_QString *)new QString(((KURIFilterDataBridge*)instPointer)->errorMsg());
}
int kde_KURIFilterData_uriType( kde_KURIFilterData* instPointer){
	return (int) ((KURIFilterDataBridge*)instPointer)->uriType();
}
void kde_KURIFilterData_setData( kde_KURIFilterData* instPointer,qt_QString * url){
	((KURIFilterDataBridge*)instPointer)->setData((QString&)* (QString*)url);
	return;
}
void kde_KURIFilterData_setData1( kde_KURIFilterData* instPointer,kde_KURL* url){
	((KURIFilterDataBridge*)instPointer)->setData((KURL&)* (KURL*)url);
	return;
}
int kde_KURIFilterData_setAbsolutePath( kde_KURIFilterData* instPointer,qt_QString * arg1){
	return (int) ((KURIFilterDataBridge*)instPointer)->setAbsolutePath((QString&)* (QString*)arg1);
}
qt_QString * kde_KURIFilterData_absolutePath( kde_KURIFilterData* instPointer){
	return (qt_QString *)new QString(((KURIFilterDataBridge*)instPointer)->absolutePath());
}
int kde_KURIFilterData_hasAbsolutePath( kde_KURIFilterData* instPointer){
	return (int) ((KURIFilterDataBridge*)instPointer)->hasAbsolutePath();
}
qt_QString * kde_KURIFilterData_argsAndOptions( kde_KURIFilterData* instPointer){
	return (qt_QString *)new QString(((KURIFilterDataBridge*)instPointer)->argsAndOptions());
}
int kde_KURIFilterData_hasArgsAndOptions( kde_KURIFilterData* instPointer){
	return (int) ((KURIFilterDataBridge*)instPointer)->hasArgsAndOptions();
}
qt_QString * kde_KURIFilterData_iconName( kde_KURIFilterData* instPointer){
	return (qt_QString *)new QString(((KURIFilterDataBridge*)instPointer)->iconName());
}
void kde_KURIFilterData_init( kde_KURIFilterData* instPointer,kde_KURL* url){
	((KURIFilterDataBridge*)instPointer)->protected_init((KURL&)* (KURL*)url);
	return;
}
