//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeaction.h>
#include <tqiconset.h>
#include <kicontheme.h>
#include <tqstring.h>
#include <kguiitem.h>
#include <tdeshortcut.h>
#include <tqnamespace.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/TDEAction.h>

class TDEActionJBridge : public TDEAction
{
public:
	TDEActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	TDEActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	TDEActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	TDEActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	void public_activate() {
		TDEAction::activate();
		return;
	}
	TDEToolBar* protected_toolBar(int arg1) {
		return (TDEToolBar*) TDEAction::toolBar(arg1);
	}
	TQPopupMenu* protected_popupMenu(int arg1) {
		return (TQPopupMenu*) TDEAction::popupMenu(arg1);
	}
	void protected_removeContainer(int arg1) {
		TDEAction::removeContainer(arg1);
		return;
	}
	int protected_findContainer(const TQWidget* arg1) {
		return (int) TDEAction::findContainer(arg1);
	}
	int protected_findContainer(int arg1) {
		return (int) TDEAction::findContainer(arg1);
	}
	void protected_plugMainWindowAccel(TQWidget* arg1) {
		TDEAction::plugMainWindowAccel(arg1);
		return;
	}
	void protected_addContainer(TQWidget* arg1,int arg2) {
		TDEAction::addContainer(arg1,arg2);
		return;
	}
	void protected_addContainer(TQWidget* arg1,TQWidget* arg2) {
		TDEAction::addContainer(arg1,arg2);
		return;
	}
	void protected_updateShortcut(int arg1) {
		TDEAction::updateShortcut(arg1);
		return;
	}
	void protected_updateShortcut(TQPopupMenu* arg1,int arg2) {
		TDEAction::updateShortcut(arg1,arg2);
		return;
	}
	void protected_updateGroup(int arg1) {
		TDEAction::updateGroup(arg1);
		return;
	}
	void protected_updateText(int arg1) {
		TDEAction::updateText(arg1);
		return;
	}
	void protected_updateEnabled(int arg1) {
		TDEAction::updateEnabled(arg1);
		return;
	}
	void protected_updateIconSet(int arg1) {
		TDEAction::updateIconSet(arg1);
		return;
	}
	void protected_updateIcon(int arg1) {
		TDEAction::updateIcon(arg1);
		return;
	}
	void protected_updateToolTip(int arg1) {
		TDEAction::updateToolTip(arg1);
		return;
	}
	void protected_updateWhatsThis(int arg1) {
		TDEAction::updateWhatsThis(arg1);
		return;
	}
	TQString protected_whatsThisWithIcon() {
		return (TQString) TDEAction::whatsThisWithIcon();
	}
	const KGuiItem& protected_guiItem() {
		return (const KGuiItem&) TDEAction::guiItem();
	}
	void protected_slotDestroyed() {
		TDEAction::slotDestroyed();
		return;
	}
	void protected_slotKeycodeChanged() {
		TDEAction::slotKeycodeChanged();
		return;
	}
	void protected_slotActivated() {
		TDEAction::slotActivated();
		return;
	}
	void protected_slotPopupActivated() {
		TDEAction::slotPopupActivated();
		return;
	}
	void protected_slotButtonClicked(int arg1,TQt::ButtonState arg2) {
		TDEAction::slotButtonClicked(arg1,arg2);
		return;
	}
	~TDEActionJBridge() {QtSupport::qtKeyDeleted(this);}
	void activate() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEAction","activate")) {
			TDEAction::activate();
		}
		return;
	}
	void slotDestroyed() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEAction","slotDestroyed")) {
			TDEAction::slotDestroyed();
		}
		return;
	}
	void slotActivated() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEAction","slotActivated")) {
			TDEAction::slotActivated();
		}
		return;
	}
	void unplug(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TDEAction::unplug(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	bool hasIcon() {
		return QtSupport::booleanDelegate(this,"hasIcon");
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void slotKeycodeChanged() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEAction","slotKeycodeChanged")) {
			TDEAction::slotKeycodeChanged();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool isShortcutConfigurable() {
		return QtSupport::booleanDelegate(this,"isShortcutConfigurable");
	}
	void setIconSet(const TQIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.trinitydesktop.qt.TQIconSet")) {
			TDEAction::setIconSet(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.TDEAction",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	bool isEnabled() {
		return QtSupport::booleanDelegate(this,"isEnabled");
	}
};

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_addContainer__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative)
{
	((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, representative));
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_container(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->container((int) index), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEAction_finalize(env, obj);
	return;
}

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_group(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->group();
	return QtSupport::fromTQString(env, &_qstring);
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_iconSet__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet()), "org.trinitydesktop.qt.TQIconSet", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group)), "org.trinitydesktop.qt.TQIconSet", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group, (int) size)), "org.trinitydesktop.qt.TQIconSet", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_icon(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->icon();
	return QtSupport::fromTQString(env, &_qstring);
}

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

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

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

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

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

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEAction_tdeaccelCount(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->tdeaccelCount();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEShortcut_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static TQString* _qstring_text = 0;
static TQString* _qstring_pix = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) 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_trinitydesktop_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEShortcut_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static TQString* _qstring_text = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) 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_trinitydesktop_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_trinitydesktop_qt_QIconSet_2Lorg_trinitydesktop_koala_TDEShortcut_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static TQString* _qstring_text = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) 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_trinitydesktop_koala_TDEAction_newTDEAction__Lorg_trinitydesktop_koala_KGuiItem_2Lorg_trinitydesktop_koala_TDEShortcut_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) 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_trinitydesktop_koala_TDEAction_parentCollection(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.trinitydesktop.koala.TDEActionCollection");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_plainText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->plainText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w)
{
	((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((TQWidget*) QtSupport::getQt(env, w));
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_popupMenu(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_popupMenu((int) index), "org.trinitydesktop.qt.TQPopupMenu");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_representative(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setDisabled(JNIEnv* env, jobject obj, jboolean disable)
{
	((TDEAction*) QtSupport::getQt(env, obj))->setDisabled((bool) disable);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setGroup(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setIcon(JNIEnv* env, jobject obj, jstring icon)
{
static TQString* _qstring_icon = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setShortcutText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((TDEAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_shortcutDefault(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.trinitydesktop.koala.TDEShortcut");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_shortcutText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->shortcutText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_shortcut(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcut(), "org.trinitydesktop.koala.TDEShortcut");
	return xret;
}

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_statusText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->statusText();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_text(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEAction_toolBar(JNIEnv* env, jobject obj, jint index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.trinitydesktop.koala.TDEToolBar");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_toolTip(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->toolTip();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAction_unplug(JNIEnv* env, jobject obj, jobject w)
{
	((TDEAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w));
	return;
}

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

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

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

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

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_whatsThisWithIcon(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEAction_whatsThis(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEAction*) QtSupport::getQt(env, obj))->whatsThis();
	return QtSupport::fromTQString(env, &_qstring);
}

