/***************************************************************************
                            QMenuData.cpp -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <qmenudata.h>
#include <qstring.h>
#include <qcstring.h>

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

class QMenuDataJBridge : public QMenuData
{
public:
	QMenuDataJBridge() : QMenuData() {}
	~QMenuDataJBridge() {QtSupport::qtKeyDeleted(this);}
	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;
	}
};


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 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 jint JNICALL
Java_org_kde_qt_QMenuData_count(JNIEnv *env, jobject obj)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->count();
}

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)
{
static QCString * _qstring_member = 0;
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), (QKeySequence&) *(QKeySequence *) QtSupport::getQt(env, accel), (int) identifier, (int) index);
}

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)
{
static QCString * _qstring_member = 0;
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), 0, -1, -1);
}

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 identifier, jint index)
{
static QCString * _qstring_member = 0;
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), (QKeySequence&) *(QKeySequence *) QtSupport::getQt(env, accel), (int) identifier, (int) index);
}

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 QCString * _qstring_member = 0;
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), 0, -1, -1);
}

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 identifier, jint index)
{
static QCString * _qstring_member = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), (QKeySequence&) *(QKeySequence *) QtSupport::getQt(env, accel), (int) identifier, (int) index);
}

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)
{
static QCString * _qstring_member = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), 0, -1, -1);
}

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 identifier, jint index)
{
static QCString * _qstring_member = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), (QKeySequence&) *(QKeySequence *) QtSupport::getQt(env, accel), (int) identifier, (int) index);
}

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)
{
static QCString * _qstring_member = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member), 0, -1, -1);
}

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

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

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 identifier, jint index)
{
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) identifier, (int) index);
}

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;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), -1, -1);
}

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 identifier, jint index)
{
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) identifier, (int) index);
}

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;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), -1, -1);
}

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 identifier, jint index)
{
static QString * _qstring_text = 0;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) identifier, (int) index);
}

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;
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), -1, -1);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv *env, jobject obj, jobject pixmap, jint identifier, jint index)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) identifier, (int) index);
}

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

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 identifier, jint index)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) identifier, (int) index);
}

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)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), -1, -1);
}

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 identifier, jint index)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) identifier, (int) index);
}

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)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), -1, -1);
}

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 identifier, jint index)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), (int) identifier, (int) index);
}

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)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (QPopupMenu*) QtSupport::getQt(env, popup), -1, -1);
}

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

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

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 identifier, jint index)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), (int) identifier, (int) index);
}

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)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->insertItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QCustomMenuItem*) QtSupport::getQt(env, custom), -1, -1);
}

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv *env, jobject obj, jint identifier, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->setWhatsThis((int) identifier, (QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jint identifier, jobject icon, jstring text)
{
static QString * _qstring_text = 0;
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->changeItem((int) identifier, (QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (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 identifier, jobject icon, jobject pixmap)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->changeItem((int) identifier, (QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QPixmap&) *(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 identifier)
{
static QString * _qstring_text = 0;
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->changeItem((QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) identifier);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv *env, jobject obj, jobject pixmap, jint identifier)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->changeItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) identifier);
	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 identifier)
{
static QString * _qstring_text = 0;
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->changeItem((QIconSet&) *(QIconSet *) QtSupport::getQt(env, icon), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (int) identifier);
	return;
}

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

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

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

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_indexOf(JNIEnv *env, jobject obj, jint identifier)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->indexOf((int) identifier);
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
{
static QCString * _qstring_member = 0;
	return (jboolean) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem((int) identifier, (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
{
static QCString * _qstring_member = 0;
	return (jboolean) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem((int) identifier, (QObject*) QtSupport::getQt(env, receiver), (char*) QtSupport::toCharString(env, member, &_qstring_member));
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_itemParameter(JNIEnv *env, jobject obj, jint identifier)
{
	return (jint) ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->itemParameter((int) identifier);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findItem__I(JNIEnv *env, jobject obj, jint identifier)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QMenuDataJBridge*) QtSupport::getQt(env, obj))->findItem((int) identifier), "org.kde.qt.QMenuItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findItem__ILorg_kde_qt_QMenuDataInterface_2(JNIEnv *env, jobject obj, jint identifier, jobject parent)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QMenuDataJBridge*) QtSupport::getQt(env, obj))->findItem((int) identifier, (QMenuData**) QtSupport::getQt(env, parent)), "org.kde.qt.QMenuItem");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv *env, jobject obj, jobject arg1, jintArray index)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QMenuDataJBridge*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1),  (int*) QtSupport::toIntPtr(env, index)), "org.kde.qt.QMenuItem");
}

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

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

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_menuStateChanged(JNIEnv *env, jobject obj)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged();
	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_menuDelPopup(JNIEnv *env, jobject obj, jobject arg1)
{
	((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((QPopupMenu*) QtSupport::getQt(env, arg1));
	return;
}

