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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_hide(JNIEnv* env, jobject obj)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->hide();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__(JNIEnv* env, jobject obj)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__I(JNIEnv* env, jobject obj, jint pos)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (QWidget*) QtSupport::getQt(env, pTargetWnd));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (QWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_place__(JNIEnv* env, jobject obj)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_place__I(JNIEnv* env, jobject obj, jint pos)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (QWidget*) QtSupport::getQt(env, pTargetWnd));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (QWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widgetToWrap)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((QWidget*) QtSupport::getQt(env, widgetToWrap));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip)
{
static QString* _qstring_tabToolTip = 0;
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((QWidget*) QtSupport::getQt(env, widgetToWrap), (const QString&)*(QString*) QtSupport::toQString(env, tabToolTip, &_qstring_tabToolTip));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip, jstring tabCaption)
{
static QString* _qstring_tabToolTip = 0;
static QString* _qstring_tabCaption = 0;
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((QWidget*) QtSupport::getQt(env, widgetToWrap), (const QString&)*(QString*) QtSupport::toQString(env, tabToolTip, &_qstring_tabToolTip), (const QString&)*(QString*) QtSupport::toQString(env, tabCaption, &_qstring_tabCaption));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_show(JNIEnv* env, jobject obj)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_wrappedWidget(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrappedWidget(), "org.kde.qt.QWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KMdiToolViewAccessor_wrapperWidget(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrapperWidget(), "org.kde.qt.QWidget");
	return xret;
}

