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

#include <qtjava/QtSupport.h>
#include <qtjava/TQObject.h>

class TQObjectJBridge : public TQObject
{
public:
	TQObjectJBridge(TQObject* arg1,const char* arg2) : TQObject(arg1,arg2) {};
	TQObjectJBridge(TQObject* arg1) : TQObject(arg1) {};
	TQObjectJBridge() : TQObject() {};
	bool protected_activate_filters(TQEvent* arg1) {
		return (bool) TQObject::activate_filters(arg1);
	}
	void protected_activate_signal(int arg1) {
		TQObject::activate_signal(arg1);
		return;
	}
	void protected_activate_signal(int arg1,int arg2) {
		TQObject::activate_signal(arg1,arg2);
		return;
	}
	void protected_activate_signal(int arg1,double arg2) {
		TQObject::activate_signal(arg1,arg2);
		return;
	}
	void protected_activate_signal(int arg1,TQString arg2) {
		TQObject::activate_signal(arg1,arg2);
		return;
	}
	void protected_activate_signal_bool(int arg1,bool arg2) {
		TQObject::activate_signal_bool(arg1,arg2);
		return;
	}
	const TQObject* protected_sender() {
		return (const TQObject*) TQObject::sender();
	}
	void protected_timerEvent(TQTimerEvent* arg1) {
		TQObject::timerEvent(arg1);
		return;
	}
	void protected_childEvent(TQChildEvent* arg1) {
		TQObject::childEvent(arg1);
		return;
	}
	void protected_customEvent(TQCustomEvent* arg1) {
		TQObject::customEvent(arg1);
		return;
	}
	void protected_connectNotify(const char* arg1) {
		TQObject::connectNotify(arg1);
		return;
	}
	void protected_disconnectNotify(const char* arg1) {
		TQObject::disconnectNotify(arg1);
		return;
	}
	bool protected_checkConnectArgs(const char* arg1,const TQObject* arg2,const char* arg3) {
		return (bool) TQObject::checkConnectArgs(arg1,arg2,arg3);
	}
	static TQCString protected_normalizeSignalSlot(const char* arg1) {
		return (TQCString) TQObject::normalizeSignalSlot(arg1);
	}
	~TQObjectJBridge() {QtSupport::qtKeyDeleted(this);}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		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 eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.qt.TQObject",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1filters(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_filters((TQEvent*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1signal_1bool(JNIEnv* env, jobject obj, jint signal, jboolean arg2)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal_bool((int) signal, (bool) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1signal__I(JNIEnv* env, jobject obj, jint signal)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1signal__ID(JNIEnv* env, jobject obj, jint signal, jdouble arg2)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (double) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1signal__II(JNIEnv* env, jobject obj, jint signal, jint arg2)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (int) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_activate_1signal__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint signal, jstring arg2)
{
static TQString* _qstring_arg2 = 0;
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_blockSignals(JNIEnv* env, jobject obj, jboolean b)
{
	((TQObject*) QtSupport::getQt(env, obj))->blockSignals((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_checkConnectArgs(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member)
{
static TQCString* _qstring_signal = 0;
	jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_checkConnectArgs((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_childEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_child__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName)
{
static TQCString* _qstring_objName = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass)
{
static TQCString* _qstring_objName = 0;
static TQCString* _qstring_inheritsClass = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_child__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring objName, jstring inheritsClass, jboolean recursiveSearch)
{
static TQCString* _qstring_objName = 0;
static TQCString* _qstring_inheritsClass = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (bool) recursiveSearch), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_children(JNIEnv* env, jobject obj)
{
	const TQObjectList*  _qlist;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->children();
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_connectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index)
{
	(void) cls;
	TQObjectJBridge::connectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_connectNotify(JNIEnv* env, jobject obj, jstring signal)
{
static TQCString* _qstring_signal = 0;
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_customEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_deleteLater(JNIEnv* env, jobject obj)
{
	((TQObject*) QtSupport::getQt(env, obj))->deleteLater();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnectInternal(JNIEnv* env, jclass cls, jobject sender, jint signal_index, jobject receiver, jint membcode, jint member_index)
{
	(void) cls;
	jboolean xret = (jboolean) TQObjectJBridge::disconnectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_disconnectNotify(JNIEnv* env, jobject obj, jstring signal)
{
static TQCString* _qstring_signal = 0;
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal)
{
static TQCString* _qstring_signal = 0;
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver)
{
static TQCString* _qstring_signal = 0;
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::getQt(env, receiver));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::getQt(env, receiver));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->disconnect((const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QObject_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_dumpObjectInfo(JNIEnv* env, jobject obj)
{
	((TQObject*) QtSupport::getQt(env, obj))->dumpObjectInfo();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_dumpObjectTree(JNIEnv* env, jobject obj)
{
	((TQObject*) QtSupport::getQt(env, obj))->dumpObjectTree();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_event(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, arg1));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_highPriority(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->highPriority();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_inherits(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qstring_arg1 = 0;
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_insertChild(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObject*) QtSupport::getQt(env, obj))->insertChild((TQObject*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_installEventFilter(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObject*) QtSupport::getQt(env, obj))->installEventFilter((const TQObject*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_isA(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qstring_arg1 = 0;
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isA((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_isWidgetType(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isWidgetType();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_killTimer(JNIEnv* env, jobject obj, jint id)
{
	((TQObject*) QtSupport::getQt(env, obj))->killTimer((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_killTimers(JNIEnv* env, jobject obj)
{
	((TQObject*) QtSupport::getQt(env, obj))->killTimers();
	return;
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QObject_name__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultName)
{
	const char* _qstring;
static TQCString* _qstring_defaultName = 0;
	_qstring = ((TQObject*) QtSupport::getQt(env, obj))->name((const char*) QtSupport::toCharString(env, defaultName, &_qstring_defaultName));
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_newTQObject__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQObjectJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_newTQObject__Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQObjectJBridge((TQObject*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_newTQObject__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQObjectJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QObject_normalizeSignalSlot(JNIEnv* env, jclass cls, jstring signalSlot)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qstring_signalSlot = 0;
	_qstring = TQObjectJBridge::protected_normalizeSignalSlot((const char*) QtSupport::toCharString(env, signalSlot, &_qstring_signalSlot));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_objectTrees(JNIEnv* env, jclass cls)
{
	const TQObjectList*  _qlist;
	(void) cls;
	_qlist = TQObjectJBridge::objectTrees();
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_property(JNIEnv* env, jobject obj, jstring name)
{
static TQCString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQObject*) QtSupport::getQt(env, obj))->property((const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.trinitydesktop.qt.TQVariant", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_queryList__(JNIEnv* env, jobject obj)
{
	TQObjectList*  _qlist;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList();
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_queryList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass)
{
	TQObjectList*  _qlist;
static TQCString* _qstring_inheritsClass = 0;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass));
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName)
{
	TQObjectList*  _qlist;
static TQCString* _qstring_inheritsClass = 0;
static TQCString* _qstring_objName = 0;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName));
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch)
{
	TQObjectList*  _qlist;
static TQCString* _qstring_inheritsClass = 0;
static TQCString* _qstring_objName = 0;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch);
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_queryList__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring inheritsClass, jstring objName, jboolean regexpMatch, jboolean recursiveSearch)
{
	TQObjectList*  _qlist;
static TQCString* _qstring_inheritsClass = 0;
static TQCString* _qstring_objName = 0;
	_qlist = ((TQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass), (const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (bool) regexpMatch, (bool) recursiveSearch);
	return (jobject) QtSupport::arrayWithTQObjectList(env, (TQObjectList*) _qlist);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QObject_registerUserData(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) TQObjectJBridge::registerUserData();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_removeChild(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObject*) QtSupport::getQt(env, obj))->removeChild((TQObject*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_removeEventFilter(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObject*) QtSupport::getQt(env, obj))->removeEventFilter((const TQObject*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QObject_sender(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_sender(), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_setName(JNIEnv* env, jobject obj, jstring name)
{
static TQCString* _qstring_name = 0;
	((TQObject*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_setProperty(JNIEnv* env, jobject obj, jstring name, jobject value)
{
static TQCString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->setProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_signalsBlocked(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->signalsBlocked();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QObject_startTimer(JNIEnv* env, jobject obj, jint interval)
{
	jint xret = (jint) ((TQObject*) QtSupport::getQt(env, obj))->startTimer((int) interval);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_timerEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
	_qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
	_qstring = TQObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_connect__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member)
{
	(void) cls;
	return (jboolean) QtSupport::connect(env, sender, signal, receiver, member);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_connect__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject sender, jstring signal, jstring member)
{
	return (jboolean) QtSupport::connect(env, sender, signal, obj, member);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member)
{
	(void) cls;
	return (jboolean) QtSupport::disconnect(env, sender, signal, receiver, member);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QObject_disconnect__Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring signal, jobject receiver, jstring member)
{
	return (jboolean) QtSupport::disconnect(env, obj, signal, receiver, member);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QObject_emit(JNIEnv* env, jobject obj, jstring signal, jobjectArray args)
{
	QtSupport::emitJavaSignal(env, obj, signal, args);
	return;
}
	
