//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qstyle.h>
#include <qstring.h>
#include <qpopupmenu.h>
#include <qpoint.h>
#include <qsize.h>
#include <qmenudata.h>
#include <qpixmap.h>
#include <qfont.h>
#include <qiconset.h>
#include <qkeysequence.h>

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

class QPopupMenuJBridge : public QPopupMenu
{
public:
	QPopupMenuJBridge(QWidget* arg1,const char* arg2) : QPopupMenu(arg1,arg2) {};
	QPopupMenuJBridge(QWidget* arg1) : QPopupMenu(arg1) {};
	QPopupMenuJBridge() : QPopupMenu() {};
	int protected_itemHeight(int arg1) {
		return (int) QPopupMenu::itemHeight(arg1);
	}
	int protected_itemHeight(QMenuItem* arg1) {
		return (int) QPopupMenu::itemHeight(arg1);
	}
	void protected_drawItem(QPainter* arg1,int arg2,QMenuItem* arg3,bool arg4,int arg5,int arg6,int arg7,int arg8) {
		QPopupMenu::drawItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
		return;
	}
	void protected_drawContents(QPainter* arg1) {
		QPopupMenu::drawContents(arg1);
		return;
	}
	void protected_closeEvent(QCloseEvent* arg1) {
		QPopupMenu::closeEvent(arg1);
		return;
	}
	void protected_paintEvent(QPaintEvent* arg1) {
		QPopupMenu::paintEvent(arg1);
		return;
	}
	void protected_mousePressEvent(QMouseEvent* arg1) {
		QPopupMenu::mousePressEvent(arg1);
		return;
	}
	void protected_mouseReleaseEvent(QMouseEvent* arg1) {
		QPopupMenu::mouseReleaseEvent(arg1);
		return;
	}
	void protected_mouseMoveEvent(QMouseEvent* arg1) {
		QPopupMenu::mouseMoveEvent(arg1);
		return;
	}
	void protected_keyPressEvent(QKeyEvent* arg1) {
		QPopupMenu::keyPressEvent(arg1);
		return;
	}
	void protected_focusInEvent(QFocusEvent* arg1) {
		QPopupMenu::focusInEvent(arg1);
		return;
	}
	void protected_focusOutEvent(QFocusEvent* arg1) {
		QPopupMenu::focusOutEvent(arg1);
		return;
	}
	void protected_timerEvent(QTimerEvent* arg1) {
		QPopupMenu::timerEvent(arg1);
		return;
	}
	void protected_leaveEvent(QEvent* arg1) {
		QPopupMenu::leaveEvent(arg1);
		return;
	}
	void protected_styleChange(QStyle& arg1) {
		QPopupMenu::styleChange(arg1);
		return;
	}
	void protected_enabledChange(bool arg1) {
		QPopupMenu::enabledChange(arg1);
		return;
	}
	int protected_columns() {
		return (int) QPopupMenu::columns();
	}
	bool protected_focusNextPrevChild(bool arg1) {
		return (bool) QPopupMenu::focusNextPrevChild(arg1);
	}
	int protected_itemAtPos(const QPoint& arg1,bool arg2) {
		return (int) QPopupMenu::itemAtPos(arg1,arg2);
	}
	int protected_itemAtPos(const QPoint& arg1) {
		return (int) QPopupMenu::itemAtPos(arg1);
	}
	~QPopupMenuJBridge() {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;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const QRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.QRegion")) {
			QWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.QResizeEvent")) {
			QFrame::resizeEvent(arg1);
		}
		return;
	}
	void setFrameRect(const QRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.QRect")) {
			QFrame::setFrameRect(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const QPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.QPalette")) {
			QWidget::paletteChange(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","setActiveWindow")) {
			QWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QPopupMenu::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","setFocus")) {
			QWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void drawFrame(QPainter* arg1) {
		if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.QPainter")) {
			QFrame::drawFrame(arg1);
		}
		return;
	}
	void setPaletteBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.QPaintEvent")) {
			QPopupMenu::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","unsetCursor")) {
			QWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","polish")) {
			QWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","showMaximized")) {
			QWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QPopupMenu::keyPressEvent(arg1);
		}
		return;
	}
	void setPaletteBackgroundPixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCursor(const QCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.QCursor")) {
			QWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.QCloseEvent")) {
			QPopupMenu::closeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QPopupMenu::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QPopupMenu::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.QEvent")) {
			QPopupMenu::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const QPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.QPixmap")) {
			QWidget::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","updateMask")) {
			QWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","showNormal")) {
			QWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QPopupMenu::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.QMouseEvent")) {
			QPopupMenu::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.QWidget")) {
			QWidget::setFocusProxy(arg1);
		}
		return;
	}
	void fontChange(const QFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.QFont")) {
			QWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const QColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.QColor")) {
			QWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","adjustSize")) {
			QWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.QFocusEvent")) {
			QPopupMenu::focusInEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QPopupMenu",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	void setGeometry(const QRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.QRect")) {
			QWidget::setGeometry(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QPopupMenu","showMinimized")) {
			QWidget::showMinimized();
		}
		return;
	}
};

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap)
{
	((QMenuData*)(QPopupMenu*) 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_QPopupMenu_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap)
{
	((QMenuData*)(QPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
{
	((QMenuData*)(QPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (int) id);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject e)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((QCloseEvent*) QtSupport::getQt(env, e));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_columns(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_columns();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPopupMenu_customWhatsThis(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPopupMenu*) QtSupport::getQt(env, obj))->customWhatsThis();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QPopupMenu_finalize(env, obj);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_drawItem(JNIEnv* env, jobject obj, jobject p, jint tab, jobject mi, jboolean act, jint x, jint y, jint w, jint h)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawItem((QPainter*) QtSupport::getQt(env, p), (int) tab, (QMenuItem*) QtSupport::getQt(env, mi), (bool) act, (int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_enabledChange(JNIEnv* env, jobject obj, jboolean arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_exec__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->exec();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->exec((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_exec__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->exec((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint);
	return xret;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPopupMenu_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*)(QPopupMenu*) 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 void JNICALL
Java_org_kde_qt_QPopupMenu_focusInEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((QFocusEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next)
{
	jboolean xret = (jboolean) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((QFocusEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_idAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->idAt((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos));
	return xret;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index)
{
static QString* _qstring_text = 0;
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) QtSupport::getQt(env, custom));
	return xret;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap));
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) 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_QPopupMenu_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*)(QPopupMenu*) 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_QPopupMenu_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
{
	jint xret = (jint) ((QMenuData*)(QPopupMenu*) QtSupport::getQt(env, obj))->insertItem((QWidget*) QtSupport::getQt(env, widget));
	return xret;
}

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

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_insertTearOffHandle__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_insertTearOffHandle__II(JNIEnv* env, jobject obj, jint id, jint index)
{
	jint xret = (jint) ((QPopupMenu*) QtSupport::getQt(env, obj))->insertTearOffHandle((int) id, (int) index);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPopupMenu_isCheckable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPopupMenu*) QtSupport::getQt(env, obj))->isCheckable();
	return xret;
}

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

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

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const QPoint&)*(const QPoint*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_itemAtPos__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean ignoreSeparator)
{
	jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const QPoint&)*(const QPoint*) QtSupport::getQt(env, arg1), (bool) ignoreSeparator);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPopupMenu_itemGeometry(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QPopupMenu*) QtSupport::getQt(env, obj))->itemGeometry((int) index)), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_itemHeight__I(JNIEnv* env, jobject obj, jint arg1)
{
	jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((int) arg1);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_itemHeight__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject mi)
{
	jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((QMenuItem*) QtSupport::getQt(env, mi));
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((QKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_leaveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((QEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_newQPopupMenu__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 QPopupMenuJBridge((QWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_paintEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((QPaintEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	((QPopupMenu*) QtSupport::getQt(env, obj))->popup((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_popup__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint indexAtPoint)
{
	((QPopupMenu*) QtSupport::getQt(env, obj))->popup((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (int) indexAtPoint);
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_setActiveItem(JNIEnv* env, jobject obj, jint arg1)
{
	((QPopupMenu*) QtSupport::getQt(env, obj))->setActiveItem((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_setCheckable(JNIEnv* env, jobject obj, jboolean arg1)
{
	((QPopupMenu*) QtSupport::getQt(env, obj))->setCheckable((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_setFont(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenu*) QtSupport::getQt(env, obj))->setFont((const QFont&)*(const QFont*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPopupMenu_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QPopupMenu*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.QSize", TRUE);
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QPopupMenu_timerEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((QTimerEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QPopupMenu_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

	if ((bool) Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member)) {
		Java_org_kde_qt_QPopupMenu_setAccel(env, obj, accel, identifier);
	}

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_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_QPopupMenu_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1);
	Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1);
	Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member);
	
	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_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_QPopupMenu_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1);
	Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPopupMenu_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_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1);
	Java_org_kde_qt_QPopupMenu_connectItem(env, obj, identifier, receiver, member);

	return identifier;
}

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

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

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

