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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsize.h>
#include <tqsizepolicy.h>
#include <knuminput.h>
#include <tqstring.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KNumInput.h>
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KNumInput_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KNumInput*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KNumInput_label(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KNumInput*) QtSupport::getQt(env, obj))->label();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KNumInput_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label)
{
static TQString* _qstring_label = 0;
((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a)
{
static TQString* _qstring_label = 0;
((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setSteps(JNIEnv* env, jobject obj, jint minor, jint major)
{
((KNumInput*) QtSupport::getQt(env, obj))->setSteps((int) minor, (int) major);
return;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KNumInput_showSlider(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KNumInput*) QtSupport::getQt(env, obj))->showSlider();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KNumInput_sizeHint(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KNumInput*) QtSupport::getQt(env, obj))->sizeHint()), "org.trinitydesktop.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KNumInput_sizePolicy(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KNumInput*) QtSupport::getQt(env, obj))->sizePolicy()), "org.trinitydesktop.qt.TQSizePolicy", TRUE);
return xret;
}
|