//Auto-generated by kalyptus. DO NOT EDIT.
#include <kdatatool.h>
#include <tqstring.h>

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

class KDataToolActionJBridge : public KDataToolAction
{
public:
	KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4,const char* arg5) : KDataToolAction(arg1,arg2,arg3,arg4,arg5) {};
	KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4) : KDataToolAction(arg1,arg2,arg3,arg4) {};
	KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3) : KDataToolAction(arg1,arg2,arg3) {};
	void protected_slotActivated() {
		KDataToolAction::slotActivated();
		return;
	}
	~KDataToolActionJBridge() {QtSupport::qtKeyDeleted(this);}
	void activate() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KDataToolAction","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.KDataToolAction","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.KDataToolAction","slotDestroyed")) {
			TDEAction::slotDestroyed();
		}
		return;
	}
	void slotActivated() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KDataToolAction","slotActivated")) {
			KDataToolAction::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.KDataToolAction",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KDataToolAction_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KDataToolAction_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_trinitydesktop_koala_KDataToolInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command)
{
static TQString* _qstring_text = 0;
static TQString* _qstring_command = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_trinitydesktop_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent)
{
static TQString* _qstring_text = 0;
static TQString* _qstring_command = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_trinitydesktop_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent, jstring name)
{
static TQString* _qstring_text = 0;
static TQString* _qstring_command = 0;
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) 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_KDataToolAction_slotActivated(JNIEnv* env, jobject obj)
{
	((KDataToolActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated();
	return;
}

