/***************************************************************************
                            QStyle.m -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <qtc/qt_QStyle.h>

#include <qtobjc/QStyle.h>
#include <qtobjc/QPoint.h>

#include <qtobjc/QPalette.h>
#include <qtobjc/QPixmap.h>
#include <qtobjc/QFontMetrics.h>
#include <qtobjc/QWidget.h>
#include <qtobjc/QApplication.h>
#include <qtobjc/QPainter.h>
#include <qtobjc/QColorGroup.h>
#include <qtobjc/QToolButton.h>
#include <qtobjc/QPushButton.h>
#include <qtobjc/QTabBar.h>
#include <qtobjc/QTab.h>
#include <qtobjc/QScrollBar.h>
#include <qtobjc/QPopupMenu.h>

@implementation  QStyle


- (void) dealloc
{
	if ([self qt] != 0L) {
		if ([self allocatedInObjcWorld] && [self parent] == nil) {
			qt_del_QStyle((qt_QStyle *)[self qt]);
		}
		[QtSupport removeQtKey: [self qt]];
		[self setQt: 0L];
	}
	[super dealloc];
}

- polishWidget: (QWidget *)arg1
{
	qt_QStyle_polish((qt_QStyle *)[self qt], (qt_QWidget *) [arg1 qt]);
	return self;
}

- unPolishWidget: (QWidget *)arg1
{
	qt_QStyle_unPolish((qt_QStyle *)[self qt], (qt_QWidget *) [arg1 qt]);
	return self;
}

- polishApplication: (QApplication*)arg1
{
	qt_QStyle_polish1((qt_QStyle *)[self qt], (qt_QApplication*) [arg1 qt]);
	return self;
}

- unPolishApplication: (QApplication*)arg1
{
	qt_QStyle_unPolish1((qt_QStyle *)[self qt], (qt_QApplication*) [arg1 qt]);
	return self;
}

- polishPalette: (QPalette *)arg1
{
	qt_QStyle_polish2((qt_QStyle *)[self qt], (qt_QPalette *) [arg1 qt]);
	return self;
}

- polishPopupMenu: (QPopupMenu*)arg1
{
	qt_QStyle_polishPopupMenu((qt_QStyle *)[self qt], (qt_QPopupMenu*) [arg1 qt]);
	return self;
}

- (QRect*) itemRect: (QPainter *)p r: (QRect*)r flags: (int)flags enabled: (BOOL)enabled pixmap: (QPixmap *)pixmap text: (NSString *)text len: (int)len
{
static qt_QString * _qstring_text = 0L;
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_itemRect((qt_QStyle *)[self qt], (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (int)flags, (int)enabled, (qt_QPixmap *) [pixmap qt], (qt_QString *) [text toQString: &_qstring_text], (int)len) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- (QRect*) itemRect: (QPainter *)p r: (QRect*)r flags: (int)flags enabled: (BOOL)enabled pixmap: (QPixmap *)pixmap text: (NSString *)text 
{
static qt_QString * _qstring_text = 0L;
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_itemRect((qt_QStyle *)[self qt], (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (int)flags, (int)enabled, (qt_QPixmap *) [pixmap qt], (qt_QString *) [text toQString: &_qstring_text], -1) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- drawItem: (QPainter *)p r: (QRect*)r flags: (int)flags g: (QColorGroup *)g enabled: (BOOL)enabled pixmap: (QPixmap *)pixmap text: (NSString *)text len: (int)len penColor: (QColor*)penColor
{
static qt_QString * _qstring_text = 0L;
	qt_QStyle_drawItem((qt_QStyle *)[self qt], (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (int)flags, (qt_QColorGroup *) [g qt], (int)enabled, (qt_QPixmap *) [pixmap qt], (qt_QString *) [text toQString: &_qstring_text], (int)len, (qt_QColor*) [penColor qt]);
	return self;
}

- drawItem: (QPainter *)p r: (QRect*)r flags: (int)flags g: (QColorGroup *)g enabled: (BOOL)enabled pixmap: (QPixmap *)pixmap text: (NSString *)text 
{
static qt_QString * _qstring_text = 0L;
	qt_QStyle_drawItem((qt_QStyle *)[self qt], (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (int)flags, (qt_QColorGroup *) [g qt], (int)enabled, (qt_QPixmap *) [pixmap qt], (qt_QString *) [text toQString: &_qstring_text], -1, 0);
	return self;
}

- drawPrimitive: (int)pe p: (QPainter *)p r: (QRect*)r cg: (QColorGroup *)cg flags: (int)flags int: (int)arg1
{
	qt_QStyle_drawPrimitive((qt_QStyle *)[self qt], (int)pe, (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], (int)flags, (int)arg1);
	return self;
}

- drawPrimitive: (int)pe p: (QPainter *)p r: (QRect*)r cg: (QColorGroup *)cg
{
	qt_QStyle_drawPrimitive((qt_QStyle *)[self qt], (int)pe, (qt_QPainter *) [p qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], [QStyle Style_Default], 0);
	return self;
}

- drawControl: (int)element p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r cg: (QColorGroup *)cg how: (int)how int: (int)arg1
{
	qt_QStyle_drawControl((qt_QStyle *)[self qt], (int)element, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], (int)how, (int)arg1);
	return self;
}

- drawControl: (int)element p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r cg: (QColorGroup *)cg
{
	qt_QStyle_drawControl((qt_QStyle *)[self qt], (int)element, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], [QStyle Style_Default], 0);
	return self;
}

- drawControlMask: (int)element p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r int: (int)arg1
{
	qt_QStyle_drawControlMask((qt_QStyle *)[self qt], (int)element, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (int)arg1);
	return self;
}

- drawControlMask: (int)element p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r
{
	qt_QStyle_drawControlMask((qt_QStyle *)[self qt], (int)element, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], 0);
	return self;
}

- (QRect*) subRect: (int)r widget: (QWidget *)widget
{
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_subRect((qt_QStyle *)[self qt], (int)r, (qt_QWidget *) [widget qt]) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- drawComplexControl: (int)control p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r cg: (QColorGroup *)cg how: (int)how sub: (int)sub subActive: (int)subActive int: (int)arg1
{
	qt_QStyle_drawComplexControl((qt_QStyle *)[self qt], (int)control, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], (int)how, (int)sub, (int)subActive, (int)arg1);
	return self;
}

- drawComplexControl: (int)control p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r cg: (QColorGroup *)cg
{
	qt_QStyle_drawComplexControl((qt_QStyle *)[self qt], (int)control, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (qt_QColorGroup *) [cg qt], [QStyle Style_Default], [QStyle SC_All], [QStyle SC_None], 0);
	return self;
}

- drawComplexControlMask: (int)control p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r int: (int)arg1
{
	qt_QStyle_drawComplexControlMask((qt_QStyle *)[self qt], (int)control, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], (int)arg1);
	return self;
}

- drawComplexControlMask: (int)control p: (QPainter *)p widget: (QWidget *)widget r: (QRect*)r
{
	qt_QStyle_drawComplexControlMask((qt_QStyle *)[self qt], (int)control, (qt_QPainter *) [p qt], (qt_QWidget *) [widget qt], (qt_QRect*) [r qt], 0);
	return self;
}

- (QRect*) querySubControlMetrics: (int)control widget: (QWidget *)widget sc: (int)sc int: (int)arg1
{
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_querySubControlMetrics((qt_QStyle *)[self qt], (int)control, (qt_QWidget *) [widget qt], (int)sc, (int)arg1) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- (QRect*) querySubControlMetrics: (int)control widget: (QWidget *)widget sc: (int)sc
{
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_querySubControlMetrics((qt_QStyle *)[self qt], (int)control, (qt_QWidget *) [widget qt], (int)sc, 0) withClass: [QRect class] allocatedInObjcWorld: YES];
}

- (int) querySubControl: (int)control widget: (QWidget *)widget pos: (QPoint*)pos int: (int)arg1
{
	return (int) qt_QStyle_querySubControl((qt_QStyle *)[self qt], (int)control, (qt_QWidget *) [widget qt], (qt_QPoint*) [pos qt], (int)arg1);
}

- (int) querySubControl: (int)control widget: (QWidget *)widget pos: (QPoint*)pos
{
	return (int) qt_QStyle_querySubControl((qt_QStyle *)[self qt], (int)control, (qt_QWidget *) [widget qt], (qt_QPoint*) [pos qt], 0);
}

- (int) pixelMetric: (int)metric widget: (QWidget *)widget
{
	return (int) qt_QStyle_pixelMetric((qt_QStyle *)[self qt], (int)metric, (qt_QWidget *) [widget qt]);
}

- (int) pixelMetric: (int)metric
{
	return (int) qt_QStyle_pixelMetric((qt_QStyle *)[self qt], (int)metric, 0);
}

- (QSize*) sizeFromContents: (int)contents widget: (QWidget *)widget contentsSize: (QSize *)contentsSize int: (int)arg1
{
	return (QSize*) [QtSupport objectForQtKey: qt_QStyle_sizeFromContents((qt_QStyle *)[self qt], (int)contents, (qt_QWidget *) [widget qt], (qt_QSize *) [contentsSize qt], (int)arg1) withClass: [QSize class] allocatedInObjcWorld: YES];
}

- (QSize*) sizeFromContents: (int)contents widget: (QWidget *)widget contentsSize: (QSize *)contentsSize
{
	return (QSize*) [QtSupport objectForQtKey: qt_QStyle_sizeFromContents((qt_QStyle *)[self qt], (int)contents, (qt_QWidget *) [widget qt], (qt_QSize *) [contentsSize qt], 0) withClass: [QSize class] allocatedInObjcWorld: YES];
}

//- (int) styleHint: (int)stylehint widget: (QWidget *)widget int: (int)arg1 returnData: (QStyleHintReturn*)returnData
//{
//	return (int) qt_QStyle_styleHint((qt_QStyle *)[self qt], (int)stylehint, (qt_QWidget *) [widget qt], (int)arg1, (qt_QStyleHintReturn*) [returnData qt]);
//}

//- (int) styleHint: (int)stylehint
//{
//	return (int) qt_QStyle_styleHint((qt_QStyle *)[self qt], (int)stylehint, 0, 0, 0);
//}

- (QPixmap*) stylePixmap: (int)stylepixmap widget: (QWidget *)widget int: (int)arg1
{
	return (QPixmap*) [QtSupport objectForQtKey: qt_QStyle_stylePixmap((qt_QStyle *)[self qt], (int)stylepixmap, (qt_QWidget *) [widget qt], (int)arg1) withClass: [QPixmap class] allocatedInObjcWorld: YES];
}

- (QPixmap*) stylePixmap: (int)stylepixmap
{
	return (QPixmap*) [QtSupport objectForQtKey: qt_QStyle_stylePixmap((qt_QStyle *)[self qt], (int)stylepixmap, 0, 0) withClass: [QPixmap class] allocatedInObjcWorld: YES];
}

- (int) defaultFrameWidth
{
	return (int) qt_QStyle_defaultFrameWidth((qt_QStyle *)[self qt]);
}

- tabbarMetrics: (QWidget *)t hf: (int)hf vf: (int)vf ov: (int)ov
{
	qt_QStyle_tabbarMetrics((qt_QStyle *)[self qt], (qt_QWidget *) [t qt], (int)hf, (int)vf, (int)ov);
	return self;
}

- (QSize*) scrollBarExtent
{
	return (QSize*) [QtSupport objectForQtKey: qt_QStyle_scrollBarExtent((qt_QStyle *)[self qt]) withClass: [QSize class] allocatedInObjcWorld: YES];
}

+ (QRect*) visualRect: (QRect*)logical w: (QWidget *)w
{
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_visualRect((qt_QRect*) [logical qt], (qt_QWidget *) [w qt]) withClass: [QRect class] allocatedInObjcWorld: YES];
}

+ (QRect*) visualRect: (QRect*)logical bounding: (QRect*)bounding
{
	return (QRect*) [QtSupport objectForQtKey: qt_QStyle_visualRect1((qt_QRect*) [logical qt], (qt_QRect*) [bounding qt]) withClass: [QRect class] allocatedInObjcWorld: YES];
}

+ (int) Default
{
	return (int) QSTYLE_Default;
}

+ (int) PE_ButtonCommand
{
	return (int) QSTYLE_PE_ButtonCommand;
}

+ (int) PE_ButtonDefault
{
	return (int) QSTYLE_PE_ButtonDefault;
}

+ (int) PE_ButtonBevel
{
	return (int) QSTYLE_PE_ButtonBevel;
}

+ (int) PE_ButtonTool
{
	return (int) QSTYLE_PE_ButtonTool;
}

+ (int) PE_ButtonDropDown
{
	return (int) QSTYLE_PE_ButtonDropDown;
}

+ (int) PE_FocusRect
{
	return (int) QSTYLE_PE_FocusRect;
}

+ (int) PE_ArrowUp
{
	return (int) QSTYLE_PE_ArrowUp;
}

+ (int) PE_ArrowDown
{
	return (int) QSTYLE_PE_ArrowDown;
}

+ (int) PE_ArrowRight
{
	return (int) QSTYLE_PE_ArrowRight;
}

+ (int) PE_ArrowLeft
{
	return (int) QSTYLE_PE_ArrowLeft;
}

+ (int) PE_SpinWidgetUp
{
	return (int) QSTYLE_PE_SpinWidgetUp;
}

+ (int) PE_SpinWidgetDown
{
	return (int) QSTYLE_PE_SpinWidgetDown;
}

+ (int) PE_SpinWidgetPlus
{
	return (int) QSTYLE_PE_SpinWidgetPlus;
}

+ (int) PE_SpinWidgetMinus
{
	return (int) QSTYLE_PE_SpinWidgetMinus;
}

+ (int) PE_Indicator
{
	return (int) QSTYLE_PE_Indicator;
}

+ (int) PE_IndicatorMask
{
	return (int) QSTYLE_PE_IndicatorMask;
}

+ (int) PE_ExclusiveIndicator
{
	return (int) QSTYLE_PE_ExclusiveIndicator;
}

+ (int) PE_ExclusiveIndicatorMask
{
	return (int) QSTYLE_PE_ExclusiveIndicatorMask;
}

+ (int) PE_DockWindowHandle
{
	return (int) QSTYLE_PE_DockWindowHandle;
}

+ (int) PE_DockWindowSeparator
{
	return (int) QSTYLE_PE_DockWindowSeparator;
}

+ (int) PE_DockWindowResizeHandle
{
	return (int) QSTYLE_PE_DockWindowResizeHandle;
}

+ (int) PE_Splitter
{
	return (int) QSTYLE_PE_Splitter;
}

+ (int) PE_Panel
{
	return (int) QSTYLE_PE_Panel;
}

+ (int) PE_PanelPopup
{
	return (int) QSTYLE_PE_PanelPopup;
}

+ (int) PE_PanelMenuBar
{
	return (int) QSTYLE_PE_PanelMenuBar;
}

+ (int) PE_PanelDockWindow
{
	return (int) QSTYLE_PE_PanelDockWindow;
}

+ (int) PE_TabBarBase
{
	return (int) QSTYLE_PE_TabBarBase;
}

+ (int) PE_HeaderSection
{
	return (int) QSTYLE_PE_HeaderSection;
}

+ (int) PE_HeaderArrow
{
	return (int) QSTYLE_PE_HeaderArrow;
}

+ (int) PE_StatusBarSection
{
	return (int) QSTYLE_PE_StatusBarSection;
}

+ (int) PE_GroupBoxFrame
{
	return (int) QSTYLE_PE_GroupBoxFrame;
}

+ (int) PE_Separator
{
	return (int) QSTYLE_PE_Separator;
}

+ (int) PE_SizeGrip
{
	return (int) QSTYLE_PE_SizeGrip;
}

+ (int) PE_CheckMark
{
	return (int) QSTYLE_PE_CheckMark;
}

+ (int) PE_ScrollBarAddLine
{
	return (int) QSTYLE_PE_ScrollBarAddLine;
}

+ (int) PE_ScrollBarSubLine
{
	return (int) QSTYLE_PE_ScrollBarSubLine;
}

+ (int) PE_ScrollBarAddPage
{
	return (int) QSTYLE_PE_ScrollBarAddPage;
}

+ (int) PE_ScrollBarSubPage
{
	return (int) QSTYLE_PE_ScrollBarSubPage;
}

+ (int) PE_ScrollBarSlider
{
	return (int) QSTYLE_PE_ScrollBarSlider;
}

+ (int) PE_ScrollBarFirst
{
	return (int) QSTYLE_PE_ScrollBarFirst;
}

+ (int) PE_ScrollBarLast
{
	return (int) QSTYLE_PE_ScrollBarLast;
}

+ (int) PE_ProgressBarChunk
{
	return (int) QSTYLE_PE_ProgressBarChunk;
}

+ (int) PE_CustomBase
{
	return (int) QSTYLE_PE_CustomBase;
}

+ (int) Style_Default
{
	return (int) QSTYLE_Style_Default;
}

+ (int) Style_Enabled
{
	return (int) QSTYLE_Style_Enabled;
}

+ (int) Style_Raised
{
	return (int) QSTYLE_Style_Raised;
}

+ (int) Style_Sunken
{
	return (int) QSTYLE_Style_Sunken;
}

+ (int) Style_Off
{
	return (int) QSTYLE_Style_Off;
}

+ (int) Style_NoChange
{
	return (int) QSTYLE_Style_NoChange;
}

+ (int) Style_On
{
	return (int) QSTYLE_Style_On;
}

+ (int) Style_Down
{
	return (int) QSTYLE_Style_Down;
}

+ (int) Style_Horizontal
{
	return (int) QSTYLE_Style_Horizontal;
}

+ (int) Style_HasFocus
{
	return (int) QSTYLE_Style_HasFocus;
}

+ (int) Style_Top
{
	return (int) QSTYLE_Style_Top;
}

+ (int) Style_Bottom
{
	return (int) QSTYLE_Style_Bottom;
}

+ (int) Style_FocusAtBorder
{
	return (int) QSTYLE_Style_FocusAtBorder;
}

+ (int) Style_AutoRaise
{
	return (int) QSTYLE_Style_AutoRaise;
}

+ (int) Style_MouseOver
{
	return (int) QSTYLE_Style_MouseOver;
}

+ (int) Style_Up
{
	return (int) QSTYLE_Style_Up;
}

+ (int) Style_Selected
{
	return (int) QSTYLE_Style_Selected;
}

+ (int) Style_Active
{
	return (int) QSTYLE_Style_Active;
}

+ (int) Style_ButtonDefault
{
	return (int) QSTYLE_Style_ButtonDefault;
}

+ (int) CE_PushButton
{
	return (int) QSTYLE_CE_PushButton;
}

+ (int) CE_PushButtonLabel
{
	return (int) QSTYLE_CE_PushButtonLabel;
}

+ (int) CE_CheckBox
{
	return (int) QSTYLE_CE_CheckBox;
}

+ (int) CE_CheckBoxLabel
{
	return (int) QSTYLE_CE_CheckBoxLabel;
}

+ (int) CE_RadioButton
{
	return (int) QSTYLE_CE_RadioButton;
}

+ (int) CE_RadioButtonLabel
{
	return (int) QSTYLE_CE_RadioButtonLabel;
}

+ (int) CE_TabBarTab
{
	return (int) QSTYLE_CE_TabBarTab;
}

+ (int) CE_TabBarLabel
{
	return (int) QSTYLE_CE_TabBarLabel;
}

+ (int) CE_ProgressBarGroove
{
	return (int) QSTYLE_CE_ProgressBarGroove;
}

+ (int) CE_ProgressBarContents
{
	return (int) QSTYLE_CE_ProgressBarContents;
}

+ (int) CE_ProgressBarLabel
{
	return (int) QSTYLE_CE_ProgressBarLabel;
}

+ (int) CE_PopupMenuItem
{
	return (int) QSTYLE_CE_PopupMenuItem;
}

+ (int) CE_MenuBarItem
{
	return (int) QSTYLE_CE_MenuBarItem;
}

+ (int) CE_ToolButtonLabel
{
	return (int) QSTYLE_CE_ToolButtonLabel;
}

+ (int) CE_CustomBase
{
	return (int) QSTYLE_CE_CustomBase;
}

+ (int) SR_PushButtonContents
{
	return (int) QSTYLE_SR_PushButtonContents;
}

+ (int) SR_PushButtonFocusRect
{
	return (int) QSTYLE_SR_PushButtonFocusRect;
}

+ (int) SR_CheckBoxIndicator
{
	return (int) QSTYLE_SR_CheckBoxIndicator;
}

+ (int) SR_CheckBoxContents
{
	return (int) QSTYLE_SR_CheckBoxContents;
}

+ (int) SR_CheckBoxFocusRect
{
	return (int) QSTYLE_SR_CheckBoxFocusRect;
}

+ (int) SR_RadioButtonIndicator
{
	return (int) QSTYLE_SR_RadioButtonIndicator;
}

+ (int) SR_RadioButtonContents
{
	return (int) QSTYLE_SR_RadioButtonContents;
}

+ (int) SR_RadioButtonFocusRect
{
	return (int) QSTYLE_SR_RadioButtonFocusRect;
}

+ (int) SR_ComboBoxFocusRect
{
	return (int) QSTYLE_SR_ComboBoxFocusRect;
}

+ (int) SR_SliderFocusRect
{
	return (int) QSTYLE_SR_SliderFocusRect;
}

+ (int) SR_DockWindowHandleRect
{
	return (int) QSTYLE_SR_DockWindowHandleRect;
}

+ (int) SR_ProgressBarGroove
{
	return (int) QSTYLE_SR_ProgressBarGroove;
}

+ (int) SR_ProgressBarContents
{
	return (int) QSTYLE_SR_ProgressBarContents;
}

+ (int) SR_ProgressBarLabel
{
	return (int) QSTYLE_SR_ProgressBarLabel;
}

+ (int) SR_ToolButtonContents
{
	return (int) QSTYLE_SR_ToolButtonContents;
}

+ (int) SR_CustomBase
{
	return (int) QSTYLE_SR_CustomBase;
}

+ (int) CC_SpinWidget
{
	return (int) QSTYLE_CC_SpinWidget;
}

+ (int) CC_ComboBox
{
	return (int) QSTYLE_CC_ComboBox;
}

+ (int) CC_ScrollBar
{
	return (int) QSTYLE_CC_ScrollBar;
}

+ (int) CC_Slider
{
	return (int) QSTYLE_CC_Slider;
}

+ (int) CC_ToolButton
{
	return (int) QSTYLE_CC_ToolButton;
}

+ (int) CC_TitleBar
{
	return (int) QSTYLE_CC_TitleBar;
}

+ (int) CC_ListView
{
	return (int) QSTYLE_CC_ListView;
}

+ (int) CC_CustomBase
{
	return (int) QSTYLE_CC_CustomBase;
}

+ (int) SC_None
{
	return (int) QSTYLE_SC_None;
}

+ (int) SC_ScrollBarAddLine
{
	return (int) QSTYLE_SC_ScrollBarAddLine;
}

+ (int) SC_ScrollBarSubLine
{
	return (int) QSTYLE_SC_ScrollBarSubLine;
}

+ (int) SC_ScrollBarAddPage
{
	return (int) QSTYLE_SC_ScrollBarAddPage;
}

+ (int) SC_ScrollBarSubPage
{
	return (int) QSTYLE_SC_ScrollBarSubPage;
}

+ (int) SC_ScrollBarFirst
{
	return (int) QSTYLE_SC_ScrollBarFirst;
}

+ (int) SC_ScrollBarLast
{
	return (int) QSTYLE_SC_ScrollBarLast;
}

+ (int) SC_ScrollBarSlider
{
	return (int) QSTYLE_SC_ScrollBarSlider;
}

+ (int) SC_ScrollBarGroove
{
	return (int) QSTYLE_SC_ScrollBarGroove;
}

+ (int) SC_SpinWidgetUp
{
	return (int) QSTYLE_SC_SpinWidgetUp;
}

+ (int) SC_SpinWidgetDown
{
	return (int) QSTYLE_SC_SpinWidgetDown;
}

+ (int) SC_SpinWidgetFrame
{
	return (int) QSTYLE_SC_SpinWidgetFrame;
}

+ (int) SC_SpinWidgetEditField
{
	return (int) QSTYLE_SC_SpinWidgetEditField;
}

+ (int) SC_SpinWidgetButtonField
{
	return (int) QSTYLE_SC_SpinWidgetButtonField;
}

+ (int) SC_ComboBoxFrame
{
	return (int) QSTYLE_SC_ComboBoxFrame;
}

+ (int) SC_ComboBoxEditField
{
	return (int) QSTYLE_SC_ComboBoxEditField;
}

+ (int) SC_ComboBoxArrow
{
	return (int) QSTYLE_SC_ComboBoxArrow;
}

+ (int) SC_SliderGroove
{
	return (int) QSTYLE_SC_SliderGroove;
}

+ (int) SC_SliderHandle
{
	return (int) QSTYLE_SC_SliderHandle;
}

+ (int) SC_SliderTickmarks
{
	return (int) QSTYLE_SC_SliderTickmarks;
}

+ (int) SC_ToolButton
{
	return (int) QSTYLE_SC_ToolButton;
}

+ (int) SC_ToolButtonMenu
{
	return (int) QSTYLE_SC_ToolButtonMenu;
}

+ (int) SC_TitleBarLabel
{
	return (int) QSTYLE_SC_TitleBarLabel;
}

+ (int) SC_TitleBarSysMenu
{
	return (int) QSTYLE_SC_TitleBarSysMenu;
}

+ (int) SC_TitleBarMinButton
{
	return (int) QSTYLE_SC_TitleBarMinButton;
}

+ (int) SC_TitleBarMaxButton
{
	return (int) QSTYLE_SC_TitleBarMaxButton;
}

+ (int) SC_TitleBarCloseButton
{
	return (int) QSTYLE_SC_TitleBarCloseButton;
}

+ (int) SC_TitleBarNormalButton
{
	return (int) QSTYLE_SC_TitleBarNormalButton;
}

+ (int) SC_TitleBarShadeButton
{
	return (int) QSTYLE_SC_TitleBarShadeButton;
}

+ (int) SC_TitleBarUnshadeButton
{
	return (int) QSTYLE_SC_TitleBarUnshadeButton;
}

+ (int) SC_ListView
{
	return (int) QSTYLE_SC_ListView;
}

+ (int) SC_ListViewBranch
{
	return (int) QSTYLE_SC_ListViewBranch;
}

+ (int) SC_ListViewExpand
{
	return (int) QSTYLE_SC_ListViewExpand;
}

+ (int) SC_All
{
	return (int) QSTYLE_SC_All;
}

+ (int) PM_ButtonMargin
{
	return (int) QSTYLE_PM_ButtonMargin;
}

+ (int) PM_ButtonDefaultIndicator
{
	return (int) QSTYLE_PM_ButtonDefaultIndicator;
}

+ (int) PM_MenuButtonIndicator
{
	return (int) QSTYLE_PM_MenuButtonIndicator;
}

+ (int) PM_ButtonShiftHorizontal
{
	return (int) QSTYLE_PM_ButtonShiftHorizontal;
}

+ (int) PM_ButtonShiftVertical
{
	return (int) QSTYLE_PM_ButtonShiftVertical;
}

+ (int) PM_DefaultFrameWidth
{
	return (int) QSTYLE_PM_DefaultFrameWidth;
}

+ (int) PM_SpinBoxFrameWidth
{
	return (int) QSTYLE_PM_SpinBoxFrameWidth;
}

+ (int) PM_MaximumDragDistance
{
	return (int) QSTYLE_PM_MaximumDragDistance;
}

+ (int) PM_ScrollBarExtent
{
	return (int) QSTYLE_PM_ScrollBarExtent;
}

+ (int) PM_ScrollBarSliderMin
{
	return (int) QSTYLE_PM_ScrollBarSliderMin;
}

+ (int) PM_SliderThickness
{
	return (int) QSTYLE_PM_SliderThickness;
}

+ (int) PM_SliderControlThickness
{
	return (int) QSTYLE_PM_SliderControlThickness;
}

+ (int) PM_SliderLength
{
	return (int) QSTYLE_PM_SliderLength;
}

+ (int) PM_SliderTickmarkOffset
{
	return (int) QSTYLE_PM_SliderTickmarkOffset;
}

+ (int) PM_SliderSpaceAvailable
{
	return (int) QSTYLE_PM_SliderSpaceAvailable;
}

+ (int) PM_DockWindowSeparatorExtent
{
	return (int) QSTYLE_PM_DockWindowSeparatorExtent;
}

+ (int) PM_DockWindowHandleExtent
{
	return (int) QSTYLE_PM_DockWindowHandleExtent;
}

+ (int) PM_DockWindowFrameWidth
{
	return (int) QSTYLE_PM_DockWindowFrameWidth;
}

+ (int) PM_MenuBarFrameWidth
{
	return (int) QSTYLE_PM_MenuBarFrameWidth;
}

+ (int) PM_TabBarTabOverlap
{
	return (int) QSTYLE_PM_TabBarTabOverlap;
}

+ (int) PM_TabBarTabHSpace
{
	return (int) QSTYLE_PM_TabBarTabHSpace;
}

+ (int) PM_TabBarTabVSpace
{
	return (int) QSTYLE_PM_TabBarTabVSpace;
}

+ (int) PM_TabBarBaseHeight
{
	return (int) QSTYLE_PM_TabBarBaseHeight;
}

+ (int) PM_TabBarBaseOverlap
{
	return (int) QSTYLE_PM_TabBarBaseOverlap;
}

+ (int) PM_ProgressBarChunkWidth
{
	return (int) QSTYLE_PM_ProgressBarChunkWidth;
}

+ (int) PM_SplitterWidth
{
	return (int) QSTYLE_PM_SplitterWidth;
}

+ (int) PM_TitleBarHeight
{
	return (int) QSTYLE_PM_TitleBarHeight;
}

+ (int) PM_IndicatorWidth
{
	return (int) QSTYLE_PM_IndicatorWidth;
}

+ (int) PM_IndicatorHeight
{
	return (int) QSTYLE_PM_IndicatorHeight;
}

+ (int) PM_ExclusiveIndicatorWidth
{
	return (int) QSTYLE_PM_ExclusiveIndicatorWidth;
}

+ (int) PM_ExclusiveIndicatorHeight
{
	return (int) QSTYLE_PM_ExclusiveIndicatorHeight;
}

+ (int) PM_CustomBase
{
	return (int) QSTYLE_PM_CustomBase;
}

+ (int) CT_PushButton
{
	return (int) QSTYLE_CT_PushButton;
}

+ (int) CT_CheckBox
{
	return (int) QSTYLE_CT_CheckBox;
}

+ (int) CT_RadioButton
{
	return (int) QSTYLE_CT_RadioButton;
}

+ (int) CT_ToolButton
{
	return (int) QSTYLE_CT_ToolButton;
}

+ (int) CT_ComboBox
{
	return (int) QSTYLE_CT_ComboBox;
}

+ (int) CT_Splitter
{
	return (int) QSTYLE_CT_Splitter;
}

+ (int) CT_DockWindow
{
	return (int) QSTYLE_CT_DockWindow;
}

+ (int) CT_ProgressBar
{
	return (int) QSTYLE_CT_ProgressBar;
}

+ (int) CT_PopupMenuItem
{
	return (int) QSTYLE_CT_PopupMenuItem;
}

+ (int) CT_CustomBase
{
	return (int) QSTYLE_CT_CustomBase;
}

+ (int) SH_EtchDisabledText
{
	return (int) QSTYLE_SH_EtchDisabledText;
}

+ (int) SH_GUIStyle
{
	return (int) QSTYLE_SH_GUIStyle;
}

+ (int) SH_ScrollBar_BackgroundMode
{
	return (int) QSTYLE_SH_ScrollBar_BackgroundMode;
}

+ (int) SH_ScrollBar_MiddleClickAbsolutePosition
{
	return (int) QSTYLE_SH_ScrollBar_MiddleClickAbsolutePosition;
}

+ (int) SH_ScrollBar_ScrollWhenPointerLeavesControl
{
	return (int) QSTYLE_SH_ScrollBar_ScrollWhenPointerLeavesControl;
}

+ (int) SH_TabBar_SelectMouseType
{
	return (int) QSTYLE_SH_TabBar_SelectMouseType;
}

+ (int) SH_TabBar_Alignment
{
	return (int) QSTYLE_SH_TabBar_Alignment;
}

+ (int) SH_Header_ArrowAlignment
{
	return (int) QSTYLE_SH_Header_ArrowAlignment;
}

+ (int) SH_Slider_SnapToValue
{
	return (int) QSTYLE_SH_Slider_SnapToValue;
}

+ (int) SH_Slider_SloppyKeyEvents
{
	return (int) QSTYLE_SH_Slider_SloppyKeyEvents;
}

+ (int) SH_ProgressDialog_CenterCancelButton
{
	return (int) QSTYLE_SH_ProgressDialog_CenterCancelButton;
}

+ (int) SH_ProgressDialog_TextLabelAlignment
{
	return (int) QSTYLE_SH_ProgressDialog_TextLabelAlignment;
}

+ (int) SH_PrintDialog_RightAlignButtons
{
	return (int) QSTYLE_SH_PrintDialog_RightAlignButtons;
}

+ (int) SH_MainWindow_SpaceBelowMenuBar
{
	return (int) QSTYLE_SH_MainWindow_SpaceBelowMenuBar;
}

+ (int) SH_FontDialog_SelectAssociatedText
{
	return (int) QSTYLE_SH_FontDialog_SelectAssociatedText;
}

+ (int) SH_PopupMenu_AllowActiveAndDisabled
{
	return (int) QSTYLE_SH_PopupMenu_AllowActiveAndDisabled;
}

+ (int) SH_PopupMenu_SpaceActivatesItem
{
	return (int) QSTYLE_SH_PopupMenu_SpaceActivatesItem;
}

+ (int) SH_PopupMenu_SubMenuPopupDelay
{
	return (int) QSTYLE_SH_PopupMenu_SubMenuPopupDelay;
}

+ (int) SH_ScrollView_FrameOnlyAroundContents
{
	return (int) QSTYLE_SH_ScrollView_FrameOnlyAroundContents;
}

+ (int) SH_MenuBar_AltKeyNavigation
{
	return (int) QSTYLE_SH_MenuBar_AltKeyNavigation;
}

+ (int) SH_ComboBox_ListMouseTracking
{
	return (int) QSTYLE_SH_ComboBox_ListMouseTracking;
}

+ (int) SH_PopupMenu_MouseTracking
{
	return (int) QSTYLE_SH_PopupMenu_MouseTracking;
}

+ (int) SH_MenuBar_MouseTracking
{
	return (int) QSTYLE_SH_MenuBar_MouseTracking;
}

+ (int) SH_ItemView_ChangeHighlightOnFocus
{
	return (int) QSTYLE_SH_ItemView_ChangeHighlightOnFocus;
}

+ (int) SH_Widget_ShareActivation
{
	return (int) QSTYLE_SH_Widget_ShareActivation;
}

+ (int) SH_Workspace_FillSpaceOnMaximize
{
	return (int) QSTYLE_SH_Workspace_FillSpaceOnMaximize;
}

+ (int) SH_ComboBox_Popup
{
	return (int) QSTYLE_SH_ComboBox_Popup;
}

+ (int) SH_CustomBase
{
	return (int) QSTYLE_SH_CustomBase;
}

+ (int) SP_TitleBarMinButton
{
	return (int) QSTYLE_SP_TitleBarMinButton;
}

+ (int) SP_TitleBarMaxButton
{
	return (int) QSTYLE_SP_TitleBarMaxButton;
}

+ (int) SP_TitleBarCloseButton
{
	return (int) QSTYLE_SP_TitleBarCloseButton;
}

+ (int) SP_TitleBarNormalButton
{
	return (int) QSTYLE_SP_TitleBarNormalButton;
}

+ (int) SP_TitleBarShadeButton
{
	return (int) QSTYLE_SP_TitleBarShadeButton;
}

+ (int) SP_TitleBarUnshadeButton
{
	return (int) QSTYLE_SP_TitleBarUnshadeButton;
}

+ (int) SP_DockWindowCloseButton
{
	return (int) QSTYLE_SP_DockWindowCloseButton;
}

+ (int) SP_MessageBoxInformation
{
	return (int) QSTYLE_SP_MessageBoxInformation;
}

+ (int) SP_MessageBoxWarning
{
	return (int) QSTYLE_SP_MessageBoxWarning;
}

+ (int) SP_MessageBoxCritical
{
	return (int) QSTYLE_SP_MessageBoxCritical;
}

+ (int) SP_CustomBase
{
	return (int) QSTYLE_SP_CustomBase;
}

@end
