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

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

JNIEXPORT jstring JNICALL
Java_org_kde_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_kde_koala_KPanelMenu_deinitialize(JNIEnv* env, jobject obj)
{
	((KPanelMenu*) QtSupport::getQt(env, obj))->deinitialize();
	return;
}

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

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

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

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

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

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

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

