//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqstring.h>
#include <tqwmatrix.h>
#include <tqpoint.h>
#include <tqfontmetrics.h>
#include <tqpainter.h>
#include <tqpicture.h>
#include <tqbrush.h>
#include <tqregion.h>
#include <tqfontinfo.h>
#include <tqpixmap.h>
#include <tqfont.h>
#include <tqimage.h>
#include <tqpointarray.h>
#include <tqpen.h>
#include <tqcolor.h>
#include <tqnamespace.h>

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

class TQPainterJBridge : public TQPainter
{
public:
	TQPainterJBridge() : TQPainter() {};
	TQPainterJBridge(const TQPaintDevice* arg1,bool arg2) : TQPainter(arg1,arg2) {};
	TQPainterJBridge(const TQPaintDevice* arg1) : TQPainter(arg1) {};
	TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2,bool arg3) : TQPainter(arg1,arg2,arg3) {};
	TQPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2) : TQPainter(arg1,arg2) {};
	~TQPainterJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_backgroundColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQPainter*) QtSupport::getQt(env, obj))->backgroundColor(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QPainter_backgroundMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->backgroundMode();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_begin__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_begin__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_begin__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Lorg_trinitydesktop_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_begin__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->begin((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_boundingRect__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6)
{
static TQString* _qstring_arg6 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_boundingRect__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len)
{
static TQString* _qstring_arg6 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len)), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_boundingRect__Lorg_trinitydesktop_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3)
{
static TQString* _qstring_arg3 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_boundingRect__Lorg_trinitydesktop_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len)
{
static TQString* _qstring_arg3 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len)), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_brushOrigin(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQPainter*) QtSupport::getQt(env, obj))->brushOrigin(), "org.trinitydesktop.qt.TQPoint");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_brush(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQPainter*) QtSupport::getQt(env, obj))->brush(), "org.trinitydesktop.qt.TQBrush");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_cleanup(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TQPainterJBridge::cleanup();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_clipRegion__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion()), "org.trinitydesktop.qt.TQRegion", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_clipRegion__I(JNIEnv* env, jobject obj, jint arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQPainter*) QtSupport::getQt(env, obj))->clipRegion((TQPainter::CoordinateMode) arg1)), "org.trinitydesktop.qt.TQRegion", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_device(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQPainter*) QtSupport::getQt(env, obj))->device(), "org.trinitydesktop.qt.TQPaintDeviceInterface");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QPainter_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawArc__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawArc((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawArc__Lorg_trinitydesktop_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawArc((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawChord__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawChord((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawChord__Lorg_trinitydesktop_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawChord((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawConvexPolygon__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawConvexPolygon__Lorg_trinitydesktop_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawConvexPolygon__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawCubicBezier__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawCubicBezier__Lorg_trinitydesktop_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawEllipse__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawEllipse__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawEllipse((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__IILorg_trinitydesktop_qt_QImage_2IIIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh, jint conversionFlags)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversionFlags);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint conversion_flags)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (int) conversion_flags);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QImage_2Lorg_trinitydesktop_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr, jint conversionFlags)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr), (int) conversionFlags);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawImage__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawImage((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawLineSegments__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawLineSegments__Lorg_trinitydesktop_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawLineSegments__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint nlines)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) nlines);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawLine__IIII(JNIEnv* env, jobject obj, jint x1, jint y1, jint x2, jint y2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawLine((int) x1, (int) y1, (int) x2, (int) y2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawLine__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawLine((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPicture__IILorg_trinitydesktop_qt_QPicture_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((int) x, (int) y, (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPicture__Lorg_trinitydesktop_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPicture__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPie__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPie((int) x, (int) y, (int) w, (int) h, (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPie__Lorg_trinitydesktop_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint a, jint alen)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPie((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) a, (int) alen);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__IILorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__IILorg_trinitydesktop_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__IILorg_trinitydesktop_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__IILorg_trinitydesktop_qt_QPixmap_2III(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__IILorg_trinitydesktop_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jint x, jint y, jobject arg3, jint sx, jint sy, jint sw, jint sh)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3), (int) sx, (int) sy, (int) sw, (int) sh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject sr)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPixmap__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPoint__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPoint__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPoint((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPoints__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPoints__Lorg_trinitydesktop_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject a, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPoints__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject a, jint index, jint npoints)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a), (int) index, (int) npoints);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolygon__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolygon__Lorg_trinitydesktop_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolygon__Lorg_trinitydesktop_qt_QPointArray_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolygon__Lorg_trinitydesktop_qt_QPointArray_2ZII(JNIEnv* env, jobject obj, jobject arg1, jboolean winding, jint index, jint npoints)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding, (int) index, (int) npoints);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolyline__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolyline__Lorg_trinitydesktop_qt_QPointArray_2I(JNIEnv* env, jobject obj, jobject arg1, jint index)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawPolyline__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRect((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRect__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__IIIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5, jint arg6)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((int) x, (int) y, (int) w, (int) h, (int) arg5, (int) arg6);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__Lorg_trinitydesktop_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawRoundRect__Lorg_trinitydesktop_qt_QRect_2II(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jint arg3)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) arg2, (int) arg3);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IIIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6)
{
static TQString* _qstring_arg6 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IIIIILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len)
{
static TQString* _qstring_arg6 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IIIIILjava_lang_String_2ILorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint flags, jstring arg6, jint len, jobject br)
{
static TQString* _qstring_arg6 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len, (TQRect*) QtSupport::getQt(env, br));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IILjava_lang_String_2I(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IILjava_lang_String_2II(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint len, jint dir)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQPainter::TextDirection) dir);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__IILjava_lang_String_2III(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3, jint pos, jint len, jint dir)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) pos, (int) len, (TQPainter::TextDirection) dir);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2)
{
static TQString* _qstring_arg2 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QPoint_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len)
{
static TQString* _qstring_arg2 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QPoint_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint len, jint dir)
{
static TQString* _qstring_arg2 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len, (TQPainter::TextDirection) dir);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QPoint_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject p, jstring arg2, jint pos, jint len, jint dir)
{
static TQString* _qstring_arg2 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) pos, (int) len, (TQPainter::TextDirection) dir);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawText__Lorg_trinitydesktop_qt_QRect_2ILjava_lang_String_2ILorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jint flags, jstring arg3, jint len, jobject br)
{
static TQString* _qstring_arg3 = 0;
	((TQPainter*) QtSupport::getQt(env, obj))->drawText((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TQRect*) QtSupport::getQt(env, br));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawTiledPixmap__IIIILorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawTiledPixmap__IIIILorg_trinitydesktop_qt_QPixmap_2I(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawTiledPixmap__IIIILorg_trinitydesktop_qt_QPixmap_2II(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5, jint sx, jint sy)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg5), (int) sx, (int) sy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawTiledPixmap__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawTiledPixmap__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QPixmap_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawWinFocusRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawWinFocusRect__IIIILorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject bgColor)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawWinFocusRect__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_drawWinFocusRect__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1, jobject bgColor)
{
	((TQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_end(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->end();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_eraseRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_eraseRect__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->eraseRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_fillRect__IIIILorg_trinitydesktop_qt_QBrush_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jobject arg5)
{
	((TQPainter*) QtSupport::getQt(env, obj))->fillRect((int) x, (int) y, (int) w, (int) h, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg5));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_fillRect__Lorg_trinitydesktop_qt_QRect_2Lorg_trinitydesktop_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->fillRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (TQPainter*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_flush__(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->flush();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_flush__Lorg_trinitydesktop_qt_QRegion_2(JNIEnv* env, jobject obj, jobject region)
{
	((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_flush__Lorg_trinitydesktop_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject region, jint cm)
{
	((TQPainter*) QtSupport::getQt(env, obj))->flush((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, region), (TQPainter::CoordinateMode) cm);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_fontInfo(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQPainter*) QtSupport::getQt(env, obj))->fontInfo()), "org.trinitydesktop.qt.TQFontInfo", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_fontMetrics(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQPainter*) QtSupport::getQt(env, obj))->fontMetrics()), "org.trinitydesktop.qt.TQFontMetrics", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_font(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQPainter*) QtSupport::getQt(env, obj))->font(), "org.trinitydesktop.qt.TQFont");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_hasClipping(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasClipping();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_hasViewXForm(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasViewXForm();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_hasWorldXForm(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasWorldXForm();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_initialize(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TQPainterJBridge::initialize();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_isActive(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->isActive();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPainter_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_lineTo__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	((TQPainter*) QtSupport::getQt(env, obj))->lineTo((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_lineTo__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->lineTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_moveTo__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	((TQPainter*) QtSupport::getQt(env, obj))->moveTo((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_moveTo__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->moveTo((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_newTQPainter__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQPainterJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_newTQPainter__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_newTQPainter__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_newTQPainter__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Lorg_trinitydesktop_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_newTQPainter__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_pen(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQPainter*) QtSupport::getQt(env, obj))->pen(), "org.trinitydesktop.qt.TQPen");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_pos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->pos()), "org.trinitydesktop.qt.TQPoint", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QPainter_rasterOp(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->rasterOp();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_redirect__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev)), "org.trinitydesktop.qt.TQPaintDeviceInterface");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_redirect__Lorg_trinitydesktop_qt_QPaintDeviceInterface_2Lorg_trinitydesktop_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject pdev, jobject replacement)
{
	(void) cls;
	TQPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev), (TQPaintDevice*) QtSupport::paintDevice(env, replacement));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_resetXForm(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->resetXForm();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_restoreWorldMatrix(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->restoreWorldMatrix();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_restore(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->restore();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_rotate(JNIEnv* env, jobject obj, jdouble a)
{
	((TQPainter*) QtSupport::getQt(env, obj))->rotate((double) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_saveWorldMatrix(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->saveWorldMatrix();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_save(JNIEnv* env, jobject obj)
{
	((TQPainter*) QtSupport::getQt(env, obj))->save();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_scale(JNIEnv* env, jobject obj, jdouble sx, jdouble sy)
{
	((TQPainter*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBackgroundMode(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BGMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBrushOrigin__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBrushOrigin__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBrush__I(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBrush((TQt::BrushStyle) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBrush__Lorg_trinitydesktop_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setBrush__Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setBrush((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRect__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRect__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h, (TQPainter::CoordinateMode) arg5);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRect__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRect__Lorg_trinitydesktop_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRegion__Lorg_trinitydesktop_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipRegion__Lorg_trinitydesktop_qt_QRegion_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (TQPainter::CoordinateMode) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setClipping(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setClipping((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setFont(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setPen__I(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setPen((TQt::PenStyle) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setPen__Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setPen__Lorg_trinitydesktop_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setPen((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setRasterOp(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setRasterOp((TQt::RasterOp) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setTabArray(JNIEnv* env, jobject obj, jintArray arg1)
{
	int* _int_arg1 = QtSupport::toIntPtr(env, arg1);
	((TQPainter*) QtSupport::getQt(env, obj))->setTabArray( (int*) _int_arg1);
	env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setTabStops(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setTabStops((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setViewXForm(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setViewXForm((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setViewport__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setViewport((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setViewport__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setViewport((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setWindow__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setWindow((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setWindow__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setWindow((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setWorldMatrix__Lorg_trinitydesktop_qt_QWMatrix_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setWorldMatrix__Lorg_trinitydesktop_qt_QWMatrix_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean combine)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (bool) combine);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_setWorldXForm(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQPainter*) QtSupport::getQt(env, obj))->setWorldXForm((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_shear(JNIEnv* env, jobject obj, jdouble sh, jdouble sv)
{
	((TQPainter*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv);
	return;
}

JNIEXPORT jintArray JNICALL
Java_org_trinitydesktop_qt_QPainter_tabArray(JNIEnv* env, jobject obj)
{
	int* _qint;
	_qint = ((TQPainter*) QtSupport::getQt(env, obj))->tabArray();
	return QtSupport::fromIntPtr(env, (int*)_qint);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QPainter_tabStops(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->tabStops();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPainter_translate(JNIEnv* env, jobject obj, jdouble dx, jdouble dy)
{
	((TQPainter*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy);
	return;
}

JNIEXPORT jdouble JNICALL
Java_org_trinitydesktop_qt_QPainter_translationX(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationX();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_trinitydesktop_qt_QPainter_translationY(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((TQPainter*) QtSupport::getQt(env, obj))->translationY();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_viewport(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->viewport()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_window(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->window()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_worldMatrix(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQWMatrix *) &((TQPainter*) QtSupport::getQt(env, obj))->worldMatrix(), "org.trinitydesktop.qt.TQWMatrix");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xFormDev__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPointArray", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xFormDev__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.trinitydesktop.qt.TQPointArray", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xFormDev__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xFormDev__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xForm__Lorg_trinitydesktop_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPointArray", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xForm__Lorg_trinitydesktop_qt_QPointArray_2II(JNIEnv* env, jobject obj, jobject arg1, jint index, jint npoints)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.trinitydesktop.qt.TQPointArray", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xForm__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPainter_xForm__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQPainter*) QtSupport::getQt(env, obj))->xForm((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

