//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <kmdichildfrmcaption.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KMdiChildFrmCaption.h>

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KMdiChildFrmCaption_heightHint(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->heightHint();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMdiChildFrmCaption_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiChildFrmCaption_setActive(JNIEnv* env, jobject obj, jboolean bActive)
{
	((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setActive((bool) bActive);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiChildFrmCaption_setCaption(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
	((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setCaption((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiChildFrmCaption_slot_1moveViaSystemMenu(JNIEnv* env, jobject obj)
{
	((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->slot_moveViaSystemMenu();
	return;
}

