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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KContextMenuManager_insert(JNIEnv* env, jclass cls, jobject widget, jobject popup)
{
	(void) cls;
	KContextMenuManager::insert((TQWidget*) QtSupport::getQt(env, widget), (TQPopupMenu*) QtSupport::getQt(env, popup));
	return;
}

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

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

