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

import org.kde.qt.Qt;

public class TQPushButton extends TQButton  {
	protected TQPushButton(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQPushButton(TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(parent,name);
	}
	private native void newTQPushButton(TQWidget parent, String name);
	public TQPushButton(TQWidget parent) {
		super((Class) null);
		newTQPushButton(parent);
	}
	private native void newTQPushButton(TQWidget parent);
	public TQPushButton(String text, TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(text,parent,name);
	}
	private native void newTQPushButton(String text, TQWidget parent, String name);
	public TQPushButton(String text, TQWidget parent) {
		super((Class) null);
		newTQPushButton(text,parent);
	}
	private native void newTQPushButton(String text, TQWidget parent);
	public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) {
		super((Class) null);
		newTQPushButton(icon,text,parent,name);
	}
	private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name);
	public TQPushButton(TQIconSet icon, String text, TQWidget parent) {
		super((Class) null);
		newTQPushButton(icon,text,parent);
	}
	private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent);
	public native TQSize sizeHint();
	public native void move(int x, int y);
	public native void move(TQPoint p);
	public native void resize(int w, int h);
	public native void resize(TQSize arg1);
	public native void setGeometry(int x, int y, int w, int h);
	public native void setGeometry(TQRect arg1);
	public native void setToggleButton(boolean arg1);
	public native boolean autoDefault();
	public native void setAutoDefault(boolean autoDef);
	public native boolean isDefault();
	public native void setDefault(boolean def);
	public native void setIsMenuButton(boolean enable);
	public native boolean isMenuButton();
	public native void setPopup(TQPopupMenu popup);
	public native TQPopupMenu popup();
	public native void setIconSet(TQIconSet arg1);
	public native TQIconSet iconSet();
	public native void setFlat(boolean arg1);
	public native boolean isFlat();
	public native void setOn(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void drawButton(TQPainter arg1);
	protected native void drawButtonLabel(TQPainter arg1);
	protected native void focusInEvent(TQFocusEvent arg1);
	protected native void focusOutEvent(TQFocusEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void updateMask();
	/** 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();
}