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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
/**
See {@link QMenuBarSignals} for signals emitted by QMenuBar
*/
public class QMenuBar extends QFrame implements QMenuDataInterface {
protected QMenuBar(Class dummy){super((Class) null);}
public static final int Never = 0;
public static final int InWindowsStyle = 1;
public native QMetaObject metaObject();
public native String className();
public QMenuBar(QWidget parent, String name) {
super((Class) null);
newQMenuBar(parent,name);
}
private native void newQMenuBar(QWidget parent, String name);
public QMenuBar(QWidget parent) {
super((Class) null);
newQMenuBar(parent);
}
private native void newQMenuBar(QWidget parent);
public QMenuBar() {
super((Class) null);
newQMenuBar();
}
private native void newQMenuBar();
public native void updateItem(int id);
public native void show();
public native void hide();
public native boolean eventFilter(QObject arg1, QEvent arg2);
public native int heightForWidth(int arg1);
public native int separator();
public native void setSeparator(int when);
public native void setDefaultUp(boolean arg1);
public native boolean isDefaultUp();
public native boolean customWhatsThis();
public native QSize sizeHint();
public native QSize minimumSize();
public native QSize minimumSizeHint();
public native void activateItemAt(int index);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void drawContents(QPainter arg1);
protected native void fontChange(QFont arg1);
protected native void mousePressEvent(QMouseEvent arg1);
protected native void mouseReleaseEvent(QMouseEvent arg1);
protected native void mouseMoveEvent(QMouseEvent arg1);
protected native void keyPressEvent(QKeyEvent arg1);
protected native void focusInEvent(QFocusEvent arg1);
protected native void focusOutEvent(QFocusEvent arg1);
protected native void resizeEvent(QResizeEvent arg1);
protected native void leaveEvent(QEvent arg1);
protected native void menuContentsChanged();
protected native void menuStateChanged();
public native void styleChange(QStyle arg1);
protected native int itemAtPos(QPoint arg1);
protected native void hidePopups();
protected native QRect itemRect(int item);
/** 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, QObject receiver, String member, QKeySequence accel, int id, int index);
public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id);
public native int insertItem(String text, QObject receiver, String member, QKeySequence accel);
public native int insertItem(String text, QObject receiver, String member);
public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index);
public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id);
public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel);
public native int insertItem(QIconSet icon, String text, QObject receiver, String member);
public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
public native int insertItem(QPixmap pixmap, QObject receiver, String member);
public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
public native int insertItem(QIconSet icon, QPixmap pixmap, QObject 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(QIconSet icon, String text, int id, int index);
public native int insertItem(QIconSet icon, String text, int id);
public native int insertItem(QIconSet icon, String text);
public native int insertItem(String text, QPopupMenu popup, int id, int index);
public native int insertItem(String text, QPopupMenu popup, int id);
public native int insertItem(String text, QPopupMenu popup);
public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index);
public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id);
public native int insertItem(QIconSet icon, String text, QPopupMenu popup);
public native int insertItem(QPixmap pixmap, int id, int index);
public native int insertItem(QPixmap pixmap, int id);
public native int insertItem(QPixmap pixmap);
public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index);
public native int insertItem(QIconSet icon, QPixmap pixmap, int id);
public native int insertItem(QIconSet icon, QPixmap pixmap);
public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index);
public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id);
public native int insertItem(QPixmap pixmap, QPopupMenu popup);
public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index);
public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id);
public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup);
public native int insertItem(QWidget widget, int id, int index);
public native int insertItem(QWidget widget, int id);
public native int insertItem(QWidget widget);
public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index);
public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id);
public native int insertItem(QIconSet icon, QCustomMenuItem custom);
public native int insertItem(QCustomMenuItem custom, int id, int index);
public native int insertItem(QCustomMenuItem custom, int id);
public native int insertItem(QCustomMenuItem 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 QKeySequence accel(int id);
public native void setAccel(QKeySequence key, int id);
public native QIconSet iconSet(int id);
public native String text(int id);
public native QPixmap 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, QPixmap pixmap);
public native void changeItem(int id, QIconSet icon, String text);
public native void changeItem(int id, QIconSet icon, QPixmap pixmap);
public native void changeItem(String text, int id);
public native void changeItem(QPixmap pixmap, int id);
public native void changeItem(QIconSet 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 int idAt(int index);
public native void setId(int index, int id);
public native boolean connectItem(int id, QObject receiver, String member);
public native boolean disconnectItem(int id, QObject receiver, String member);
public native boolean setItemParameter(int id, int param);
public native int itemParameter(int id);
public native QMenuItem findItem(int id);
// QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED
public native QMenuItem findPopup(QPopupMenu arg1, int[] index);
public native QMenuItem findPopup(QPopupMenu arg1);
protected native void menuInsPopup(QPopupMenu arg1);
protected native void menuDelPopup(QPopupMenu arg1);
}
|