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

#line 37 "sip/qurl.sip"
#include <qurl.h>
#line 30 "sipqtQUrl.h"

#include "sipqtQString.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QUrl;

extern SIP_IMPORT const void *sipCast_QUrl Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QUrl Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQUrl : public QUrl
{
public:
	sipQUrl();
	sipQUrl(const QString&);
	sipQUrl(const QUrl&);
	sipQUrl(const QUrl&,const QString&,bool);
	~sipQUrl();
	bool parse(const QString&);
	static bool sipVH_parse(const sipMethodCache *,sipThisType *,const QString&);
	void reset();
	static void sipVH_reset(const sipMethodCache *,sipThisType *);
	bool cdUp();
	static bool sipVH_cdUp(const sipMethodCache *,sipThisType *);
	QString toString(bool,bool) const;
	static QString sipVH_toString(const sipMethodCache *,sipThisType *,bool,bool);
	void setFileName(const QString&);
	static void sipVH_setFileName(const sipMethodCache *,sipThisType *,const QString&);
	void addPath(const QString&);
	static void sipVH_addPath(const sipMethodCache *,sipThisType *,const QString&);
	void setRef(const QString&);
	static void sipVH_setRef(const sipMethodCache *,sipThisType *,const QString&);
	void setQuery(const QString&);
	static void sipVH_setQuery(const sipMethodCache *,sipThisType *,const QString&);
	void setEncodedPathAndQuery(const QString&);
	static void sipVH_setEncodedPathAndQuery(const sipMethodCache *,sipThisType *,const QString&);
	void setPath(const QString&);
	static void sipVH_setPath(const sipMethodCache *,sipThisType *,const QString&);
	void setPort(int);
	static void sipVH_setPort(const sipMethodCache *,sipThisType *,int);
	void setHost(const QString&);
	static void sipVH_setHost(const sipMethodCache *,sipThisType *,const QString&);
	void setPassword(const QString&);
	static void sipVH_setPassword(const sipMethodCache *,sipThisType *,const QString&);
	void setUser(const QString&);
	static void sipVH_setUser(const sipMethodCache *,sipThisType *,const QString&);
	void setProtocol(const QString&);
	static void sipVH_setProtocol(const sipMethodCache *,sipThisType *,const QString&);

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

	void sipProtect_reset();
	bool sipProtect_parse(const QString&);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[15];
};

extern SIP_IMPORT QUrl *sipForceConvertTo_QUrl Py_PROTO((PyObject *,int *));

#endif
