//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 QObject* arg2,const char* arg3,QObject* arg4,QWidget* arg5,const char* arg6) : KToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {};
	bool protected_eventFilter(QObject* arg1,QEvent* 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(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.QWidget")) {
			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(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void setIconSet(const QIconSet& arg1) {
		if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.QIconSet")) {
			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(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	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 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");
	}
	bool eventFilter(QObject* object,QEvent* 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((QObject*) QtSupport::getQt(env, o), (QEvent*) 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.QMetaObject");
	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 QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KToggleFullScreenActionJBridge((const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cut), (const QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (QObject*) QtSupport::getQt(env, parent), (QWidget*) 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((QWidget*) QtSupport::getQt(env, window));
	return;
}

