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

import org.kde.qt.Qt;

public class QSimpleRichText implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QSimpleRichText(Class dummy){}

	public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet) {
		newQSimpleRichText(text,fnt,context,sheet);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet);
	public QSimpleRichText(String text, QFont fnt, String context) {
		newQSimpleRichText(text,fnt,context);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context);
	public QSimpleRichText(String text, QFont fnt) {
		newQSimpleRichText(text,fnt);
	}
	private native void newQSimpleRichText(String text, QFont fnt);
	public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline) {
		newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline);
	public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor) {
		newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor);
	public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak) {
		newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak);
	public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory) {
		newQSimpleRichText(text,fnt,context,sheet,factory);
	}
	private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory);
	public native void setWidth(int arg1);
	public native void setWidth(QPainter arg1, int arg2);
	public native void setDefaultFont(QFont f);
	public native int width();
	public native int widthUsed();
	public native int height();
	public native void adjustSize();
	public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg, QBrush paper);
	public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg);
	public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg, QBrush paper);
	public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg);
	public native String context();
	public native String anchorAt(QPoint pos);
	public native boolean inText(QPoint pos);
	/** 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();
}
