//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeactionclasses.h>
#include <tdeshortcut.h>

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

class TDEToggleFullScreenActionJBridge : public TDEToggleFullScreenAction
{
public:
	TDEToggleFullScreenActionJBridge(const TDEShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : TDEToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) {
		return (bool) TDEToggleFullScreenAction::eventFilter(arg1,arg2);
	}
	~TDEToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);}
	void activate() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEToggleFullScreenAction","activate")) {
			TDEAction::activate();
		}
		return;
	}
	void unplug(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TDEAction::unplug(arg1);
		}
		return;
	}
	bool hasIcon() {
		return QtSupport::booleanDelegate(this,"hasIcon");
	}
	void slotKeycodeChanged() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEToggleFullScreenAction","slotKeycodeChanged")) {
			TDEAction::slotKeycodeChanged();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void setIconSet(const TQIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.trinitydesktop.qt.TQIconSet")) {
			TDEAction::setIconSet(arg1);
		}
		return;
	}
	bool isEnabled() {
		return QtSupport::booleanDelegate(this,"isEnabled");
	}
	void slotDestroyed() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEToggleFullScreenAction","slotDestroyed")) {
			TDEAction::slotDestroyed();
		}
		return;
	}
	void slotActivated() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEToggleFullScreenAction","slotActivated")) {
			TDEToggleAction::slotActivated();
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	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 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");
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.TDEToggleFullScreenAction",object,event)) {
			return TDEToggleFullScreenAction::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_finalize(env, obj);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e)
{
	jboolean xret = (jboolean) ((TDEToggleFullScreenActionJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e));
	return xret;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction(JNIEnv* env, jobject obj, jobject cut, jobject receiver, jstring slot, jobject parent, jobject window, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEToggleFullScreenActionJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEToggleFullScreenAction_setWindow(JNIEnv* env, jobject obj, jobject window)
{
	((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window));
	return;
}

