summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSimpleRichText.java
blob: 410473b4e494b25f2ab94b8cde507786921df7df (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.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

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

	public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) {
		newTQSimpleRichText(text,fnt,context,sheet);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet);
	public TQSimpleRichText(String text, TQFont fnt, String context) {
		newTQSimpleRichText(text,fnt,context);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context);
	public TQSimpleRichText(String text, TQFont fnt) {
		newTQSimpleRichText(text,fnt);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt);
	public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline) {
		newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline);
	public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor) {
		newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor);
	public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak) {
		newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak);
	public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory) {
		newTQSimpleRichText(text,fnt,context,sheet,factory);
	}
	private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory);
	public native void setWidth(int arg1);
	public native void setWidth(TQPainter arg1, int arg2);
	public native void setDefaultFont(TQFont f);
	public native int width();
	public native int widthUsed();
	public native int height();
	public native void adjustSize();
	public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg, TQBrush paper);
	public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg);
	public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg, TQBrush paper);
	public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg);
	public native String context();
	public native String anchorAt(TQPoint pos);
	public native boolean inText(TQPoint 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();
}