//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqurl.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqurloperator.h>
#include <tqurlinfo.h>
#include <tqcstring.h>

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

class TQUrlOperatorJBridge : public TQUrlOperator
{
public:
	TQUrlOperatorJBridge() : TQUrlOperator() {};
	TQUrlOperatorJBridge(const TQString& arg1) : TQUrlOperator(arg1) {};
	TQUrlOperatorJBridge(const TQUrlOperator& arg1) : TQUrlOperator(arg1) {};
	TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2,bool arg3) : TQUrlOperator(arg1,arg2,arg3) {};
	TQUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlOperator(arg1,arg2) {};
	void public_stop() {
		TQUrlOperator::stop();
		return;
	}
	void protected_reset() {
		TQUrlOperator::reset();
		return;
	}
	bool protected_parse(const TQString& arg1) {
		return (bool) TQUrlOperator::parse(arg1);
	}
	bool protected_checkValid() {
		return (bool) TQUrlOperator::checkValid();
	}
	void protected_clearEntries() {
		TQUrlOperator::clearEntries();
		return;
	}
	void protected_getNetworkProtocol() {
		TQUrlOperator::getNetworkProtocol();
		return;
	}
	void protected_deleteNetworkProtocol() {
		TQUrlOperator::deleteNetworkProtocol();
		return;
	}
	~TQUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);}
	void clearEntries() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQUrlOperator","clearEntries")) {
			TQUrlOperator::clearEntries();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	bool checkValid() {
		return QtSupport::booleanDelegate(this,"checkValid");
	}
	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.TQUrlOperator",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	void stop() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQUrlOperator","stop")) {
			TQUrlOperator::stop();
		}
		return;
	}
	bool cdUp() {
		return QtSupport::booleanDelegate(this,"cdUp");
	}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_addPath(JNIEnv* env, jobject obj, jstring path)
{
static TQString* _qstring_path = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_cdUp(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->cdUp();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_checkValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkValid();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_clearEntries(JNIEnv* env, jobject obj)
{
	((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_clearEntries();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray files, jstring dest)
{
static TQStringList* _qlist_files = 0;
static TQString* _qstring_dest = 0;
	((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray files, jstring dest, jboolean move)
{
static TQStringList* _qlist_files = 0;
static TQString* _qstring_dest = 0;
	((TQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) move);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_decode(JNIEnv* env, jclass cls, jobject url)
{
	(void) cls;
static TQString* _qstring_url = 0;
	TQUrlOperatorJBridge::decode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_deleteNetworkProtocol(JNIEnv* env, jobject obj)
{
	((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_deleteNetworkProtocol();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_dirPath(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->dirPath();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QUrlOperator_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_encode(JNIEnv* env, jclass cls, jobject url)
{
	(void) cls;
static TQString* _qstring_url = 0;
	TQUrlOperatorJBridge::encode((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, url, &_qstring_url));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_url, url);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_encodedPathAndQuery(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->encodedPathAndQuery();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_fileName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->fileName();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_getNetworkProtocol(JNIEnv* env, jobject obj)
{
	((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_getNetworkProtocol();
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring location)
{
static TQString* _qstring_location = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->get((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasHost(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasHost();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasPassword(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPassword();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasPath(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPath();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasPort(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasPort();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasRef(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasRef();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_hasUser(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->hasUser();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_host(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->host();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_info(JNIEnv* env, jobject obj, jstring entry)
{
static TQString* _qstring_entry = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUrlInfo(((TQUrlOperator*) QtSupport::getQt(env, obj))->info((const TQString&)*(TQString*) QtSupport::toTQString(env, entry, &_qstring_entry))), "org.trinitydesktop.qt.TQUrlInfo", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_isDir__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_isDir___3Z(JNIEnv* env, jobject obj, jbooleanArray ok)
{
	bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
	jboolean xret = (jboolean) ((TQUrlOperator*) QtSupport::getQt(env, obj))->isDir( (bool*) _bool_ok);
	env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_isLocalFile(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isLocalFile();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_isRelativeUrl(JNIEnv* env, jclass cls, jstring url)
{
	(void) cls;
static TQString* _qstring_url = 0;
	jboolean xret = (jboolean) TQUrlOperatorJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_mkdir(JNIEnv* env, jobject obj, jstring dirname)
{
static TQString* _qstring_dirname = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_nameFilter(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->nameFilter();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_newTQUrlOperator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring urL)
{
static TQString* _qstring_urL = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, urL, &_qstring_urL)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_newTQUrlOperator__Lorg_trinitydesktop_qt_QUrlOperator_2(JNIEnv* env, jobject obj, jobject url)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_newTQUrlOperator__Lorg_trinitydesktop_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl)
{
static TQString* _qstring_relUrl = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_newTQUrlOperator__Lorg_trinitydesktop_qt_QUrlOperator_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash)
{
static TQString* _qstring_relUrl = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_op_1equals__Lorg_trinitydesktop_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url)
{
	jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_parse(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_password(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->password();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_path__(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_path__Z(JNIEnv* env, jobject obj, jboolean correct)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->path((bool) correct);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_port(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->port();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_protocol(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->protocol();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_put___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring location)
{
static TQByteArray* _qbyteArray_data = 0;
static TQString* _qstring_location = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->put((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_query(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->query();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_ref(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->ref();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_remove(JNIEnv* env, jobject obj, jstring filename)
{
static TQString* _qstring_filename = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname)
{
static TQString* _qstring_oldname = 0;
static TQString* _qstring_newname = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQUrlOperator*) QtSupport::getQt(env, obj))->rename((const TQString&)*(TQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toTQString(env, newname, &_qstring_newname)), "org.trinitydesktop.qt.TQNetworkOperation");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_reset(JNIEnv* env, jobject obj)
{
	((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_reset();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc)
{
static TQString* _qstring_enc = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, enc, &_qstring_enc));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setFileName(JNIEnv* env, jobject obj, jstring txt)
{
static TQString* _qstring_txt = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setHost(JNIEnv* env, jobject obj, jstring user)
{
static TQString* _qstring_user = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter)
{
static TQString* _qstring_nameFilter = 0;
	((TQUrlOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setPassword(JNIEnv* env, jobject obj, jstring pass)
{
static TQString* _qstring_pass = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setPath(JNIEnv* env, jobject obj, jstring path)
{
static TQString* _qstring_path = 0;
	((TQUrlOperator*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setPort(JNIEnv* env, jobject obj, jint port)
{
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setPort((int) port);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setProtocol(JNIEnv* env, jobject obj, jstring protocol)
{
static TQString* _qstring_protocol = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setQuery(JNIEnv* env, jobject obj, jstring txt)
{
static TQString* _qstring_txt = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setRef(JNIEnv* env, jobject obj, jstring txt)
{
static TQString* _qstring_txt = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_setUser(JNIEnv* env, jobject obj, jstring user)
{
static TQString* _qstring_user = 0;
	((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_stop(JNIEnv* env, jobject obj)
{
	((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->public_stop();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_toString__(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol);
	return QtSupport::fromTQString(env, &_qstring);
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QUrlOperator_user(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->user();
	return QtSupport::fromTQString(env, &_qstring);
}

