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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KMdiToolViewAccessor_hide(JNIEnv* env, jobject obj)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->hide();
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KMdiToolViewAccessor_placeAndShow__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KMdiToolViewAccessor_place__ILorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd)
{
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip)
{
static TQString* _qstring_tabToolTip = 0;
	((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip));
	return;
}

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

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

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

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

