summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java
blob: 24d86bd04d38aa0eff9817436a14464dd15231cd (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQToolButton extends TQButton  {
	protected TQToolButton(Class dummy){super((Class) null);}
	public static final int BesideIcon = 0;
	public static final int BelowIcon = 1;
	public static final int Right = BesideIcon;
	public static final int Under = BelowIcon;

	public native TQMetaObject metaObject();
	public native String className();
	public TQToolButton(TQWidget parent, String name) {
		super((Class) null);
		newTQToolButton(parent,name);
	}
	private native void newTQToolButton(TQWidget parent, String name);
	public TQToolButton(TQWidget parent) {
		super((Class) null);
		newTQToolButton(parent);
	}
	private native void newTQToolButton(TQWidget parent);
	public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name) {
		super((Class) null);
		newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name);
	}
	private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name);
	public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent) {
		super((Class) null);
		newTQToolButton(s,textLabel,grouptext,receiver,slot,parent);
	}
	private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent);
	public TQToolButton(int type, TQWidget parent, String name) {
		super((Class) null);
		newTQToolButton(type,parent,name);
	}
	private native void newTQToolButton(int type, TQWidget parent, String name);
	public TQToolButton(int type, TQWidget parent) {
		super((Class) null);
		newTQToolButton(type,parent);
	}
	private native void newTQToolButton(int type, TQWidget parent);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native void setIconSet(TQIconSet arg1);
	public native TQIconSet iconSet();
	public native boolean usesBigPixmap();
	public native boolean usesTextLabel();
	public native String textLabel();
	public native void setPopup(TQPopupMenu popup);
	public native TQPopupMenu popup();
	public native void setPopupDelay(int delay);
	public native int popupDelay();
	public native void openPopup();
	public native void setAutoRaise(boolean enable);
	public native boolean autoRaise();
	public native int textPosition();
	public native void setText(String txt);
	public native void setUsesBigPixmap(boolean enable);
	public native void setUsesTextLabel(boolean enable);
	public native void setTextLabel(String arg1, boolean arg2);
	public native void setToggleButton(boolean enable);
	public native void setOn(boolean enable);
	public native void toggle();
	public native void setTextLabel(String arg1);
	public native void setTextPosition(int pos);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void drawButton(TQPainter arg1);
	protected native void drawButtonLabel(TQPainter arg1);
	protected native void enterEvent(TQEvent arg1);
	protected native void leaveEvent(TQEvent arg1);
	protected native void moveEvent(TQMoveEvent arg1);
	protected native boolean uses3D();
	public native boolean eventFilter(TQObject o, TQEvent e);
	protected native void paletteChange(TQPalette 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();
}