// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:05 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 _qtQObject_h
#define	_qtQObject_h

#line 74 "sip/qobject.sip"
#include <qobject.h>
#include <qapplication.h>
#line 31 "sipqtQObject.h"

#include "sipqtQt.h"
#include "sipqtQString.h"
#include "sipqtQEvent.h"
#include "sipqtQObjectList.h"
#include "sipqtQVariant.h"
#include "sipqtQTimerEvent.h"
#include "sipqtQChildEvent.h"
#include "sipqtQCustomEvent.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QObject;

extern SIP_IMPORT const void *sipCast_QObject Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QObject Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQObject : public QObject
{
public:
	sipQObject(QObject *,const char *);
	~sipQObject();
	void customEvent(QCustomEvent *);
	static void sipVH_customEvent(const sipMethodCache *,sipThisType *,QCustomEvent *);
	void childEvent(QChildEvent *);
	static void sipVH_childEvent(const sipMethodCache *,sipThisType *,QChildEvent *);
	void timerEvent(QTimerEvent *);
	static void sipVH_timerEvent(const sipMethodCache *,sipThisType *,QTimerEvent *);
	QVariant property(const char *) const;
	static QVariant sipVH_property(const sipMethodCache *,sipThisType *,const char *);
	bool setProperty(const char *,const QVariant&);
	static bool sipVH_setProperty(const sipMethodCache *,sipThisType *,const char *,const QVariant&);
	void removeChild(QObject *);
	static void sipVH_removeChild(const sipMethodCache *,sipThisType *,QObject *);
	void insertChild(QObject *);
	static void sipVH_insertChild(const sipMethodCache *,sipThisType *,QObject *);
	void setName(const char *);
	static void sipVH_setName(const sipMethodCache *,sipThisType *,const char *);
	bool eventFilter(QObject *,QEvent *);
	static bool sipVH_eventFilter(const sipMethodCache *,sipThisType *,QObject *,QEvent *);
	bool event(QEvent *);
	static bool sipVH_event(const sipMethodCache *,sipThisType *,QEvent *);

	// 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 *);

	// 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);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[10];
};

extern SIP_IMPORT QObject *sipForceConvertTo_QObject Py_PROTO((PyObject *,int *));

#endif
