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

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

class KURLJBridge : public KURL
{
public:
	KURLJBridge() : KURL() {};
	KURLJBridge(const TQString& arg1,int arg2) : KURL(arg1,arg2) {};
	KURLJBridge(const TQString& arg1) : KURL(arg1) {};
	KURLJBridge(const KURL& arg1) : KURL(arg1) {};
	KURLJBridge(const TQUrl& arg1) : KURL(arg1) {};
	KURLJBridge(const KURL& arg1,const TQString& arg2,int arg3) : KURL(arg1,arg2,arg3) {};
	KURLJBridge(const KURL& arg1,const TQString& arg2) : KURL(arg1,arg2) {};
	void protected_reset() {
		KURL::reset();
		return;
	}
	void protected_parseURL(const TQString& arg1,int arg2) {
		KURL::parseURL(arg1,arg2);
		return;
	}
	void protected_parseURL(const TQString& arg1) {
		KURL::parseURL(arg1);
		return;
	}
	void protected_parseRawURI(const TQString& arg1,int arg2) {
		KURL::parseRawURI(arg1,arg2);
		return;
	}
	void protected_parseRawURI(const TQString& arg1) {
		KURL::parseRawURI(arg1);
		return;
	}
	void protected_parseMailto(const TQString& arg1,int arg2) {
		KURL::parseMailto(arg1,arg2);
		return;
	}
	void protected_parseMailto(const TQString& arg1) {
		KURL::parseMailto(arg1);
		return;
	}
	void protected_parse(const TQString& arg1,int arg2) {
		KURL::parse(arg1,arg2);
		return;
	}
	void protected_parse(const TQString& arg1) {
		KURL::parse(arg1);
		return;
	}
	~KURLJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _item, jstring _value)
{
static TQString* _qstring__item = 0;
static TQString* _qstring__value = 0;
	((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _item, jstring _value, jint encoding_hint)
{
static TQString* _qstring__item = 0;
static TQString* _qstring__value = 0;
	((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_adjustPath(JNIEnv* env, jobject obj, jint _trailing)
{
	((KURL*) QtSupport::getQt(env, obj))->adjustPath((int) _trailing);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_cd(JNIEnv* env, jobject obj, jstring _dir)
{
static TQString* _qstring__dir = 0;
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, _dir, &_qstring__dir));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_cleanPath__(JNIEnv* env, jobject obj)
{
	((KURL*) QtSupport::getQt(env, obj))->cleanPath();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_cleanPath__Z(JNIEnv* env, jobject obj, jboolean cleanDirSeparator)
{
	((KURL*) QtSupport::getQt(env, obj))->cleanPath((bool) cleanDirSeparator);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_decode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_decode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_directory__Z(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_directory__ZZ(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result, jboolean _ignore_trailing_slash_in_path)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result, (bool) _ignore_trailing_slash_in_path);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KURL_finalize(env, obj);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encodedPathAndQuery__I(JNIEnv* env, jobject obj, jint _trailing)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encodedPathAndQuery__IZ(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_encodedPathAndQuery__IZI(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path, jint encoding_hint)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path, (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_equals__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject u)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_equals__Lorg_trinitydesktop_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject u, jboolean ignore_trailing)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u), (bool) ignore_trailing);
	return xret;
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_fileName__Z(JNIEnv* env, jobject obj, jboolean _ignore_trailing_slash_in_path)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->fileName((bool) _ignore_trailing_slash_in_path);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (KURL*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURL_fromPathOrURL(JNIEnv* env, jclass cls, jstring text)
{
	(void) cls;
static TQString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::fromPathOrURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.trinitydesktop.koala.KURL", true);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_hasHTMLRef(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasHTMLRef();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_hasPass(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasPass();
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_hasSubURL(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasSubURL();
	return xret;
}

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

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_isEmpty(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isEmpty();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_isParentOf(JNIEnv* env, jobject obj, jobject u)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isParentOf((const KURL&)*(const KURL*) QtSupport::getQt(env, u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_isRelativeURL(JNIEnv* env, jclass cls, jstring _url)
{
	(void) cls;
static TQString* _qstring__url = 0;
	jboolean xret = (jboolean) KURLJBridge::isRelativeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURL_join(JNIEnv* env, jclass cls, jobjectArray _list)
{
	(void) cls;
static KURL::List* _qlist__list = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::join((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _list, &_qlist__list))), "org.trinitydesktop.koala.KURL", true);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__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 KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring url, jint encoding_hint)
{
static TQString* _qstring_url = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) encoding_hint));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject u)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, u)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__Lorg_trinitydesktop_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url)
{
static TQString* _qstring__rel_url = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__Lorg_trinitydesktop_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url, jint encoding_hint)
{
static TQString* _qstring__rel_url = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url), (int) encoding_hint));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_newKURL__Lorg_trinitydesktop_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject u)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, u)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u)
{
static TQString* _qstring__u = 0;
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_op_1equals__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const KURL&)*(const KURL*) QtSupport::getQt(env, _u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_op_1lt(JNIEnv* env, jobject obj, jobject _u)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator<((const KURL&)*(const KURL*) QtSupport::getQt(env, _u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_op_1not_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u)
{
static TQString* _qstring__u = 0;
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURL_op_1not_1equals__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u)
{
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const KURL&)*(const KURL*) QtSupport::getQt(env, _u));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseMailto__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseMailto__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseRawURI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseRawURI__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parseURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parse__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_parse__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint)
{
static TQString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint);
	return;
}

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

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_path__I(JNIEnv* env, jobject obj, jint _trailing)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->path((int) _trailing);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jshort JNICALL
Java_org_trinitydesktop_koala_KURL_port(JNIEnv* env, jobject obj)
{
	jshort xret = (jshort) ((KURL*) QtSupport::getQt(env, obj))->port();
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_prettyURL__I(JNIEnv* env, jobject obj, jint _trailing)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_prettyURL__II(JNIEnv* env, jobject obj, jint _trailing, jint _flags)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing, (KURL::AdjustementFlags) _flags);
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_queryItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item)
{
	TQString  _qstring;
static TQString* _qstring_item = 0;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_queryItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring item, jint encoding_hint)
{
	TQString  _qstring;
static TQString* _qstring_item = 0;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base_dir, jstring path)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_base_dir = 0;
static TQString* _qstring_path = 0;
	_qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring base_dir, jstring path, jbooleanArray isParent)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_base_dir = 0;
