//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;
}

