//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qcanvas.h>
#include <qpainter.h>

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_active(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->active();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_advance(JNIEnv* env, jobject obj, jint stage)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->advance((int) stage);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_animated(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->animated();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasItem_boundingRectAdvanced(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QCanvasItem*) QtSupport::getQt(env, obj))->boundingRectAdvanced()), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasItem_boundingRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QCanvasItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasItem_canvas(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QCanvasItem*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.QCanvas");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->collidesWith((const QCanvasItem*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasItem_collisions(JNIEnv* env, jobject obj, jboolean exact)
{
	QCanvasItemList  _qlist;
	_qlist = ((QCanvasItem*) QtSupport::getQt(env, obj))->collisions((bool) exact);
	return (jobject) QtSupport::arrayWithQCanvasItemList(env, (QCanvasItemList*) &_qlist);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_draw(JNIEnv* env, jobject obj, jobject arg1)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->draw((QPainter&)*(QPainter*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_enabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->enabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_hide(JNIEnv* env, jobject obj)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->hide();
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_isEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->isEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_isSelected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->isSelected();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_isVisible(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->isVisible();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_move(JNIEnv* env, jobject obj, jdouble x, jdouble y)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->move((double) x, (double) y);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasItem_rtti(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QCanvasItem*) QtSupport::getQt(env, obj))->rtti();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_selected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->selected();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setActive(JNIEnv* env, jobject obj, jboolean yes)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setActive((bool) yes);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setAnimated(JNIEnv* env, jobject obj, jboolean y)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setAnimated((bool) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setCanvas(JNIEnv* env, jobject obj, jobject arg1)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setCanvas((QCanvas*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setEnabled(JNIEnv* env, jobject obj, jboolean yes)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setEnabled((bool) yes);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setSelected(JNIEnv* env, jobject obj, jboolean yes)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setSelected((bool) yes);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setVelocity(JNIEnv* env, jobject obj, jdouble vx, jdouble vy)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setVelocity((double) vx, (double) vy);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setVisible(JNIEnv* env, jobject obj, jboolean yes)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setVisible((bool) yes);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setXVelocity(JNIEnv* env, jobject obj, jdouble vx)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setXVelocity((double) vx);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setX(JNIEnv* env, jobject obj, jdouble a)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setX((double) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setYVelocity(JNIEnv* env, jobject obj, jdouble vy)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setYVelocity((double) vy);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setY(JNIEnv* env, jobject obj, jdouble a)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setY((double) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_setZ(JNIEnv* env, jobject obj, jdouble a)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->setZ((double) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasItem_show(JNIEnv* env, jobject obj)
{
	((QCanvasItem*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasItem_visible(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QCanvasItem*) QtSupport::getQt(env, obj))->visible();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QCanvasItem_xVelocity(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QCanvasItem*) QtSupport::getQt(env, obj))->xVelocity();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QCanvasItem_x(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QCanvasItem*) QtSupport::getQt(env, obj))->x();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QCanvasItem_yVelocity(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QCanvasItem*) QtSupport::getQt(env, obj))->yVelocity();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QCanvasItem_y(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QCanvasItem*) QtSupport::getQt(env, obj))->y();
	return xret;
}

JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QCanvasItem_z(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((QCanvasItem*) QtSupport::getQt(env, obj))->z();
	return xret;
}