static TQString* _qstring_path = 0;
	bool* _bool_isParent = QtSupport::toBooleanPtr(env, isParent);
	_qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path),  (bool*) _bool_isParent);
	env->SetBooleanArrayRegion(isParent, 0, 1, (jboolean*) _bool_isParent);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_relativeURL__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jclass cls, jobject base_url, jobject url)
{
	TQString  _qstring;
	(void) cls;
	_qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_relativeURL__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jclass cls, jobject base_url, jobject url, jint encoding_hint)
{
	TQString  _qstring;
	(void) cls;
	_qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_removeQueryItem(JNIEnv* env, jobject obj, jstring _item)
{
static TQString* _qstring__item = 0;
	((KURL*) QtSupport::getQt(env, obj))->removeQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setDirectory(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
	((KURL*) QtSupport::getQt(env, obj))->setDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setEncodedPath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setEncodedPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setFileEncoding(JNIEnv* env, jobject obj, jstring encoding)
{
static TQString* _qstring_encoding = 0;
	((KURL*) QtSupport::getQt(env, obj))->setFileEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, encoding, &_qstring_encoding));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setFileName(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setHTMLRef(JNIEnv* env, jobject obj, jstring _ref)
{
static TQString* _qstring__ref = 0;
	((KURL*) QtSupport::getQt(env, obj))->setHTMLRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _ref, &_qstring__ref));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setHost(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setPass(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setPass((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setPort(JNIEnv* env, jobject obj, jshort _p)
{
	((KURL*) QtSupport::getQt(env, obj))->setPort((unsigned short int) _p);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setProtocol(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setRef(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURL_setUser(JNIEnv* env, jobject obj, jstring _txt)
{
static TQString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURL_split__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _url)
{
	KURL::List  _qlist;
	(void) cls;
static TQString* _qstring__url = 0;
	_qlist = KURLJBridge::split((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURL_split__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url)
{
	KURL::List  _qlist;
	(void) cls;
	_qlist = KURLJBridge::split((const KURL&)*(const KURL*) QtSupport::getQt(env, _url));
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURL_upURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURL*) QtSupport::getQt(env, obj))->upURL()), "org.trinitydesktop.koala.KURL", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KURL_uriModeForProtocol(JNIEnv* env, jclass cls, jstring protocol)
{
	(void) cls;
static TQString* _qstring_protocol = 0;
	jint xret = (jint) KURLJBridge::uriModeForProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KURL_uriMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KURL*) QtSupport::getQt(env, obj))->uriMode();
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_url__I(JNIEnv* env, jobject obj, jint _trailing)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KURL_url__II(JNIEnv* env, jobject obj, jint _trailing, jint encoding_hint)
{
	TQString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing, (int) encoding_hint);
	return QtSupport::fromTQString(env, &_qstring);
}

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

