/***************************************************************************
                            qt_QNetworkProtocol.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_QNetworkProtocol.h"
}

#include <qnetworkprotocol.h>

class QNetworkProtocolBridge : public QNetworkProtocol
{
public:
	QNetworkProtocolBridge() : QNetworkProtocol() {}
	~QNetworkProtocolBridge() {}
	void protected_processOperation(QNetworkOperation* op) {
		QNetworkProtocol::processOperation(op);
		return;
	}
	void protected_operationListChildren(QNetworkOperation* op) {
		QNetworkProtocol::operationListChildren(op);
		return;
	}
	void protected_operationMkDir(QNetworkOperation* op) {
		QNetworkProtocol::operationMkDir(op);
		return;
	}
	void protected_operationRemove(QNetworkOperation* op) {
		QNetworkProtocol::operationRemove(op);
		return;
	}
	void protected_operationRename(QNetworkOperation* op) {
		QNetworkProtocol::operationRename(op);
		return;
	}
	void protected_operationGet(QNetworkOperation* op) {
		QNetworkProtocol::operationGet(op);
		return;
	}
	void protected_operationPut(QNetworkOperation* op) {
		QNetworkProtocol::operationPut(op);
		return;
	}
	void protected_operationPutChunk(QNetworkOperation* op) {
		QNetworkProtocol::operationPutChunk(op);
		return;
	}
	 bool  protected_checkConnection(QNetworkOperation* op) {
		return ( bool ) QNetworkProtocol::checkConnection(op);
	}
	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_QNetworkProtocol * qt_new_QNetworkProtocol(){
	return (qt_QNetworkProtocol *) new QNetworkProtocolBridge();
}
void qt_del_QNetworkProtocol( qt_QNetworkProtocol* p ){
	delete (QNetworkProtocolBridge*) p;
}
void qt_QNetworkProtocol_setUrl( qt_QNetworkProtocol* instPointer,qt_QUrlOperator* u){
	((QNetworkProtocolBridge*)instPointer)->setUrl((QUrlOperator*)u);
	return;
}
void qt_QNetworkProtocol_setAutoDelete( qt_QNetworkProtocol* instPointer,int b, int i){
	((QNetworkProtocolBridge*)instPointer)->setAutoDelete((bool)b, (int)i);
	return;
}
int qt_QNetworkProtocol_autoDelete( qt_QNetworkProtocol* instPointer){
	return (int) ((QNetworkProtocolBridge*)instPointer)->autoDelete();
}
int qt_QNetworkProtocol_supportedOperations( qt_QNetworkProtocol* instPointer){
	return (int) ((QNetworkProtocolBridge*)instPointer)->supportedOperations();
}
void qt_QNetworkProtocol_addOperation( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->addOperation((QNetworkOperation*)op);
	return;
}
qt_QUrlOperator* qt_QNetworkProtocol_url( qt_QNetworkProtocol* instPointer){
	return (qt_QUrlOperator*) ((QNetworkProtocolBridge*)instPointer)->url();
}
qt_QNetworkOperation* qt_QNetworkProtocol_operationInProgress( qt_QNetworkProtocol* instPointer){
	return (qt_QNetworkOperation*) ((QNetworkProtocolBridge*)instPointer)->operationInProgress();
}
void qt_QNetworkProtocol_clearOperationQueue( qt_QNetworkProtocol* instPointer){
	((QNetworkProtocolBridge*)instPointer)->clearOperationQueue();
	return;
}
void qt_QNetworkProtocol_stop( qt_QNetworkProtocol* instPointer){
	((QNetworkProtocolBridge*)instPointer)->stop();
	return;
}
void qt_QNetworkProtocol_registerNetworkProtocol( qt_QString * protocol, qt_QNetworkProtocolFactoryBase* protocolFactory){
	QNetworkProtocolBridge::registerNetworkProtocol((QString&)* (QString*)protocol, (QNetworkProtocolFactoryBase*)protocolFactory);
	return;
}
qt_QNetworkProtocol* qt_QNetworkProtocol_getNetworkProtocol( qt_QString * protocol){
	return (qt_QNetworkProtocol*) QNetworkProtocolBridge::getNetworkProtocol((QString&)* (QString*)protocol);
}
int qt_QNetworkProtocol_hasOnlyLocalFileSystem( ){
	return (int) QNetworkProtocolBridge::hasOnlyLocalFileSystem();
}
void qt_QNetworkProtocol_processOperation( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_processOperation((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationListChildren( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationListChildren((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationMkDir( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationMkDir((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationRemove( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationRemove((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationRename( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationRename((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationGet( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationGet((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationPut( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationPut((QNetworkOperation*)op);
	return;
}
void qt_QNetworkProtocol_operationPutChunk( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	((QNetworkProtocolBridge*)instPointer)->protected_operationPutChunk((QNetworkOperation*)op);
	return;
}
int qt_QNetworkProtocol_checkConnection( qt_QNetworkProtocol* instPointer,qt_QNetworkOperation* op){
	return (int) ((QNetworkProtocolBridge*)instPointer)->protected_checkConnection((QNetworkOperation*)op);
}
