/***************************************************************************
                            qt_QUrlOperator.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 "qt_QUrlOperator.h"
}

#include <qurloperator.h>

class QUrlOperatorBridge : public QUrlOperator
{
public:
	QUrlOperatorBridge() : QUrlOperator() {}
	QUrlOperatorBridge(const QString& urL) : QUrlOperator(urL) {}
	QUrlOperatorBridge(const QUrlOperator& url) : QUrlOperator(url) {}
	QUrlOperatorBridge(const QUrlOperator& url, const QString& relUrl, bool checkSlash) : QUrlOperator(url, relUrl, checkSlash) {}
	~QUrlOperatorBridge() {}
	void protected_reset() {
		QUrlOperator::reset();
		return;
	}
	bool  protected_parse(const QString& url) {
		return (bool ) QUrlOperator::parse(url);
	}
	 bool  protected_checkValid() {
		return ( bool ) QUrlOperator::checkValid();
	}
	void protected_clearEntries() {
		QUrlOperator::clearEntries();
		return;
	}
	void protected_getNetworkProtocol() {
		QUrlOperator::getNetworkProtocol();
		return;
	}
	void protected_deleteNetworkProtocol() {
		QUrlOperator::deleteNetworkProtocol();
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
};

qt_QUrlOperator * qt_new_QUrlOperator(){
	return (qt_QUrlOperator *) new QUrlOperatorBridge();
}
qt_QUrlOperator * qt_new_QUrlOperator1(qt_QString * urL){
	return (qt_QUrlOperator *) new QUrlOperatorBridge((QString&)* (QString*)urL);
}
qt_QUrlOperator * qt_new_QUrlOperator2(qt_QUrlOperator* url){
	return (qt_QUrlOperator *) new QUrlOperatorBridge((QUrlOperator&)* (QUrlOperator*)url);
}
qt_QUrlOperator * qt_new_QUrlOperator3(qt_QUrlOperator* url, qt_QString * relUrl, int checkSlash){
	return (qt_QUrlOperator *) new QUrlOperatorBridge((QUrlOperator&)* (QUrlOperator*)url, (QString&)* (QString*)relUrl, (bool)checkSlash);
}
void qt_del_QUrlOperator( qt_QUrlOperator* p ){
	delete (QUrlOperatorBridge*) p;
}
void qt_QUrlOperator_setPath( qt_QUrlOperator* instPointer,qt_QString * path){
	((QUrlOperatorBridge*)instPointer)->setPath((QString&)* (QString*)path);
	return;
}
int qt_QUrlOperator_cdUp( qt_QUrlOperator* instPointer){
	return (int) ((QUrlOperatorBridge*)instPointer)->cdUp();
}
qt_QNetworkOperation* qt_QUrlOperator_listChildren( qt_QUrlOperator* instPointer){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->listChildren();
}
qt_QNetworkOperation* qt_QUrlOperator_mkdir( qt_QUrlOperator* instPointer,qt_QString * dirname){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->mkdir((QString&)* (QString*)dirname);
}
qt_QNetworkOperation* qt_QUrlOperator_remove( qt_QUrlOperator* instPointer,qt_QString * filename){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->remove((QString&)* (QString*)filename);
}
qt_QNetworkOperation* qt_QUrlOperator_rename( qt_QUrlOperator* instPointer,qt_QString * oldname, qt_QString * newname){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->rename((QString&)* (QString*)oldname, (QString&)* (QString*)newname);
}
qt_QNetworkOperation* qt_QUrlOperator_get( qt_QUrlOperator* instPointer,qt_QString * location){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->get((QString&)* (QString*)location);
}
qt_QNetworkOperation* qt_QUrlOperator_put( qt_QUrlOperator* instPointer,qt_QByteArray* data, qt_QString * location){
	return (qt_QNetworkOperation*) ((QUrlOperatorBridge*)instPointer)->put((QByteArray&)* (QByteArray*)data, (QString&)* (QString*)location);
}
void qt_QUrlOperator_copy1( qt_QUrlOperator* instPointer,qt_QStringList* files, qt_QString * dest, int move){
	((QUrlOperatorBridge*)instPointer)->copy((QStringList&)* (QStringList*)files, (QString&)* (QString*)dest, (bool)move);
	return;
}
int qt_QUrlOperator_isDir( qt_QUrlOperator* instPointer,int* ok){
	return (int) ((QUrlOperatorBridge*)instPointer)->isDir((bool*)ok);
}
void qt_QUrlOperator_setNameFilter( qt_QUrlOperator* instPointer,qt_QString * nameFilter){
	((QUrlOperatorBridge*)instPointer)->setNameFilter((QString&)* (QString*)nameFilter);
	return;
}
qt_QString * qt_QUrlOperator_nameFilter( qt_QUrlOperator* instPointer){
	return (qt_QString *)new QString(((QUrlOperatorBridge*)instPointer)->nameFilter());
}
qt_QUrlInfo* qt_QUrlOperator_info( qt_QUrlOperator* instPointer,qt_QString * entry){
	return (qt_QUrlInfo*)new QUrlInfo(((QUrlOperatorBridge*)instPointer)->info((QString&)* (QString*)entry));
}
void qt_QUrlOperator_stop( qt_QUrlOperator* instPointer){
	((QUrlOperatorBridge*)instPointer)->stop();
	return;
}
void qt_QUrlOperator_reset( qt_QUrlOperator* instPointer){
	((QUrlOperatorBridge*)instPointer)->protected_reset();
	return;
}
int qt_QUrlOperator_parse( qt_QUrlOperator* instPointer,qt_QString * url){
	return (int) ((QUrlOperatorBridge*)instPointer)->protected_parse((QString&)* (QString*)url);
}
int qt_QUrlOperator_checkValid( qt_QUrlOperator* instPointer){
	return (int) ((QUrlOperatorBridge*)instPointer)->protected_checkValid();
}
void qt_QUrlOperator_clearEntries( qt_QUrlOperator* instPointer){
	((QUrlOperatorBridge*)instPointer)->protected_clearEntries();
	return;
}
void qt_QUrlOperator_getNetworkProtocol( qt_QUrlOperator* instPointer){
	((QUrlOperatorBridge*)instPointer)->protected_getNetworkProtocol();
	return;
}
void qt_QUrlOperator_deleteNetworkProtocol( qt_QUrlOperator* instPointer){
	((QUrlOperatorBridge*)instPointer)->protected_deleteNetworkProtocol();
	return;
}
qt_QObject * qt_QUrlOperator_QObject(qt_QUrlOperator* instPointer){
	return (qt_QObject *) (QObject *) (QUrlOperator *) instPointer;
}
qt_QUrl* qt_QUrlOperator_QUrl(qt_QUrlOperator* instPointer){
	return (qt_QUrl*) (QUrl *) (QUrlOperator *) instPointer;
}
