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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_deinitialize(JNIEnv* env, jobject obj)
{
	((KPanelMenu*) QtSupport::getQt(env, obj))->deinitialize();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_disableAutoClear(JNIEnv* env, jobject obj)
{
	((KPanelMenu*) QtSupport::getQt(env, obj))->disableAutoClear();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_initialized(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KPanelMenu*) QtSupport::getQt(env, obj))->initialized();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_reinitialize(JNIEnv* env, jobject obj)
{
	((KPanelMenu*) QtSupport::getQt(env, obj))->reinitialize();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_setInitialized(JNIEnv* env, jobject obj, jboolean on)
{
	((KPanelMenu*) QtSupport::getQt(env, obj))->setInitialized((bool) on);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPanelMenu_setPath(JNIEnv* env, jobject obj, jstring p)
{
static TQString* _qstring_p = 0;
	((KPanelMenu*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p));
	return;
}

