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

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

class TQLocalFsJBridge : public TQLocalFs
{
public:
	TQLocalFsJBridge() : TQLocalFs() {};
	void protected_operationListChildren(TQNetworkOperation* arg1) {
		TQLocalFs::operationListChildren(arg1);
		return;
	}
	void protected_operationMkDir(TQNetworkOperation* arg1) {
		TQLocalFs::operationMkDir(arg1);
		return;
	}
	void protected_operationRemove(TQNetworkOperation* arg1) {
		TQLocalFs::operationRemove(arg1);
		return;
	}
	void protected_operationRename(TQNetworkOperation* arg1) {
		TQLocalFs::operationRename(arg1);
		return;
	}
	void protected_operationGet(TQNetworkOperation* arg1) {
		TQLocalFs::operationGet(arg1);
		return;
	}
	void protected_operationPut(TQNetworkOperation* arg1) {
		TQLocalFs::operationPut(arg1);
		return;
	}
	~TQLocalFsJBridge() {QtSupport::qtKeyDeleted(this);}
	void operationRename(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationRename(arg1);
		}
		return;
	}
	void operationPutChunk(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQNetworkProtocol::operationPutChunk(arg1);
		}
		return;
	}
	void processOperation(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQNetworkProtocol::processOperation(arg1);
		}
		return;
	}
	void operationGet(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationGet(arg1);
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void operationPut(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationPut(arg1);
		}
		return;
	}
	void operationListChildren(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationListChildren(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void operationRemove(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationRemove(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 addOperation(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQNetworkProtocol::addOperation(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void clearOperationQueue() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQLocalFs","clearOperationQueue")) {
			TQNetworkProtocol::clearOperationQueue();
		}
		return;
	}
	void operationMkDir(TQNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.trinitydesktop.qt.TQNetworkOperation")) {
			TQLocalFs::operationMkDir(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.qt.TQLocalFs",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
	void stop() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQLocalFs","stop")) {
			TQNetworkProtocol::stop();
		}
		return;
	}
	void setUrl(TQUrlOperator* arg1) {
		if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.trinitydesktop.qt.TQUrlOperator")) {
			TQNetworkProtocol::setUrl(arg1);
		}
		return;
	}
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QLocalFs_finalize(env, obj);
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationGet(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationListChildren(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationMkDir(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationPut(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationRemove(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLocalFs_operationRename(JNIEnv* env, jobject obj, jobject op)
{
	((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QLocalFs_supportedOperations(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQLocalFs*) QtSupport::getQt(env, obj))->supportedOperations();
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QLocalFs_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 = TQLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

