summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSimpleRichText.java
blob: f78a785d7d7f745b64ce40857fa339259b29ba13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//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();
}