//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qstyle.h>
#include <qstring.h>
#include <qpoint.h>
#include <qpalette.h>
#include <qsize.h>
#include <qpixmap.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QStyle.h>

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QStyle_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((QStyle*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_defaultFrameWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->defaultFrameWidth();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject arg5)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControl((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControl((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2II(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControl((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how, (QStyle::SCFlags) sub);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2III(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControl((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how, (QStyle::SCFlags) sub, (QStyle::SCFlags) subActive);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawComplexControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2IIILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive, jobject arg9)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawComplexControl((QStyle::ComplexControl) control, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how, (QStyle::SCFlags) sub, (QStyle::SCFlags) subActive, (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg9));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawControlMask((QStyle::ControlElement) element, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawControlMask__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject arg5)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawControlMask((QStyle::ControlElement) element, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawControl((QStyle::ControlElement) element, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawControl((QStyle::ControlElement) element, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawControl__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how, jobject arg7)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawControl((QStyle::ControlElement) element, (QPainter*) QtSupport::getQt(env, p), (const QWidget*) QtSupport::getQt(env, widget), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) how, (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg7));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text)
{
static QString* _qstring_text = 0;
	((QStyle*) QtSupport::getQt(env, obj))->drawItem((QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (int) flags, (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const QPixmap*) QtSupport::getQt(env, pixmap), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len)
{
static QString* _qstring_text = 0;
	((QStyle*) QtSupport::getQt(env, obj))->drawItem((QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (int) flags, (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const QPixmap*) QtSupport::getQt(env, pixmap), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawItem__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2ILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len, jobject penColor)
{
static QString* _qstring_text = 0;
	((QStyle*) QtSupport::getQt(env, obj))->drawItem((QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (int) flags, (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const QPixmap*) QtSupport::getQt(env, pixmap), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) len, (const QColor*) QtSupport::getQt(env, penColor));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawPrimitive((QStyle::PrimitiveElement) pe, (QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawPrimitive((QStyle::PrimitiveElement) pe, (QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) flags);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_drawPrimitive__ILorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags, jobject arg6)
{
	((QStyle*) QtSupport::getQt(env, obj))->drawPrimitive((QStyle::PrimitiveElement) pe, (QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (QStyle::SFlags) flags, (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg6));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text)
{
static QString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyle*) QtSupport::getQt(env, obj))->itemRect((QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const QPixmap*) QtSupport::getQt(env, pixmap), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text))), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_itemRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2IZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text, jint len)
{
static QString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyle*) QtSupport::getQt(env, obj))->itemRect((QPainter*) QtSupport::getQt(env, p), (const QRect&)*(const QRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const QPixmap*) QtSupport::getQt(env, pixmap), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_pixelMetric__I(JNIEnv* env, jobject obj, jint metric)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->pixelMetric((QStyle::PixelMetric) metric);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_pixelMetric__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint metric, jobject widget)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->pixelMetric((QStyle::PixelMetric) metric, (const QWidget*) QtSupport::getQt(env, widget));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_polishPopupMenu(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((QPopupMenu*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->polish((QApplication*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->polish((QPalette&)*(QPalette*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_polish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->polish((QWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((QStyle::ComplexControl) control, (const QWidget*) QtSupport::getQt(env, widget), (QStyle::SubControl) sc)), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_querySubControlMetrics__ILorg_kde_qt_QWidget_2ILorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc, jobject arg4)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((QStyle::ComplexControl) control, (const QWidget*) QtSupport::getQt(env, widget), (QStyle::SubControl) sc, (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->querySubControl((QStyle::ComplexControl) control, (const QWidget*) QtSupport::getQt(env, widget), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_querySubControl__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos, jobject arg4)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->querySubControl((QStyle::ComplexControl) control, (const QWidget*) QtSupport::getQt(env, widget), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg4));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_scrollBarExtent(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QStyle*) QtSupport::getQt(env, obj))->sizeFromContents((QStyle::ContentsType) contents, (const QWidget*) QtSupport::getQt(env, widget), (const QSize&)*(const QSize*) QtSupport::getQt(env, contentsSize))), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_sizeFromContents__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize, jobject arg4)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QStyle*) QtSupport::getQt(env, obj))->sizeFromContents((QStyle::ContentsType) contents, (const QWidget*) QtSupport::getQt(env, widget), (const QSize&)*(const QSize*) QtSupport::getQt(env, contentsSize), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_styleHint__I(JNIEnv* env, jobject obj, jint stylehint)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->styleHint((QStyle::StyleHint) stylehint);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->styleHint((QStyle::StyleHint) stylehint, (const QWidget*) QtSupport::getQt(env, widget));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QStyle_styleHint__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget, jobject arg3)
{
	jint xret = (jint) ((QStyle*) QtSupport::getQt(env, obj))->styleHint((QStyle::StyleHint) stylehint, (const QWidget*) QtSupport::getQt(env, widget), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg3));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_stylePixmap__I(JNIEnv* env, jobject obj, jint stylepixmap)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QStyle*) QtSupport::getQt(env, obj))->stylePixmap((QStyle::StylePixmap) stylepixmap)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QStyle*) QtSupport::getQt(env, obj))->stylePixmap((QStyle::StylePixmap) stylepixmap, (const QWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_stylePixmap__ILorg_kde_qt_QWidget_2Lorg_kde_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget, jobject arg3)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QStyle*) QtSupport::getQt(env, obj))->stylePixmap((QStyle::StylePixmap) stylepixmap, (const QWidget*) QtSupport::getQt(env, widget), (const QStyleOption&)*(const QStyleOption*) QtSupport::getQt(env, arg3))), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_subRect(JNIEnv* env, jobject obj, jint r, jobject widget)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyle*) QtSupport::getQt(env, obj))->subRect((QStyle::SubRect) r, (const QWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintArray hf, jintArray vf, jintArray ov)
{
	int* _int_hf = QtSupport::toIntPtr(env, hf);
	int* _int_vf = QtSupport::toIntPtr(env, vf);
	int* _int_ov = QtSupport::toIntPtr(env, ov);
	((QStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const QWidget*) QtSupport::getQt(env, t),  (int&) *_int_hf,  (int&) *_int_vf,  (int&) *_int_ov);
	env->SetIntArrayRegion(hf, 0, 1, (jint *) _int_hf);
	env->SetIntArrayRegion(vf, 0, 1, (jint *) _int_vf);
	env->SetIntArrayRegion(ov, 0, 1, (jint *) _int_ov);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->unPolish((QApplication*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyle_unPolish__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QStyle*) QtSupport::getQt(env, obj))->unPolish((QWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject logical, jobject bounding)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(QStyle::visualRect((const QRect&)*(const QRect*) QtSupport::getQt(env, logical), (const QRect&)*(const QRect*) QtSupport::getQt(env, bounding))), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyle_visualRect__Lorg_kde_qt_QRect_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject logical, jobject w)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(QStyle::visualRect((const QRect&)*(const QRect*) QtSupport::getQt(env, logical), (const QWidget*) QtSupport::getQt(env, w))), "org.kde.qt.QRect", TRUE);
	return xret;
}

