//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

public class TQCanvasText extends TQCanvasItem  {
	protected TQCanvasText(Class dummy){super((Class) null);}
	public TQCanvasText(TQCanvas canvas) {
		super((Class) null);
		newTQCanvasText(canvas);
	}
	private native void newTQCanvasText(TQCanvas canvas);
	public TQCanvasText(String arg1, TQCanvas canvas) {
		super((Class) null);
		newTQCanvasText(arg1,canvas);
	}
	private native void newTQCanvasText(String arg1, TQCanvas canvas);
	public TQCanvasText(String arg1, TQFont arg2, TQCanvas canvas) {
		super((Class) null);
		newTQCanvasText(arg1,arg2,canvas);
	}
	private native void newTQCanvasText(String arg1, TQFont arg2, TQCanvas canvas);
	public native void setText(String arg1);
	public native void setFont(TQFont arg1);
	public native void setColor(TQColor arg1);
	public native String text();
	public native TQFont font();
	public native TQColor color();
	public native void moveBy(double dx, double dy);
	public native int textFlags();
	public native void setTextFlags(int arg1);
	public native TQRect boundingRect();
	public native boolean collidesWith(TQCanvasItem arg1);
	public native int rtti();
	public native void draw(TQPainter arg1);
	/** 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();
}
