summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QCanvas.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QCanvas.java
downloadtdebindings-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/QCanvas.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvas.java103
1 files changed, 103 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QCanvas.java b/qtjava/javalib/org/kde/qt/QCanvas.java
new file mode 100644
index 00000000..c8a298f5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvas.java
@@ -0,0 +1,103 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QCanvasSignals} for signals emitted by QCanvas
+*/
+public class QCanvas extends QObject {
+ protected QCanvas(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QCanvas(QObject parent, String name) {
+ super((Class) null);
+ newQCanvas(parent,name);
+ }
+ private native void newQCanvas(QObject parent, String name);
+ public QCanvas(QObject parent) {
+ super((Class) null);
+ newQCanvas(parent);
+ }
+ private native void newQCanvas(QObject parent);
+ public QCanvas() {
+ super((Class) null);
+ newQCanvas();
+ }
+ private native void newQCanvas();
+ public QCanvas(int w, int h) {
+ super((Class) null);
+ newQCanvas(w,h);
+ }
+ private native void newQCanvas(int w, int h);
+ public QCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight) {
+ super((Class) null);
+ newQCanvas(p,h,v,tilewidth,tileheight);
+ }
+ private native void newQCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight);
+ public native void setTiles(QPixmap tiles, int h, int v, int tilewidth, int tileheight);
+ public native void setBackgroundPixmap(QPixmap p);
+ public native QPixmap backgroundPixmap();
+ public native void setBackgroundColor(QColor c);
+ public native QColor backgroundColor();
+ public native void setTile(int x, int y, int tilenum);
+ public native int tile(int x, int y);
+ public native int tilesHorizontally();
+ public native int tilesVertically();
+ public native int tileWidth();
+ public native int tileHeight();
+ public native void resize(int width, int height);
+ public native int width();
+ public native int height();
+ public native QSize size();
+ public native QRect rect();
+ public native boolean onCanvas(int x, int y);
+ public native boolean onCanvas(QPoint p);
+ public native boolean validChunk(int x, int y);
+ public native boolean validChunk(QPoint p);
+ public native int chunkSize();
+ public native void retune(int chunksize, int maxclusters);
+ public native void retune(int chunksize);
+ public native boolean sameChunk(int x1, int y1, int x2, int y2);
+ public native void setChangedChunk(int i, int j);
+ public native void setChangedChunkContaining(int x, int y);
+ public native void setAllChanged();
+ public native void setChanged(QRect area);
+ public native void setUnchanged(QRect area);
+ public native void addItemToChunk(QCanvasItem arg1, int i, int j);
+ public native void removeItemFromChunk(QCanvasItem arg1, int i, int j);
+ public native void addItemToChunkContaining(QCanvasItem arg1, int x, int y);
+ public native void removeItemFromChunkContaining(QCanvasItem arg1, int x, int y);
+ public native ArrayList allItems();
+ public native ArrayList collisions(QPoint arg1);
+ public native ArrayList collisions(QRect arg1);
+ public native ArrayList collisions(QPointArray pa, QCanvasItem item, boolean exact);
+ public native void drawArea(QRect arg1, QPainter p, boolean double_buffer);
+ public native void drawArea(QRect arg1, QPainter p);
+ public native void addView(QCanvasView arg1);
+ public native void removeView(QCanvasView arg1);
+ public native void drawCanvasArea(QRect arg1, QPainter p, boolean double_buffer);
+ public native void drawCanvasArea(QRect arg1, QPainter p);
+ public native void drawCanvasArea(QRect arg1);
+ public native void drawViewArea(QCanvasView view, QPainter p, QRect r, boolean dbuf);
+ public native void addItem(QCanvasItem arg1);
+ public native void addAnimation(QCanvasItem arg1);
+ public native void removeItem(QCanvasItem arg1);
+ public native void removeAnimation(QCanvasItem arg1);
+ public native void setAdvancePeriod(int ms);
+ public native void setUpdatePeriod(int ms);
+ public native void setDoubleBuffering(boolean y);
+ public native void advance();
+ public native void update();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawBackground(QPainter arg1, QRect area);
+ protected native void drawForeground(QPainter arg1, QRect area);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}