summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQAction.java
blob: f987143f4bb2a18a3bc732f28e31df307786ee15 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQActionSignals} for signals emitted by TQAction
*/
public class TQAction extends TQObject  {
	protected TQAction(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQAction(TQObject parent, String name) {
		super((Class) null);
		newTQAction(parent,name);
	}
	private native void newTQAction(TQObject parent, String name);
	public TQAction(TQObject parent) {
		super((Class) null);
		newTQAction(parent);
	}
	private native void newTQAction(TQObject parent);
	public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(menuText,accel,parent,name);
	}
	private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(menuText,accel,parent);
	}
	private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(icon,menuText,accel,parent,name);
	}
	private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(icon,menuText,accel,parent);
	}
	private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent,name,toggle);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent,name);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(text,icon,menuText,accel,parent);
	}
	private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent,name,toggle);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent,name);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name);
	public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) {
		super((Class) null);
		newTQAction(text,menuText,accel,parent);
	}
	private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent);
	public TQAction(TQObject parent, String name, boolean toggle) {
		super((Class) null);
		newTQAction(parent,name,toggle);
	}
	private native void newTQAction(TQObject parent, String name, boolean toggle);
	public native void setIconSet(TQIconSet arg1);
	public native TQIconSet iconSet();
	public native void setText(String arg1);
	public native String text();
	public native void setMenuText(String arg1);
	public native String menuText();
	public native void setToolTip(String arg1);
	public native String toolTip();
	public native void setStatusTip(String arg1);
	public native String statusTip();
	public native void setWhatsThis(String arg1);
	public native String whatsThis();
	public native void setAccel(TQKeySequence key);
	public native TQKeySequence accel();
	public native void setToggleAction(boolean arg1);
	public native boolean isToggleAction();
	public native boolean isOn();
	public native boolean isEnabled();
	public native boolean isVisible();
	public native boolean addTo(TQWidget arg1);
	public native boolean removeFrom(TQWidget arg1);
	public native void activate();
	public native void toggle();
	public native void setOn(boolean arg1);
	public native void setEnabled(boolean arg1);
	public native void setDisabled(boolean arg1);
	public native void setVisible(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void addedTo(TQWidget actionWidget, TQWidget container);
	protected native void addedTo(int index, TQPopupMenu menu);
	/** 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();
}