// 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 _qtQUrlOperator_h
#define	_qtQUrlOperator_h

#line 43 "sip/qurloperator.sip"
#include <qurloperator.h>
#line 30 "sipqtQUrlOperator.h"

#include "sipqtQObject.h"
#include "sipqtQUrl.h"
#include "sipqtQString.h"
#include "sipqtQNetworkOperation.h"
#include "sipqtQByteArray.h"
#include "sipqtQPtrList.h"
#include "sipqtQStringList.h"
#include "sipqtQUrlInfo.h"
#include "sipqtQValueList.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QUrlOperator;

extern SIP_IMPORT const void *sipCast_QUrlOperator Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QUrlOperator Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQUrlOperator : public QUrlOperator
{
public:
	sipQUrlOperator();
	sipQUrlOperator(const QString&);
	sipQUrlOperator(const QUrlOperator&);
	sipQUrlOperator(const QUrlOperator&,const QString&,bool);
	~sipQUrlOperator();
	bool parse(const QString&);
	void reset();
	QString toString(bool,bool) const;
	void setFileName(const QString&);
	void addPath(const QString&);
	void setRef(const QString&);
	void setQuery(const QString&);
	void setEncodedPathAndQuery(const QString&);
	void setPort(int);
	void setHost(const QString&);
	void setPassword(const QString&);
	void setUser(const QString&);
	void setProtocol(const QString&);
	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 *);
	void clearEntries();
	static void sipVH_clearEntries(const sipMethodCache *,sipThisType *);
	bool checkValid();
	static bool sipVH_checkValid(const sipMethodCache *,sipThisType *);
	void stop();
	static void sipVH_stop(const sipMethodCache *,sipThisType *);
	QUrlInfo info(const QString&) const;
	static QUrlInfo sipVH_info(const sipMethodCache *,sipThisType *,const QString&);
	void setNameFilter(const QString&);
	static void sipVH_setNameFilter(const sipMethodCache *,sipThisType *,const QString&);
	bool isDir(bool *);
	static bool sipVH_isDir(const sipMethodCache *,sipThisType *,bool *);
	void copy(const QStringList&,const QString&,bool);
	static void sipVH_copy(const sipMethodCache *,sipThisType *,const QStringList&,const QString&,bool);
	QPtrList<QNetworkOperation> copy(const QString&,const QString&,bool,bool);
	static QPtrList<QNetworkOperation> sipVH_copy(const sipMethodCache *,sipThisType *,const QString&,const QString&,bool,bool);
	const QNetworkOperation * put(const QByteArray&,const QString&);
	static const QNetworkOperation * sipVH_put(const sipMethodCache *,sipThisType *,const QByteArray&,const QString&);
	const QNetworkOperation * get(const QString&);
	static const QNetworkOperation * sipVH_get(const sipMethodCache *,sipThisType *,const QString&);
	const QNetworkOperation * rename(const QString&,const QString&);
	static const QNetworkOperation * sipVH_rename(const sipMethodCache *,sipThisType *,const QString&,const QString&);
	const QNetworkOperation * remove(const QString&);
	static const QNetworkOperation * sipVH_remove(const sipMethodCache *,sipThisType *,const QString&);
	const QNetworkOperation * mkdir(const QString&);
	static const QNetworkOperation * sipVH_mkdir(const sipMethodCache *,sipThisType *,const QString&);
	const QNetworkOperation * listChildren();
	static const QNetworkOperation * sipVH_listChildren(const sipMethodCache *,sipThisType *);
	bool cdUp();
	void setPath(const QString&);

	// 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_reset();
	bool sipProtect_parse(const QString&);
	bool sipProtect_checkValid();
	void sipProtect_clearEntries();
	void sipProtect_getNetworkProtocol();
	void sipProtect_deleteNetworkProtocol();

	// 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_newChildren(PyObject *sipArgs);
	int sipEmit_finished(PyObject *sipArgs);
	int sipEmit_start(PyObject *sipArgs);
	int sipEmit_createdDirectory(PyObject *sipArgs);
	int sipEmit_removed(PyObject *sipArgs);
	int sipEmit_itemChanged(PyObject *sipArgs);
	int sipEmit_data(PyObject *sipArgs);
	int sipEmit_dataTransferProgress(PyObject *sipArgs);
	int sipEmit_startedNextCopy(PyObject *sipArgs);
	int sipEmit_connectionStateChanged(PyObject *sipArgs);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[39];
};

extern SIP_IMPORT QUrlOperator *sipForceConvertTo_QUrlOperator Py_PROTO((PyObject *,int *));

#endif
