diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QCanvasItem.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QCanvasItem.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QCanvasItem.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QCanvasItem.java b/qtjava/javalib/org/kde/qt/QCanvasItem.java new file mode 100644 index 00000000..f5cecb6d --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QCanvasItem.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class QCanvasItem extends Qt { + protected QCanvasItem(Class dummy){super((Class) null);} + public static final int Rtti_Item = 0; + public static final int Rtti_Sprite = 1; + public static final int Rtti_PolygonalItem = 2; + public static final int Rtti_Text = 3; + public static final int Rtti_Polygon = 4; + public static final int Rtti_Rectangle = 5; + public static final int Rtti_Ellipse = 6; + public static final int Rtti_Line = 7; + public static final int Rtti_Spline = 8; + + public native double x(); + public native double y(); + public native double z(); + public native void moveBy(double dx, double dy); + public native void move(double x, double y); + public native void setX(double a); + public native void setY(double a); + public native void setZ(double a); + public native boolean animated(); + public native void setAnimated(boolean y); + public native void setVelocity(double vx, double vy); + public native void setXVelocity(double vx); + public native void setYVelocity(double vy); + public native double xVelocity(); + public native double yVelocity(); + public native void advance(int stage); + public native boolean collidesWith(QCanvasItem arg1); + public native ArrayList collisions(boolean exact); + public native void setCanvas(QCanvas arg1); + public native void draw(QPainter arg1); + public native void show(); + public native void hide(); + public native void setVisible(boolean yes); + public native boolean isVisible(); + public native void setSelected(boolean yes); + public native boolean isSelected(); + public native void setEnabled(boolean yes); + public native boolean isEnabled(); + public native void setActive(boolean yes); + public native boolean isActive(); + public native boolean visible(); + public native boolean selected(); + public native boolean enabled(); + public native boolean active(); + public native int rtti(); + public native QRect boundingRect(); + public native QRect boundingRectAdvanced(); + public native QCanvas canvas(); +} |