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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrangecontrol.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQRangeControl.h>
class TQRangeControlJBridge : public TQRangeControl
{
public:
TQRangeControlJBridge() : TQRangeControl() {};
TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {};
int protected_positionFromValue(int arg1,int arg2) {
return (int) TQRangeControl::positionFromValue(arg1,arg2);
}
int protected_valueFromPosition(int arg1,int arg2) {
return (int) TQRangeControl::valueFromPosition(arg1,arg2);
}
void protected_directSetValue(int arg1) {
TQRangeControl::directSetValue(arg1);
return;
}
int protected_prevValue() {
return (int) TQRangeControl::prevValue();
}
void protected_valueChange() {
TQRangeControl::valueChange();
return;
}
void protected_rangeChange() {
TQRangeControl::rangeChange();
return;
}
void protected_stepChange() {
TQRangeControl::stepChange();
return;
}
~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->addLine();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_addPage(JNIEnv* env, jobject obj)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->addPage();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_bound(JNIEnv* env, jobject obj, jint arg1)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val)
{
((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QRangeControl_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TQRangeControl*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_maxValue(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->maxValue();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_minValue(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->minValue();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRangeControlJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space)
{
jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_prevValue(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_rangeChange(JNIEnv* env, jobject obj)
{
((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_setMaxValue(JNIEnv* env, jobject obj, jint minVal)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->setMaxValue((int) minVal);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_setMinValue(JNIEnv* env, jobject obj, jint minVal)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->setMinValue((int) minVal);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_setSteps(JNIEnv* env, jobject obj, jint line, jint page)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_setValue(JNIEnv* env, jobject obj, jint arg1)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj)
{
((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_subtractLine(JNIEnv* env, jobject obj)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->subtractLine();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_subtractPage(JNIEnv* env, jobject obj)
{
((TQRangeControl*) QtSupport::getQt(env, obj))->subtractPage();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj)
{
((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space)
{
jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_value(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->value();
return xret;
}
|