/***************************************************************************
                            KKeyChooser.cpp -  description
                             -------------------
    begin                : Tue Jan 29 14:32:25 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Jan 29 14:32:25 2002, 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 <kkeydialog.h>
#include <qstring.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KKeyChooser.h>

class KKeyChooserJBridge : public KKeyChooser
{
public:
	KKeyChooserJBridge(QWidget* parent, ActionType type, bool bAllowLetterShortcuts) : KKeyChooser(parent, type, bAllowLetterShortcuts) {}
	KKeyChooserJBridge(KActionCollection* coll, QWidget* parent, bool bAllowLetterShortcuts) : KKeyChooser(coll, parent, bAllowLetterShortcuts) {}
	KKeyChooserJBridge(KAccel* actions, QWidget* parent, bool bAllowLetterShortcuts) : KKeyChooser(actions, parent, bAllowLetterShortcuts) {}
	KKeyChooserJBridge(KGlobalAccel* actions, QWidget* parent) : KKeyChooser(actions, parent) {}
	KKeyChooserJBridge(KShortcutList* arg1, QWidget* parent, ActionType type, bool bAllowLetterShortcuts) : KKeyChooser(arg1, parent, type, bAllowLetterShortcuts) {}
	~KKeyChooserJBridge() {QtSupport::qtKeyDeleted(this);}
	KKeyChooserJBridge(KAccel* actions, QWidget* parent, bool bCheckAgainstStdKeys, bool bAllowLetterShortcuts, bool bAllowWinKey) : KKeyChooser(actions, parent, bCheckAgainstStdKeys, bAllowLetterShortcuts, bAllowWinKey) {}
	KKeyChooserJBridge(KGlobalAccel* actions, QWidget* parent, bool bCheckAgainstStdKeys, bool bAllowLetterShortcuts, bool bAllowWinKey) : KKeyChooser(actions, parent, bCheckAgainstStdKeys, bAllowLetterShortcuts, bAllowWinKey) {}
	void protected_initGUI(ActionType type, bool bAllowLetterShortcuts) {
		KKeyChooser::initGUI(type, bAllowLetterShortcuts);
		return;
	}
//	bool  protected_insert(KAccelActions& arg1, bool bGlobal) {
//		return (bool ) KKeyChooser::insert(arg1, bGlobal);
//	}
	bool  protected_insert(KShortcutList* arg1) {
		return (bool ) KKeyChooser::insert(arg1);
	}
	void protected_buildListView(uint iList) {
		KKeyChooser::buildListView(iList);
		return;
	}
	void protected_readGlobalKeys() {
		KKeyChooser::readGlobalKeys();
		return;
	}
	void protected_updateButtons() {
		KKeyChooser::updateButtons();
		return;
	}
	void protected_fontChange(const QFont& _font) {
		KKeyChooser::fontChange(_font);
		return;
	}
	void protected_setShortcut(const KShortcut& cut) {
		KKeyChooser::setShortcut(cut);
		return;
	}
	bool  protected_isKeyPresent(const KShortcut& cut, bool warnuser) {
		return (bool ) KKeyChooser::isKeyPresent(cut, warnuser);
	}
	void protected__warning(const KKeySequence& seq, QString sAction, QString sTitle) {
		KKeyChooser::_warning(seq, sAction, sTitle);
		return;
	}
//	void protected_allDefault(QListViewItem* arg1) {
//		KKeyChooser::allDefault(arg1);
//		return;
//	}
//	void protected_commitChanges(QListViewItem* pItem) {
//		KKeyChooser::commitChanges(pItem);
//		return;
//	}
	void protected_slotNoKey() {
		KKeyChooser::slotNoKey();
		return;
	}
	void protected_slotDefaultKey() {
		KKeyChooser::slotDefaultKey();
		return;
	}
	void protected_slotCustomKey() {
		KKeyChooser::slotCustomKey();
		return;
	}
	void protected_slotListItemSelected(QListViewItem* item) {
		KKeyChooser::slotListItemSelected(item);
		return;
	}
	void protected_capturedShortcut(const KShortcut& cut) {
		KKeyChooser::capturedShortcut(cut);
		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")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyReleaseEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusOutEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QWidget::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")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "tabletEvent", arg1, "org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "showEvent", arg1, "org.kde.qt.QShowEvent")) {
			QWidget::showEvent(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 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")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imStartEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(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")) {
			QWidget::mouseReleaseEvent(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")) {
			QWidget::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(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 resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QWidget::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2IZ(JNIEnv *env, jobject obj, jobject parent, jint type, jboolean bAllowLetterShortcuts)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((QWidget*) QtSupport::getQt(env, parent), (KKeyChooser::ActionType) type, (bool) bAllowLetterShortcuts));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((QWidget*) QtSupport::getQt(env, parent), KKeyChooser::Application, true));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv *env, jobject obj, jobject coll, jobject parent, jboolean bAllowLetterShortcuts)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KActionCollection*) QtSupport::getQt(env, coll), (QWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject coll, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KActionCollection*) QtSupport::getQt(env, coll), (QWidget*) QtSupport::getQt(env, parent), true));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv *env, jobject obj, jobject actions, jobject parent, jboolean bAllowLetterShortcuts)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject actions, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), true));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

//JNIEXPORT void JNICALL
//Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2IZ(JNIEnv *env, jobject obj, j arg1, jobject parent, jint type, jboolean bAllowLetterShortcuts)
//{
//	if (QtSupport::getQt(env, obj) == 0) {
//		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KShortcutList*) arg1, (QWidget*) QtSupport::getQt(env, parent), (KKeyChooser::ActionType) type, (bool) bAllowLetterShortcuts));
//		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
//	}
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, j arg1, jobject parent)
//{
//	if (QtSupport::getQt(env, obj) == 0) {
//		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KShortcutList*) arg1, (QWidget*) QtSupport::getQt(env, parent), KKeyChooser::Application, true));
//		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
//	}
//	return;
//}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_dispose(JNIEnv *env, jobject obj)
{
	Java_org_kde_koala_KKeyChooser_finalize(env, obj);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((KActionCollection*) QtSupport::getQt(env, arg1));
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_syncToConfig(JNIEnv *env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bClearUnset)
{
static QString * _qstring_sConfigGroup = 0;
	((KKeyChooser*) QtSupport::getQt(env, obj))->syncToConfig((QString&) * (QString *) QtSupport::toQString(env, sConfigGroup, &_qstring_sConfigGroup), (KConfigBase*) QtSupport::getQt(env, pConfig), (bool) bClearUnset);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_commitChanges__(JNIEnv *env, jobject obj)
{
	((KKeyChooser*) QtSupport::getQt(env, obj))->commitChanges();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_save(JNIEnv *env, jobject obj)
{
	((KKeyChooser*) QtSupport::getQt(env, obj))->save();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2ZZZ(JNIEnv *env, jobject obj, jobject actions, jobject parent, jboolean bCheckAgainstStdKeys, jboolean bAllowLetterShortcuts, jboolean bAllowWinKey)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), (bool) bCheckAgainstStdKeys, (bool) bAllowLetterShortcuts, (bool) bAllowWinKey));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv *env, jobject obj, jobject actions, jobject parent, jboolean bCheckAgainstStdKeys, jboolean bAllowLetterShortcuts)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), (bool) bCheckAgainstStdKeys, (bool) bAllowLetterShortcuts, false));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2ZZZ(JNIEnv *env, jobject obj, jobject actions, jobject parent, jboolean bCheckAgainstStdKeys, jboolean bAllowLetterShortcuts, jboolean bAllowWinKey)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KGlobalAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), (bool) bCheckAgainstStdKeys, (bool) bAllowLetterShortcuts, (bool) bAllowWinKey));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv *env, jobject obj, jobject actions, jobject parent, jboolean bCheckAgainstStdKeys, jboolean bAllowLetterShortcuts)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KKeyChooserJBridge((KGlobalAccel*) QtSupport::getQt(env, actions), (QWidget*) QtSupport::getQt(env, parent), (bool) bCheckAgainstStdKeys, (bool) bAllowLetterShortcuts, false));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_allDefault__(JNIEnv *env, jobject obj)
{
	((KKeyChooser*) QtSupport::getQt(env, obj))->allDefault();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys(JNIEnv *env, jobject obj, jboolean preferFourModifierKeys)
{
	((KKeyChooser*) QtSupport::getQt(env, obj))->setPreferFourModifierKeys((bool) preferFourModifierKeys);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_listSync(JNIEnv *env, jobject obj)
{
	((KKeyChooser*) QtSupport::getQt(env, obj))->listSync();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_initGUI(JNIEnv *env, jobject obj, jint type, jboolean bAllowLetterShortcuts)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_initGUI((KKeyChooser::ActionType) type, (bool) bAllowLetterShortcuts);
	return;
}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KAccelActions_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean bGlobal)
//{
//	return (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((KAccelActions&) *(KAccelActions *) QtSupport::getQt(env, arg1), (bool) bGlobal);
//}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_koala_KKeyChooser_insert__(JNIEnv *env, jobject obj, j arg1)
//{
//	return (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((KShortcutList*) arg1);
//}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_buildListView(JNIEnv *env, jobject obj, jint iList)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_buildListView((uint) iList);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_readGlobalKeys(JNIEnv *env, jobject obj)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalKeys();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_updateButtons(JNIEnv *env, jobject obj)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_fontChange(JNIEnv *env, jobject obj, jobject _font)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((QFont&) *(QFont *) QtSupport::getQt(env, _font));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_setShortcut(JNIEnv *env, jobject obj, jobject cut)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_setShortcut((KShortcut&) *(KShortcut *) QtSupport::getQt(env, cut));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2Z(JNIEnv *env, jobject obj, jobject cut, jboolean warnuser)
{
	return (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((KShortcut&) *(KShortcut *) QtSupport::getQt(env, cut), (bool) warnuser);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_KShortcut_2(JNIEnv *env, jobject obj, jobject cut)
{
	return (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((KShortcut&) *(KShortcut *) QtSupport::getQt(env, cut), true);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser__1warning(JNIEnv *env, jobject obj, jobject seq, jstring sAction, jstring sTitle)
{
static QString * _qstring_sTitle = 0;
static QString * _qstring_sAction = 0;
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected__warning((KKeySequence&) *(KKeySequence *) QtSupport::getQt(env, seq), (QString) * (QString *) QtSupport::toQString(env, sAction, &_qstring_sAction), (QString) * (QString *) QtSupport::toQString(env, sTitle, &_qstring_sTitle));
	return;
}

//JNIEXPORT void JNICALL
//Java_org_kde_koala_KKeyChooser_allDefault__Lorg_kde_qt_QListViewItem_2(JNIEnv *env, jobject obj, jobject arg1)
//{
//	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_allDefault((QListViewItem*) QtSupport::getQt(env, arg1));
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_koala_KKeyChooser_commitChanges__Lorg_kde_qt_QListViewItem_2(JNIEnv *env, jobject obj, jobject pItem)
//{
//	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_commitChanges((QListViewItem*) QtSupport::getQt(env, pItem));
//	return;
//}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_slotNoKey(JNIEnv *env, jobject obj)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotNoKey();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_slotDefaultKey(JNIEnv *env, jobject obj)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotDefaultKey();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_slotCustomKey(JNIEnv *env, jobject obj)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotCustomKey();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_slotListItemSelected(JNIEnv *env, jobject obj, jobject item)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotListItemSelected((QListViewItem*) QtSupport::getQt(env, item));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_capturedShortcut(JNIEnv *env, jobject obj, jobject cut)
{
	((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_capturedShortcut((KShortcut&) *(KShortcut *) QtSupport::getQt(env, cut));
	return;
}

