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

#line 72 "sip/qwindowsstyle.sip"
#include <qwindowsstyle.h>
#line 30 "sipqtQWindowsStyle.h"

#include "sipqtQCommonStyle.h"
#include "sipqtQPopupMenu.h"
#include "sipqtQPainter.h"
#include "sipqtQRect.h"
#include "sipqtQColorGroup.h"
#include "sipqtQStyleOption.h"
#include "sipqtQWidget.h"
#include "sipqtQSize.h"
#include "sipqtQStyleHintReturn.h"
#include "sipqtQPixmap.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QWindowsStyle;

extern SIP_IMPORT const void *sipCast_QWindowsStyle Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QWindowsStyle Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQWindowsStyle : public QWindowsStyle
{
public:
	sipQWindowsStyle();
	~sipQWindowsStyle();
	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 *);
	QPixmap stylePixmap(QStyle::StylePixmap,const QWidget *,const QStyleOption&) const;
	int styleHint(QStyle::StyleHint,const QWidget *,const QStyleOption&,QStyleHintReturn *) const;
	QSize sizeFromContents(QStyle::ContentsType,const QWidget *,const QSize&,const QStyleOption&) const;
	int pixelMetric(QStyle::PixelMetric,const QWidget *) const;
	QStyle::SubControl querySubControl(QStyle::ComplexControl,const QWidget *,const QPoint&,const QStyleOption&) const;
	QRect querySubControlMetrics(QStyle::ComplexControl,const QWidget *,QStyle::SubControl,const QStyleOption&) const;
	void drawComplexControlMask(QStyle::ComplexControl,QPainter *,const QWidget *,const QRect&,const QStyleOption&) const;
	void drawComplexControl(QStyle::ComplexControl,QPainter *,const QWidget *,const QRect&,const QColorGroup&,unsigned,unsigned,unsigned,const QStyleOption&) const;
	QRect subRect(QStyle::SubRect,const QWidget *) const;
	void drawControlMask(QStyle::ControlElement,QPainter *,const QWidget *,const QRect&,const QStyleOption&) const;
	void drawControl(QStyle::ControlElement,QPainter *,const QWidget *,const QRect&,const QColorGroup&,unsigned,const QStyleOption&) const;
	void drawPrimitive(QStyle::PrimitiveElement,QPainter *,const QRect&,const QColorGroup&,unsigned,const QStyleOption&) const;
	void drawItem(QPainter *,const QRect&,int,const QColorGroup&,bool,const QPixmap *,const QString&,int,const QColor *) const;
	QRect itemRect(QPainter *,const QRect&,int,bool,const QPixmap *,const QString&,int) const;
	void polish(QPalette&);
	void unPolish(QApplication *);
	void polish(QApplication *);
	void unPolish(QWidget *);
	void polish(QWidget *);
	void polishPopupMenu(QPopupMenu *);

	// 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:
	sipQWindowsStyle(const sipQWindowsStyle &);
	sipQWindowsStyle &operator = (const sipQWindowsStyle &);

	sipMethodCache sipPyMethods[30];
};

extern SIP_IMPORT QWindowsStyle *sipForceConvertTo_QWindowsStyle Py_PROTO((PyObject *,int *));

#endif
