//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqstyle.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqpalette.h>
#include <tqsize.h>
#include <tqpixmap.h>

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject arg5)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2II(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2III(JNIEnv* env, jobject obj, jint control, jobject p, jobject widget, jobject r, jobject cg, jint how, jint sub, jint subActive)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawComplexControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2IIILorg_trinitydesktop_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)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TQStyle::ComplexControl) control, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (TQStyle::SCFlags) sub, (TQStyle::SCFlags) subActive, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg9));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControlMask__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject arg5)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawControl__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint element, jobject p, jobject widget, jobject r, jobject cg, jint how, jobject arg7)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawControl((TQStyle::ControlElement) element, (TQPainter*) QtSupport::getQt(env, p), (const TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) how, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg7));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_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 TQString* _qstring_text = 0;
	((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_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 TQString* _qstring_text = 0;
	((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawItem__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2ILorg_trinitydesktop_qt_QColorGroup_2ZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2ILorg_trinitydesktop_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 TQString* _qstring_text = 0;
	((TQStyle*) QtSupport::getQt(env, obj))->drawItem((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2I(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_drawPrimitive__ILorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColorGroup_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint pe, jobject p, jobject r, jobject cg, jint flags, jobject arg6)
{
	((TQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TQStyle::PrimitiveElement) pe, (TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (TQStyle::SFlags) flags, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg6));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_itemRect__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2IZLorg_trinitydesktop_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject p, jobject r, jint flags, jboolean enabled, jobject pixmap, jstring text)
{
static TQString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_itemRect__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2IZLorg_trinitydesktop_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 TQString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->itemRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polishPopupMenu(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((TQPopupMenu*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->polish((TQApplication*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->polish((TQPalette&)*(TQPalette*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_polish__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->polish((TQWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControlMetrics__ILorg_trinitydesktop_qt_QWidget_2I(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc)), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControlMetrics__ILorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jint sc, jobject arg4)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (TQStyle::SubControl) sc, (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControl__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos)
{
	jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_querySubControl__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint control, jobject widget, jobject pos, jobject arg4)
{
	jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->querySubControl((TQStyle::ComplexControl) control, (const TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_scrollBarExtent(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_sizeFromContents__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize))), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_sizeFromContents__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint contents, jobject widget, jobject contentsSize, jobject arg4)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TQStyle::ContentsType) contents, (const TQWidget*) QtSupport::getQt(env, widget), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, contentsSize), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg4))), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyle_styleHint__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylehint, jobject widget, jobject arg3)
{
	jint xret = (jint) ((TQStyle*) QtSupport::getQt(env, obj))->styleHint((TQStyle::StyleHint) stylehint, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3));
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_stylePixmap__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget))), "org.trinitydesktop.qt.TQPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_stylePixmap__ILorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QStyleOption_2(JNIEnv* env, jobject obj, jint stylepixmap, jobject widget, jobject arg3)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TQStyle::StylePixmap) stylepixmap, (const TQWidget*) QtSupport::getQt(env, widget), (const TQStyleOption&)*(const TQStyleOption*) QtSupport::getQt(env, arg3))), "org.trinitydesktop.qt.TQPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_subRect(JNIEnv* env, jobject obj, jint r, jobject widget)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyle*) QtSupport::getQt(env, obj))->subRect((TQStyle::SubRect) r, (const TQWidget*) QtSupport::getQt(env, widget))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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);
	((TQStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const TQWidget*) 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_trinitydesktop_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
	_qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QStyle_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
	_qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_unPolish__Lorg_trinitydesktop_qt_QApplication_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQApplication*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyle_unPolish__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQStyle*) QtSupport::getQt(env, obj))->unPolish((TQWidget*) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyle_visualRect__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jclass cls, jobject logical, jobject w)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TQStyle::visualRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, logical), (const TQWidget*) QtSupport::getQt(env, w))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

