// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:04 2003
//
// Copyright (c) 2003
// 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
// 
// This file is part of PyQt.
// 
// This copy of PyQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
// 
// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
// 
// You should have received a copy of the GNU General Public License along with
// PyQt; see the file LICENSE.  If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#ifndef _qtQNetworkProtocol_h
#define	_qtQNetworkProtocol_h

#line 63 "sip/qnetworkprotocol.sip"
#include <qnetworkprotocol.h>
#line 30 "sipqtQNetworkProtocol.h"

#include "sipqtQObject.h"
#include "sipqtQUrlOperator.h"
#include "sipqtQString.h"
#include "sipqtQNetworkProtocolFactoryBase.h"
#include "sipqtQNetworkOperation.h"
#include "sipqtQByteArray.h"
#include "sipqtQValueList.h"
#include "sipqtQUrlInfo.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QNetworkProtocol;

extern SIP_IMPORT const void *sipCast_QNetworkProtocol Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QNetworkProtocol Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQNetworkProtocol : public QNetworkProtocol
{
public:
	sipQNetworkProtocol();
	~sipQNetworkProtocol();
	void customEvent(QCustomEvent *);
	void childEvent(QChildEvent *);
	void timerEvent(QTimerEvent *);
	QVariant property(const char *) const;
	bool setProperty(const char *,const QVariant&);
	void removeChild(QObject *);
	void insertChild(QObject *);
	void setName(const char *);
	bool eventFilter(QObject *,QEvent *);
	bool event(QEvent *);
	bool checkConnection(QNetworkOperation *);
	static bool sipVH_checkConnection(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationPutChunk(QNetworkOperation *);
	static void sipVH_operationPutChunk(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationPut(QNetworkOperation *);
	static void sipVH_operationPut(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationGet(QNetworkOperation *);
	static void sipVH_operationGet(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationRename(QNetworkOperation *);
	static void sipVH_operationRename(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationRemove(QNetworkOperation *);
	static void sipVH_operationRemove(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationMkDir(QNetworkOperation *);
	static void sipVH_operationMkDir(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void operationListChildren(QNetworkOperation *);
	static void sipVH_operationListChildren(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void processOperation(QNetworkOperation *);
	static void sipVH_processOperation(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	void stop();
	static void sipVH_stop(const sipMethodCache *,sipThisType *);
	void clearOperationQueue();
	static void sipVH_clearOperationQueue(const sipMethodCache *,sipThisType *);
	void addOperation(QNetworkOperation *);
	static void sipVH_addOperation(const sipMethodCache *,sipThisType *,QNetworkOperation *);
	int supportedOperations() const;
	static int sipVH_supportedOperations(const sipMethodCache *,sipThisType *);
	void setAutoDelete(bool,int);
	static void sipVH_setAutoDelete(const sipMethodCache *,sipThisType *,bool,int);
	void setUrl(QUrlOperator *);
	static void sipVH_setUrl(const sipMethodCache *,sipThisType *,QUrlOperator *);

	// There is a public member function for every protected member
	// function visible from this class.

	const QObject * sipProtect_sender();
	void sipProtect_timerEvent(QTimerEvent *);
	void sipProtect_childEvent(QChildEvent *);
	void sipProtect_customEvent(QCustomEvent *);
	void sipProtect_processOperation(QNetworkOperation *);
	void sipProtect_operationListChildren(QNetworkOperation *);
	void sipProtect_operationMkDir(QNetworkOperation *);
	void sipProtect_operationRemove(QNetworkOperation *);
	void sipProtect_operationRename(QNetworkOperation *);
	void sipProtect_operationGet(QNetworkOperation *);
	void sipProtect_operationPut(QNetworkOperation *);
	void sipProtect_operationPutChunk(QNetworkOperation *);
	bool sipProtect_checkConnection(QNetworkOperation *);

	// There is a public member function for every Qt signal that can be
	// emitted by this object.  This function is called by Python to emit
	// the signal.

	int sipEmit_destroyed(PyObject *sipArgs);
	int sipEmit_data(PyObject *sipArgs);
	int sipEmit_connectionStateChanged(PyObject *sipArgs);
	int sipEmit_finished(PyObject *sipArgs);
	int sipEmit_start(PyObject *sipArgs);
	int sipEmit_newChildren(PyObject *sipArgs);
	int sipEmit_newChild(PyObject *sipArgs);
	int sipEmit_createdDirectory(PyObject *sipArgs);
	int sipEmit_removed(PyObject *sipArgs);
	int sipEmit_itemChanged(PyObject *sipArgs);
	int sipEmit_dataTransferProgress(PyObject *sipArgs);

	sipThisType *sipPyThis;

private:
	sipQNetworkProtocol(const sipQNetworkProtocol &);
	sipQNetworkProtocol &operator = (const sipQNetworkProtocol &);

	sipMethodCache sipPyMethods[25];
};

extern SIP_IMPORT QNetworkProtocol *sipForceConvertTo_QNetworkProtocol Py_PROTO((PyObject *,int *));

#endif
