summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQCanvasItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/TQCanvasItem.cpp')
-rw-r--r--qtjava/javalib/qtjava/TQCanvasItem.cpp275
1 files changed, 275 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQCanvasItem.cpp b/qtjava/javalib/qtjava/TQCanvasItem.cpp
new file mode 100644
index 00000000..822a887f
--- /dev/null
+++ b/qtjava/javalib/qtjava/TQCanvasItem.cpp
@@ -0,0 +1,275 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqrect.h>
+#include <tqcanvas.h>
+#include <tqpainter.h>
+
+#include <qtjava/QtSupport.h>
+#include <qtjava/TQCanvasItem.h>
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_active(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->active();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_advance(JNIEnv* env, jobject obj, jint stage)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->advance((int) stage);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_animated(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) 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 TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRectAdvanced()), "org.kde.qt.TQRect", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QCanvasItem_boundingRect(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQCanvasItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QCanvasItem_canvas(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQCanvasItem*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TQCanvas");
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->collidesWith((const TQCanvasItem*) QtSupport::getQt(env, arg1));
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_qt_QCanvasItem_collisions(JNIEnv* env, jobject obj, jboolean exact)
+{
+ TQCanvasItemList _qlist;
+ _qlist = ((TQCanvasItem*) QtSupport::getQt(env, obj))->collisions((bool) exact);
+ return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TQCanvasItemList*) &_qlist);
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_draw(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_enabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->enabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_hide(JNIEnv* env, jobject obj)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->hide();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_isActive(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isActive();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_isEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isEnabled();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_isSelected(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isSelected();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_isVisible(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->isVisible();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_moveBy(JNIEnv* env, jobject obj, jdouble dx, jdouble dy)
+{
+ ((TQCanvasItem*) 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)
+{
+ ((TQCanvasItem*) 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) ((TQCanvasItem*) QtSupport::getQt(env, obj))->rtti();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_selected(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->selected();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setActive(JNIEnv* env, jobject obj, jboolean yes)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setActive((bool) yes);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setAnimated(JNIEnv* env, jobject obj, jboolean y)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setAnimated((bool) y);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setCanvas(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setCanvas((TQCanvas*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setEnabled(JNIEnv* env, jobject obj, jboolean yes)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setEnabled((bool) yes);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setSelected(JNIEnv* env, jobject obj, jboolean yes)
+{
+ ((TQCanvasItem*) 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)
+{
+ ((TQCanvasItem*) 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)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setVisible((bool) yes);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setXVelocity(JNIEnv* env, jobject obj, jdouble vx)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setXVelocity((double) vx);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setX(JNIEnv* env, jobject obj, jdouble a)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setX((double) a);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setYVelocity(JNIEnv* env, jobject obj, jdouble vy)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setYVelocity((double) vy);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setY(JNIEnv* env, jobject obj, jdouble a)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setY((double) a);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_setZ(JNIEnv* env, jobject obj, jdouble a)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->setZ((double) a);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QCanvasItem_show(JNIEnv* env, jobject obj)
+{
+ ((TQCanvasItem*) QtSupport::getQt(env, obj))->show();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QCanvasItem_visible(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQCanvasItem*) QtSupport::getQt(env, obj))->visible();
+ return xret;
+}
+
+JNIEXPORT jdouble JNICALL
+Java_org_kde_qt_QCanvasItem_xVelocity(JNIEnv* env, jobject obj)
+{
+ jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->xVelocity();
+ return xret;
+}
+
+JNIEXPORT jdouble JNICALL
+Java_org_kde_qt_QCanvasItem_x(JNIEnv* env, jobject obj)
+{
+ jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->x();
+ return xret;
+}
+
+JNIEXPORT jdouble JNICALL
+Java_org_kde_qt_QCanvasItem_yVelocity(JNIEnv* env, jobject obj)
+{
+ jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->yVelocity();
+ return xret;
+}
+
+JNIEXPORT jdouble JNICALL
+Java_org_kde_qt_QCanvasItem_y(JNIEnv* env, jobject obj)
+{
+ jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->y();
+ return xret;
+}
+
+JNIEXPORT jdouble JNICALL
+Java_org_kde_qt_QCanvasItem_z(JNIEnv* env, jobject obj)
+{
+ jdouble xret = (jdouble) ((TQCanvasItem*) QtSupport::getQt(env, obj))->z();
+ return xret;
+}
+