//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqpoint.h>
#include <tqsize.h>
#include <tqwindowdefs.h>

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

class TQRectJBridge : public TQRect
{
public:
	TQRectJBridge() : TQRect() {};
	TQRectJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQRect(arg1,arg2) {};
	TQRectJBridge(const TQPoint& arg1,const TQSize& arg2) : TQRect(arg1,arg2) {};
	TQRectJBridge(int arg1,int arg2,int arg3,int arg4) : TQRect(arg1,arg2,arg3,arg4) {};
	~TQRectJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_bottom(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->bottom();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean proper)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((int) x, (int) y, (bool) proper);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__Lorg_trinitydesktop_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject p, jboolean proper)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) proper);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_contains__Lorg_trinitydesktop_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean proper)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->contains((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) proper);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_coords(JNIEnv* env, jobject obj, jintArray x1, jintArray y1, jintArray x2, jintArray y2)
{
	int* _int_x1 = QtSupport::toIntPtr(env, x1);
	int* _int_y1 = QtSupport::toIntPtr(env, y1);
	int* _int_x2 = QtSupport::toIntPtr(env, x2);
	int* _int_y2 = QtSupport::toIntPtr(env, y2);
	((TQRect*) QtSupport::getQt(env, obj))->coords( (int*) _int_x1,  (int*) _int_y1,  (int*) _int_x2,  (int*) _int_y2);
	env->SetIntArrayRegion(x1, 0, 1, (jint *) _int_x1);
	env->SetIntArrayRegion(y1, 0, 1, (jint *) _int_y1);
	env->SetIntArrayRegion(x2, 0, 1, (jint *) _int_x2);
	env->SetIntArrayRegion(y2, 0, 1, (jint *) _int_y2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QRect_finalize(env, obj);
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_height(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->height();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_intersects(JNIEnv* env, jobject obj, jobject r)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->intersects((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_isEmpty(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isEmpty();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_isNull(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isNull();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QRect_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_left(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->left();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveBottomLeft(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveBottomRight(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveBottom(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveBottom((int) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveBy(JNIEnv* env, jobject obj, jint dx, jint dy)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveBy((int) dx, (int) dy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveCenter(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveCenter((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveLeft(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveLeft((int) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveRight(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveRight((int) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveTopLeft(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveTopRight(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_moveTop(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->moveTop((int) pos);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_newTQRect__IIII(JNIEnv* env, jobject obj, jint left, jint top, jint width, jint height)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQRectJBridge((int) left, (int) top, (int) width, (int) height));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_newTQRect__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject topleft, jobject bottomright)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, bottomright)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_newTQRect__Lorg_trinitydesktop_qt_QPoint_2Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject topleft, jobject size)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QRect_op_1and_1assign(JNIEnv* env, jobject obj, jobject r)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator&=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.trinitydesktop.qt.TQRect");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QRect_op_1or_1assign(JNIEnv* env, jobject obj, jobject r)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQRect*) QtSupport::getQt(env, obj))->operator|=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)), "org.trinitydesktop.qt.TQRect");
	return xret;
}

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

JNIEXPORT jshort JNICALL
Java_org_trinitydesktop_qt_QRect_rBottom(JNIEnv* env, jobject obj)
{
	jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rBottom();
	return xret;
}

JNIEXPORT jshort JNICALL
Java_org_trinitydesktop_qt_QRect_rLeft(JNIEnv* env, jobject obj)
{
	jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rLeft();
	return xret;
}

JNIEXPORT jshort JNICALL
Java_org_trinitydesktop_qt_QRect_rRight(JNIEnv* env, jobject obj)
{
	jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rRight();
	return xret;
}

JNIEXPORT jshort JNICALL
Java_org_trinitydesktop_qt_QRect_rTop(JNIEnv* env, jobject obj)
{
	jshort xret = (jshort) ((TQRect*) QtSupport::getQt(env, obj))->rTop();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, jintArray w, jintArray h)
{
	int* _int_x = QtSupport::toIntPtr(env, x);
	int* _int_y = QtSupport::toIntPtr(env, y);
	int* _int_w = QtSupport::toIntPtr(env, w);
	int* _int_h = QtSupport::toIntPtr(env, h);
	((TQRect*) QtSupport::getQt(env, obj))->rect( (int*) _int_x,  (int*) _int_y,  (int*) _int_w,  (int*) _int_h);
	env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x);
	env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y);
	env->SetIntArrayRegion(w, 0, 1, (jint *) _int_w);
	env->SetIntArrayRegion(h, 0, 1, (jint *) _int_h);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_right(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->right();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setBottomLeft(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->setBottomLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setBottomRight(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->setBottomRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setBottom(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->setBottom((int) pos);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setHeight(JNIEnv* env, jobject obj, jint h)
{
	((TQRect*) QtSupport::getQt(env, obj))->setHeight((int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setLeft(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->setLeft((int) pos);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setRight(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->setRight((int) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setSize(JNIEnv* env, jobject obj, jobject s)
{
	((TQRect*) QtSupport::getQt(env, obj))->setSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setTopLeft(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->setTopLeft((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setTopRight(JNIEnv* env, jobject obj, jobject p)
{
	((TQRect*) QtSupport::getQt(env, obj))->setTopRight((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setTop(JNIEnv* env, jobject obj, jint pos)
{
	((TQRect*) QtSupport::getQt(env, obj))->setTop((int) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setWidth(JNIEnv* env, jobject obj, jint w)
{
	((TQRect*) QtSupport::getQt(env, obj))->setWidth((int) w);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setX(JNIEnv* env, jobject obj, jint x)
{
	((TQRect*) QtSupport::getQt(env, obj))->setX((int) x);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QRect_setY(JNIEnv* env, jobject obj, jint y)
{
	((TQRect*) QtSupport::getQt(env, obj))->setY((int) y);
	return;
}

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_top(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->top();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_width(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->width();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_x(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->x();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QRect_y(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->y();
	return xret;
}

