/***************************************************************************
                            QMenuBar.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 <qmenubar.h>
#include <qstring.h>
#include <qcstring.h>

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

class QMenuBarJBridge : public QMenuBar
{
public:
	QMenuBarJBridge(QWidget* parent, const char* name) : QMenuBar(parent, name) {}
	~QMenuBarJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_drawContents(QPainter* arg1) {
		QMenuBar::drawContents(arg1);
		return;
	}
	void protected_fontChange(const QFont& arg1) {
		QMenuBar::fontChange(arg1);
		return;
	}
	void protected_menuContentsChanged() {
		QMenuBar::menuContentsChanged();
		return;
	}
	void protected_menuStateChanged() {
		QMenuBar::menuStateChanged();
		return;
	}
	void protected_styleChange(QStyle& arg1) {
		QMenuBar::styleChange(arg1);
		return;
	}
	int  protected_itemAtPos(const QPoint& arg1) {
		return (int ) QMenuBar::itemAtPos(arg1);
	}
	void protected_hidePopups() {
		QMenuBar::hidePopups();
		return;
	}
	QRect  protected_itemRect(int item) {
		return (QRect ) QMenuBar::itemRect(item);
	}
	void protected_menuInsPopup(QPopupMenu* arg1) {
		QMenuData::menuInsPopup(arg1);
		return;
	}
	void protected_menuDelPopup(QPopupMenu* arg1) {
		QMenuData::menuDelPopup(arg1);
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QMenuBar::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyReleaseEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusOutEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QMenuBar::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "childEvent", arg1, "org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "leaveEvent", arg1, "org.kde.qt.QEvent")) {
			QMenuBar::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "tabletEvent", arg1, "org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "showEvent", arg1, "org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QMenuBar::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imComposeEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "customEvent", arg1, "org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QMenuBar::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "enterEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusInEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QMenuBar::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QMenuBar::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "wheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "hideEvent", arg1, "org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imStartEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "closeEvent", arg1, "org.kde.qt.QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "paintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QMenuBar::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject parent, jstring name)
{
static QCString * _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMenuBarJBridge((QWidget*) QtSupport::getQt(env, parent), (char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_finalize(JNIEnv *env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((QMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == (QWidget *) 0) {
		delete (QMenuBar*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_show(JNIEnv *env, jobject obj)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_hide(JNIEnv *env, jobject obj)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->hide();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuBar_eventFilter(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	return (jboolean) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->eventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, arg2));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_heightForWidth(JNIEnv *env, jobject obj, jint arg1)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_separator(JNIEnv *env, jobject obj)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->separator();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_setSeparator(JNIEnv *env, jobject obj, jint when)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->setSeparator((QMenuBar::Separator) when);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_setDefaultUp(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->setDefaultUp((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuBar_isDefaultUp(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->isDefaultUp();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuBar_customWhatsThis(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->customWhatsThis();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuBar_sizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->sizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuBar_minimumSize(JNIEnv *env, jobject obj)
{
	QSize _s= ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->minimumSize();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuBar_minimumSizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->minimumSizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

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

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QMenuBar_initialize(JNIEnv *env, jclass obj)
//{
//	QMenuBarJBridge::initialize();
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QMenuBar_cleanup(JNIEnv *env, jclass obj)
//{
//	QMenuBarJBridge::cleanup();
//	return;
//}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_drawContents(JNIEnv *env, jobject obj, jobject arg1)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((QPainter*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_fontChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((QFont&) *(QFont *) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_styleChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((QStyle&) *(QStyle *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_itemAtPos(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_hidePopups(JNIEnv *env, jobject obj)
{
	((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_hidePopups();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuBar_itemRect(JNIEnv *env, jobject obj, jint item)
{
	QRect _r= ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item);
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_count(JNIEnv *env, jobject obj)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->count();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index);

	if ((bool) Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member)) {
		Java_org_kde_qt_QMenuBar_setAccel(env, obj, accel, identifier);
	}

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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_QMenuBar_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1);
	Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_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;
	jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1);
	Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_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;
	jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1);
	Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_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;
	jint identifier = Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1);
	Java_org_kde_qt_QMenuBar_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text)
{
static QString * _qstring_text = 0;
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv *env, jobject obj, jstring text, jobject popup)
{
static QString * _qstring_text = 0;
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv *env, jobject obj, jobject pixmap, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->insertItem((QPixmap&) *(QPixmap *) QtSupport::getQt(env, pixmap), (int) identifier, (int) index);
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv *env, jobject obj, jobject pixmap, jobject popup, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv *env, jobject obj, jobject pixmap, jobject popup)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_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) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv *env, jobject obj, jobject widget, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget), (int) identifier, (int) index);
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv *env, jobject obj, jobject icon, jobject custom, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv *env, jobject obj, jobject icon, jobject custom)
{
	return (jint) ((QMenuBarJBridge*) 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_QMenuBar_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv *env, jobject obj, jobject custom, jint identifier, jint index)
{
	return (jint) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom), (int) identifier, (int) index);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuBar_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject icon, jstring text, jint identifier)
{
static QString * _qstring_text = 0;
	((QMenuBarJBridge*) 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_QMenuBar_isItemActive(JNIEnv *env, jobject obj, jint identifier)
{
	return (jboolean) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->isItemActive((int) identifier);
}

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

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

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

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

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

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

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

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

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

	if (	((QMenuBarJBridge*) 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_QMenuBar_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
{
	JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv *env, jobject obj, jobject arg1, jintArray index)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QMenuBarJBridge*) 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_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QMenuBarJBridge*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1), 0), "org.kde.qt.QMenuItem");
}

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

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


