summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/KMdiChildFrm.cpp
blob: e61243f769c4f4d45c02febaa66893486c8514b4 (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
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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tdemdichildfrm.h>
#include <tqpixmap.h>
#include <tqstring.h>
#include <tqpoint.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KMdiChildFrm.h>

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_captionHeight(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->captionHeight();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_caption(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->caption();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_enableClose(JNIEnv* env, jobject obj, jboolean bEnable)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->enableClose((bool) bEnable);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_icon(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.trinitydesktop.qt.TQPixmap");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_isInDrag(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInDrag();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_isInResize(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInResize();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_mdiAreaContentsRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_raiseAndActivate(JNIEnv* env, jobject obj)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->raiseAndActivate();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_redecorateButtons(JNIEnv* env, jobject obj)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->redecorateButtons();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_restoreGeometry(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setCaption(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setClient__Lorg_trinitydesktop_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject w)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setClient__Lorg_trinitydesktop_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject w, jboolean bAutomaticResize)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w), (bool) bAutomaticResize);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setIcon(JNIEnv* env, jobject obj, jobject pxm)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pxm));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setState__I(JNIEnv* env, jobject obj, jint state)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_setState__IZ(JNIEnv* env, jobject obj, jint state, jboolean bAnimate)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state, (bool) bAnimate);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_slot_1resizeViaSystemMenu(JNIEnv* env, jobject obj)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->slot_resizeViaSystemMenu();
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_state(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->state();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_systemMenu(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.trinitydesktop.qt.TQPopupMenu");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_unsetClient__(JNIEnv* env, jobject obj)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_unsetClient__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject positionOffset)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((TQPoint)*(TQPoint*) QtSupport::getQt(env, positionOffset));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiChildFrm_updateRects(JNIEnv* env, jobject obj)
{
	((KMdiChildFrm*) QtSupport::getQt(env, obj))->updateRects();
	return;
}