summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenu.java
blob: 3877a2b1cecad89f5a9399ae4d3d19cc99331b92 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQPopupMenuSignals} for signals emitted by TQPopupMenu
*/
public class TQPopupMenu extends TQFrame implements TQMenuDataInterface {
	protected TQPopupMenu(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQPopupMenu(TQWidget parent, String name) {
		super((Class) null);
		newTQPopupMenu(parent,name);
	}
	private native void newTQPopupMenu(TQWidget parent, String name);
	public TQPopupMenu(TQWidget parent) {
		super((Class) null);
		newTQPopupMenu(parent);
	}
	private native void newTQPopupMenu(TQWidget parent);
	public TQPopupMenu() {
		super((Class) null);
		newTQPopupMenu();
	}
	private native void newTQPopupMenu();
	public native void popup(TQPoint pos, int indexAtPoint);
	public native void popup(TQPoint pos);
	public native void updateItem(int id);
	public native void setCheckable(boolean arg1);
	public native boolean isCheckable();
	public native void setFont(TQFont arg1);
	public native void show();
	public native void hide();
	public native int exec();
	public native int exec(TQPoint pos, int indexAtPoint);
	public native int exec(TQPoint pos);
	public native void setActiveItem(int arg1);
	public native TQSize sizeHint();
	public native int idAt(int index);
	public native int idAt(TQPoint pos);
	public native boolean customWhatsThis();
	public native int insertTearOffHandle(int id, int index);
	public native int insertTearOffHandle(int id);
	public native int insertTearOffHandle();
	public native void activateItemAt(int index);
	public native TQRect itemGeometry(int index);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native int itemHeight(int arg1);
	protected native int itemHeight(TQMenuItem mi);
	protected native void drawItem(TQPainter p, int tab, TQMenuItem mi, boolean act, int x, int y, int w, int h);
	protected native void drawContents(TQPainter arg1);
	protected native void closeEvent(TQCloseEvent e);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void focusInEvent(TQFocusEvent arg1);
	protected native void focusOutEvent(TQFocusEvent arg1);
	protected native void timerEvent(TQTimerEvent arg1);
	protected native void leaveEvent(TQEvent arg1);
	public native void styleChange(TQStyle arg1);
	protected native void enabledChange(boolean arg1);
	protected native int columns();
	protected native boolean focusNextPrevChild(boolean next);
	protected native int itemAtPos(TQPoint arg1, boolean ignoreSeparator);
	protected native int itemAtPos(TQPoint 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();
	public native int count();
	public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index);
	public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id);
	public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel);
	public native int insertItem(String text, TQObject receiver, String member);
	public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index);
	public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id);
	public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel);
	public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member);
	public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index);
	public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id);
	public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel);
	public native int insertItem(TQPixmap pixmap, TQObject receiver, String member);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member);
	public native int insertItem(String text, int id, int index);
	public native int insertItem(String text, int id);
	public native int insertItem(String text);
	public native int insertItem(TQIconSet icon, String text, int id, int index);
	public native int insertItem(TQIconSet icon, String text, int id);
	public native int insertItem(TQIconSet icon, String text);
	public native int insertItem(String text, TQPopupMenu popup, int id, int index);
	public native int insertItem(String text, TQPopupMenu popup, int id);
	public native int insertItem(String text, TQPopupMenu popup);
	public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index);
	public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id);
	public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup);
	public native int insertItem(TQPixmap pixmap, int id, int index);
	public native int insertItem(TQPixmap pixmap, int id);
	public native int insertItem(TQPixmap pixmap);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap);
	public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index);
	public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id);
	public native int insertItem(TQPixmap pixmap, TQPopupMenu popup);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id);
	public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup);
	public native int insertItem(TQWidget widget, int id, int index);
	public native int insertItem(TQWidget widget, int id);
	public native int insertItem(TQWidget widget);
	public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index);
	public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id);
	public native int insertItem(TQIconSet icon, TQCustomMenuItem custom);
	public native int insertItem(TQCustomMenuItem custom, int id, int index);
	public native int insertItem(TQCustomMenuItem custom, int id);
	public native int insertItem(TQCustomMenuItem custom);
	public native int insertSeparator(int index);
	public native int insertSeparator();
	public native void removeItem(int id);
	public native void removeItemAt(int index);
	public native void clear();
	public native TQKeySequence accel(int id);
	public native void setAccel(TQKeySequence key, int id);
	public native TQIconSet iconSet(int id);
	public native String text(int id);
	public native TQPixmap pixmap(int id);
	public native void setWhatsThis(int id, String arg2);
	public native String whatsThis(int id);
	public native void changeItem(int id, String text);
	public native void changeItem(int id, TQPixmap pixmap);
	public native void changeItem(int id, TQIconSet icon, String text);
	public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap);
	public native void changeItem(String text, int id);
	public native void changeItem(TQPixmap pixmap, int id);
	public native void changeItem(TQIconSet icon, String text, int id);
	public native boolean isItemActive(int id);
	public native boolean isItemEnabled(int id);
	public native void setItemEnabled(int id, boolean enable);
	public native boolean isItemChecked(int id);
	public native void setItemChecked(int id, boolean check);
	public native boolean isItemVisible(int id);
	public native void setItemVisible(int id, boolean visible);
	public native int indexOf(int id);
	public native void setId(int index, int id);
	public native boolean connectItem(int id, TQObject receiver, String member);
	public native boolean disconnectItem(int id, TQObject receiver, String member);
	public native boolean setItemParameter(int id, int param);
	public native int itemParameter(int id);
	public native TQMenuItem findItem(int id);
	// TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED
	public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index);
	public native TQMenuItem findPopup(TQPopupMenu arg1);
	protected native void menuContentsChanged();
	protected native void menuStateChanged();
	protected native void menuInsPopup(TQPopupMenu arg1);
	protected native void menuDelPopup(TQPopupMenu arg1);
}