//Auto-generated by kalyptus. DO NOT EDIT.
#include <kactionclasses.h>
#include <kshortcut.h>

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

class KToggleFullScreenActionJBridge : public KToggleFullScreenAction
{
public:
	KToggleFullScreenActionJBridge(const KShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : KToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) {
		return (bool) KToggleFullScreenAction::eventFilter(arg1,arg2);
	}
	~KToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);}
	void activate() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","activate")) {
			KAction::activate();
		}
		return;
	}
	void unplug(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) {
			KAction::unplug(arg1);
		}
		return;
	}
	bool hasIcon() {
		return QtSupport::booleanDelegate(this,"hasIcon");
	}
	void slotKeycodeChanged() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotKeycodeChanged")) {
			KAction::slotKeycodeChanged();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void setIconSet(const TQIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) {
			KAction::setIconSet(arg1);
		}
		return;
	}
	bool isEnabled() {
		return QtSupport::booleanDelegate(this,"isEnabled");
	}
	void slotDestroyed() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotDestroyed")) {
			KAction::slotDestroyed();
		}
		return;
	}
	void slotActivated() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KToggleFullScreenAction","slotActivated")) {
			KToggleAction::slotActivated();
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool isShortcutConfigurable() {
		return QtSupport::booleanDelegate(this,"isShortcutConfigurable");
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KToggleFullScreenAction",object,event)) {
			return KToggleFullScreenAction::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KToggleFullScreenAction_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KToggleFullScreenAction_finalize(env, obj);
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KToggleFullScreenAction_newKToggleFullScreenAction(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 KToggleFullScreenActionJBridge((const KShortcut&)*(const KShortcut*) 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_kde_koala_KToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1)
{
	((KToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1);
	return;
}

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

