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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KContextMenuManager_insert(JNIEnv* env, jclass cls, jobject widget, jobject popup)
{
	(void) cls;
	KContextMenuManager::insert((QWidget*) QtSupport::getQt(env, widget), (QPopupMenu*) QtSupport::getQt(env, popup));
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KContextMenuManager_showOnButtonPress(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jboolean xret = (jboolean) KContextMenuManager::showOnButtonPress();
	return xret;
}

