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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstring.h>
#include <tqmenudata.h>
#include <tqkeysequence.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQMenuItem.h>
class TQMenuItemJBridge : public TQMenuItem
{
public:
TQMenuItemJBridge() : TQMenuItem() {};
~TQMenuItemJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_custom(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->custom(), "org.kde.qt.TQCustomMenuItem");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QMenuItem_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TQMenuItem*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_iconSet(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuItem_id(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQMenuItem*) QtSupport::getQt(env, obj))->id();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isChecked(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isChecked();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isDirty(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isDirty();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isEnabledAndVisible(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabledAndVisible();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isEnabled(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabled();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isSeparator(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isSeparator();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuItem_isVisible(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isVisible();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_key(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuItem*) QtSupport::getQt(env, obj))->key()), "org.kde.qt.TQKeySequence", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_newTQMenuItem(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQMenuItemJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_pixmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_popup(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_setDirty(JNIEnv* env, jobject obj, jboolean dirty)
{
((TQMenuItem*) QtSupport::getQt(env, obj))->setDirty((bool) dirty);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_setText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
((TQMenuItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_setVisible(JNIEnv* env, jobject obj, jboolean visible)
{
((TQMenuItem*) QtSupport::getQt(env, obj))->setVisible((bool) visible);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuItem_setWhatsThis(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
((TQMenuItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_signal(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->signal(), "org.kde.qt.TQSignal");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuItem_text(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->text();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuItem_whatsThis(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQMenuItem*) QtSupport::getQt(env, obj))->whatsThis();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuItem_widget(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget");
return xret;
}
|