//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qmenudata.h>
#include <qpixmap.h>
#include <qiconset.h>
#include <qkeysequence.h>

#include <qtjava/QtSupport.h>
#include <qtjava/JavaSlot.h>
#include <qtjava/QMenuData.h>

class QMenuDataJBridge : public QMenuData
{
public:
	QMenuDataJBridge() : QMenuData() {};
	void protected_menuContentsChanged() {
		QMenuData::menuContentsChanged();
		return;
	}
	void protected_menuStateChanged() {
		QMenuData::menuStateChanged();
		return;
	}
	void protected_menuInsPopup(QPopupMenu* arg1) {
		QMenuData::menuInsPopup(arg1);
		return;
	}
	void protected_menuDelPopup(QPopupMenu* arg1) {
		QMenuData::menuDelPopup(arg1);
		return;
	}
	~QMenuDataJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QKeySequence(((QMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.QKeySequence", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_activateItemAt(JNIEnv* env, jobject obj, jint index)
{
	((QMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text)
{
static QString* _qstring_text = 0;
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text)
{
static QString* _qstring_text = 0;
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap)
{
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap)
{
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
{
static QString* _qstring_text = 0;
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
{
static QString* _qstring_text = 0;
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
{
	((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_clear(JNIEnv* env, jobject obj)
{
	((QMenuData*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->count();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QMenuData_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QMenuData*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findItem(JNIEnv* env, jobject obj, jint id)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.QMenuItem");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.QMenuItem");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index)
{
	int* _int_index = QtSupport::toIntPtr(env, index);
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1),  (int*) _int_index), "org.kde.qt.QMenuItem");
	env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_iconSet(JNIEnv* env, jobject obj, jint id)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.QIconSet");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_idAt(JNIEnv* env, jobject obj, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->idAt((int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_indexOf(JNIEnv* env, jobject obj, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget), (int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget), (int) id, (int) index);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertSeparator__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertSeparator();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertSeparator__I(JNIEnv* env, jobject obj, jint index)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemActive(JNIEnv* env, jobject obj, jint id)
{
	jboolean xret = (jboolean) ((QMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemChecked(JNIEnv* env, jobject obj, jint id)
{
	jboolean xret = (jboolean) ((QMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemEnabled(JNIEnv* env, jobject obj, jint id)
{
	jboolean xret = (jboolean) ((QMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemVisible(JNIEnv* env, jobject obj, jint id)
{
	jboolean xret = (jboolean) ((QMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_itemParameter(JNIEnv* env, jobject obj, jint id)
{
	jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((QPopupMenu*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((QPopupMenu*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_newQMenuData(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMenuDataJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_pixmap(JNIEnv* env, jobject obj, jint id)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.QPixmap");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_removeItemAt(JNIEnv* env, jobject obj, jint index)
{
	((QMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_removeItem(JNIEnv* env, jobject obj, jint id)
{
	((QMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setAccel(JNIEnv* env, jobject obj, jobject key, jint id)
{
	((QMenuData*) QtSupport::getQt(env, obj))->setAccel((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, key), (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setId(JNIEnv* env, jobject obj, jint index, jint id)
{
	((QMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check)
{
	((QMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable)
{
	((QMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param)
{
	jboolean xret = (jboolean) ((QMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible)
{
	((QMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2)
{
static QString* _qstring_arg2 = 0;
	((QMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const QString&)*(QString*) QtSupport::toQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id)
{
	QString  _qstring;
	_qstring = ((QMenuData*) QtSupport::getQt(env, obj))->text((int) id);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id)
{
	((QMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuData_whatsThis(JNIEnv* env, jobject obj, jint id)
{
	QString  _qstring;
	_qstring = ((QMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index)
{
	identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index);

	if ((bool) Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member)) {
		Java_org_kde_qt_QMenuData_setAccel(env, obj, accel, identifier);
	}

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member)
{
	jint identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1);
	Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member)
{
static QString * _qstring_text = 0;
	jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1);
	Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);
	
	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member)
{
	jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1);
	Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member)
{
	jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1);
	Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
{
	JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);

	if (	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem(	identifier,
																			javaSlot,
																			javaSlot->javaToQtSlotName(env, member) ) )
	{
		return(jboolean) JNI_TRUE;
	} else {
		return (jboolean) JNI_FALSE;
	}
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
{
	JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);

	if (	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem(	identifier,
																				javaSlot,
																				javaSlot->javaToQtSlotName(env, member) ) )
	{
		return(jboolean) JNI_TRUE;
	} else {
		return (jboolean) JNI_FALSE;
	}
}

