summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQButton.java
blob: f1b0d38d648c95cd85631cd3afac585280c75930 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQButtonSignals} for signals emitted by TQButton
*/
public class TQButton extends TQWidget  {
	protected TQButton(Class dummy){super((Class) null);}
	public static final int SingleShot = 0;
	public static final int Toggle = 1;
	public static final int Tristate = 2;

	public static final int Off = 0;
	public static final int NoChange = 1;
	public static final int On = 2;

	public native TQMetaObject metaObject();
	public native String className();
	public TQButton(TQWidget parent, String name, int f) {
		super((Class) null);
		newTQButton(parent,name,f);
	}
	private native void newTQButton(TQWidget parent, String name, int f);
	public TQButton(TQWidget parent, String name) {
		super((Class) null);
		newTQButton(parent,name);
	}
	private native void newTQButton(TQWidget parent, String name);
	public TQButton(TQWidget parent) {
		super((Class) null);
		newTQButton(parent);
	}
	private native void newTQButton(TQWidget parent);
	public TQButton() {
		super((Class) null);
		newTQButton();
	}
	private native void newTQButton();
	public native String text();
	public native void setText(String arg1);
	public native TQPixmap pixmap();
	public native void setPixmap(TQPixmap arg1);
	public native TQKeySequence accel();
	public native void setAccel(TQKeySequence arg1);
	public native boolean isToggleButton();
	public native int toggleType();
	public native void setDown(boolean arg1);
	public native boolean isDown();
	public native boolean isOn();
	public native int state();
	public native boolean autoRepeat();
	public native void setAutoRepeat(boolean arg1);
	public native boolean isExclusiveToggle();
	public native TQButtonGroup group();
	public native void animateClick();
	public native void toggle();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void setToggleButton(boolean arg1);
	protected native void setToggleType(int arg1);
	protected native void setOn(boolean arg1);
	public native void setState(int arg1);
	protected native boolean hitButton(TQPoint pos);
	protected native void drawButton(TQPainter arg1);
	protected native void drawButtonLabel(TQPainter arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void keyReleaseEvent(TQKeyEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void focusInEvent(TQFocusEvent arg1);
	protected native void focusOutEvent(TQFocusEvent arg1);
	protected native void enabledChange(boolean 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();
}