//Auto-generated by kalyptus. DO NOT EDIT.
#include <kaction.h>
#include <qiconset.h>
#include <kicontheme.h>
#include <qstring.h>
#include <kguiitem.h>
#include <kshortcut.h>
#include <qnamespace.h>

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

class KActionJBridge : public KAction
{
public:
	KActionJBridge(const QString& arg1,const KShortcut& arg2,const QObject* arg3,const char* arg4,KActionCollection* arg5,const char* arg6) : KAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	KActionJBridge(const QString& arg1,const QIconSet& arg2,const KShortcut& arg3,const QObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	KActionJBridge(const QString& arg1,const QString& arg2,const KShortcut& arg3,const QObject* arg4,const char* arg5,KActionCollection* arg6,const char* arg7) : KAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	KActionJBridge(const KGuiItem& arg1,const KShortcut& arg2,const QObject* arg3,const char* arg4,KActionCollection* arg5,const char* arg6) : KAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	void public_activate() {
		KAction::activate();
		return;
	}
	KToolBar* protected_toolBar(int arg1) {
		return (KToolBar*) KAction::toolBar(arg1);
	}
	QPopupMenu* protected_popupMenu(int arg1) {
		return (QPopupMenu*) KAction::popupMenu(arg1);
	}
	void protected_removeContainer(int arg1) {
		KAction::removeContainer(arg1);
		return;
	}
	int protected_findContainer(const QWidget* arg1) {
		return (int) KAction::findContainer(arg1);
	}
	int protected_findContainer(int arg1) {
		return (int) KAction::findContainer(arg1);
	}
	void protected_plugMainWindowAccel(QWidget* arg1) {
		KAction::plugMainWindowAccel(arg1);
		return;
	}
	void protected_addContainer(QWidget* arg1,int arg2) {
		KAction::addContainer(arg1,arg2);
		return;
	}
	void protected_addContainer(QWidget* arg1,QWidget* arg2) {
		KAction::addContainer(arg1,arg2);
		return;
	}
	void protected_updateShortcut(int arg1) {
		KAction::updateShortcut(arg1);
		return;
	}
	void protected_updateShortcut(QPopupMenu* arg1,int arg2) {
		KAction::updateShortcut(arg1,arg2);
		return;
	}
	void protected_updateGroup(int arg1) {
		KAction::updateGroup(arg1);
		return;
	}
	void protected_updateText(int arg1) {
		KAction::updateText(arg1);
		return;
	}
	void protected_updateEnabled(int arg1) {
		KAction::updateEnabled(arg1);
		return;
	}
	void protected_updateIconSet(int arg1) {
		KAction::updateIconSet(arg1);
		return;
	}
	void protected_updateIcon(int arg1) {
		KAction::updateIcon(arg1);
		return;
	}
	void protected_updateToolTip(int arg1) {
		KAction::updateToolTip(arg1);
		return;
	}
	void protected_updateWhatsThis(int arg1) {
		KAction::updateWhatsThis(arg1);
		return;
	}
	QString protected_whatsThisWithIcon() {
		return (QString) KAction::whatsThisWithIcon();
	}
	const KGuiItem& protected_guiItem() {
		return (const KGuiItem&) KAction::guiItem();
	}
	void protected_slotDestroyed() {
		KAction::slotDestroyed();
		return;
	}
	void protected_slotKeycodeChanged() {
		KAction::slotKeycodeChanged();
		return;
	}
	void protected_slotActivated() {
		KAction::slotActivated();
		return;
	}
	void protected_slotPopupActivated() {
		KAction::slotPopupActivated();
		return;
	}
	void protected_slotButtonClicked(int arg1,Qt::ButtonState arg2) {
		KAction::slotButtonClicked(arg1,arg2);
		return;
	}
	~KActionJBridge() {QtSupport::qtKeyDeleted(this);}
	void activate() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","activate")) {
			KAction::activate();
		}
		return;
	}
	void slotDestroyed() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotDestroyed")) {
			KAction::slotDestroyed();
		}
		return;
	}
	void slotActivated() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotActivated")) {
			KAction::slotActivated();
		}
		return;
	}
	void unplug(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.QWidget")) {
			KAction::unplug(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	bool hasIcon() {
		return QtSupport::booleanDelegate(this,"hasIcon");
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void slotKeycodeChanged() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KAction","slotKeycodeChanged")) {
			KAction::slotKeycodeChanged();
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool isShortcutConfigurable() {
		return QtSupport::booleanDelegate(this,"isShortcutConfigurable");
	}
	void setIconSet(const QIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.QIconSet")) {
			KAction::setIconSet(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAction",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	bool isEnabled() {
		return QtSupport::booleanDelegate(this,"isEnabled");
	}
};

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_activate(JNIEnv* env, jobject obj)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->public_activate();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint id)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((QWidget*) QtSupport::getQt(env, parent), (int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((QWidget*) QtSupport::getQt(env, parent), (QWidget*) QtSupport::getQt(env, representative));
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KAction_containerCount(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->containerCount();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_container(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->container((int) index), "org.kde.qt.QWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KAction_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((KAction*)QtSupport::getQt(env, obj))->parent() == 0) {
		delete (KAction*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KAction_findContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
{
	jint xret = (jint) ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((const QWidget*) QtSupport::getQt(env, widget));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KAction_getToolButtonID(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) KActionJBridge::getToolButtonID();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_group(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->group();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_guiItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KGuiItem *) &((KActionJBridge*) QtSupport::getQt(env, obj))->protected_guiItem(), "org.kde.koala.KGuiItem");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_hasIconSet(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->hasIconSet();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_hasIcon(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->hasIcon();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_iconSet__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.QIconSet", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_iconSet__I(JNIEnv* env, jobject obj, jint group)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group)), "org.kde.qt.QIconSet", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QIconSet(((KAction*) QtSupport::getQt(env, obj))->iconSet((KIcon::Group) group, (int) size)), "org.kde.qt.QIconSet", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_icon(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->icon();
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isPlugged__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const QWidget*) QtSupport::getQt(env, container));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject container, jint id)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const QWidget*) QtSupport::getQt(env, container), (int) id);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container, jobject _representative)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isPlugged((const QWidget*) QtSupport::getQt(env, container), (const QWidget*) QtSupport::getQt(env, _representative));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_isShortcutConfigurable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->isShortcutConfigurable();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KAction_kaccelCount(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->kaccelCount();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_newKAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static QString* _qstring_text = 0;
static QString* _qstring_pix = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KActionJBridge((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QString&)*(QString*) QtSupport::toQString(env, pix, &_qstring_pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) 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_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static QString* _qstring_text = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KActionJBridge((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) 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_koala_KAction_newKAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static QString* _qstring_text = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KActionJBridge((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, pix), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) 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_koala_KAction_newKAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_parentCollection(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.kde.koala.KActionCollection");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_plainText(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->plainText();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((QWidget*) QtSupport::getQt(env, w));
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index)
{
	jint xret = (jint) ((KAction*) QtSupport::getQt(env, obj))->plug((QWidget*) QtSupport::getQt(env, widget), (int) index);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_removeContainer(JNIEnv* env, jobject obj, jint index)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_removeContainer((int) index);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_representative(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.kde.qt.QWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((KAction*) QtSupport::getQt(env, obj))->setEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setGroup(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((KAction*) QtSupport::getQt(env, obj))->setGroup((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setIconSet(JNIEnv* env, jobject obj, jobject iconSet)
{
	((KAction*) QtSupport::getQt(env, obj))->setIconSet((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, iconSet));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setIcon(JNIEnv* env, jobject obj, jstring icon)
{
static QString* _qstring_icon = 0;
	((KAction*) QtSupport::getQt(env, obj))->setIcon((const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setShortcutConfigurable(JNIEnv* env, jobject obj, jboolean arg1)
{
	((KAction*) QtSupport::getQt(env, obj))->setShortcutConfigurable((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((KAction*) QtSupport::getQt(env, obj))->setShortcutText((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KAction_setShortcut(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((KAction*) QtSupport::getQt(env, obj))->setShortcut((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setText(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
	((KAction*) QtSupport::getQt(env, obj))->setText((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1)
{
static QString* _qstring_arg1 = 0;
	((KAction*) QtSupport::getQt(env, obj))->setToolTip((const QString&)*(QString*) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
	((KAction*) QtSupport::getQt(env, obj))->setWhatsThis((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_shortcutDefault(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.kde.koala.KShortcut");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_shortcutText(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->shortcutText();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_shortcut(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KAction*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.KShortcut");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_slotActivated(JNIEnv* env, jobject obj)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_slotButtonClicked(JNIEnv* env, jobject obj, jint arg1, jint state)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotButtonClicked((int) arg1, (Qt::ButtonState) state);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_slotDestroyed(JNIEnv* env, jobject obj)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotDestroyed();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_slotKeycodeChanged(JNIEnv* env, jobject obj)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotKeycodeChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_slotPopupActivated(JNIEnv* env, jobject obj)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_slotPopupActivated();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_statusText(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->statusText();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_text(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KAction_toolBar(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.kde.koala.KToolBar");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_toolTip(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->toolTip();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_unplugAll(JNIEnv* env, jobject obj)
{
	((KAction*) QtSupport::getQt(env, obj))->unplugAll();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_unplug(JNIEnv* env, jobject obj, jobject w)
{
	((KAction*) QtSupport::getQt(env, obj))->unplug((QWidget*) QtSupport::getQt(env, w));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateEnabled(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateEnabled((int) i);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateGroup(JNIEnv* env, jobject obj, jint id)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateGroup((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateIconSet(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIconSet((int) i);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateIcon(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIcon((int) i);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateShortcut__I(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((int) i);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateText(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateText((int) i);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateToolTip(JNIEnv* env, jobject obj, jint id)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateToolTip((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KAction_updateWhatsThis(JNIEnv* env, jobject obj, jint i)
{
	((KActionJBridge*) QtSupport::getQt(env, obj))->protected_updateWhatsThis((int) i);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_whatsThisWithIcon(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KAction_whatsThis(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KAction*) QtSupport::getQt(env, obj))->whatsThis();
	return QtSupport::fromQString(env, &_qstring);
}

