//Auto-generated by kalyptus. DO NOT EDIT.
#include <qurl.h>
#include <qstring.h>
#include <kurl.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KURL.h>

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

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

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

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::decode_string((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::decode_string((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KURL_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KURL_finalize(env, obj);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string_no_slash((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string_no_slash((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_str = 0;
	_qstring = KURLJBridge::encode_string((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str), (int) encoding_hint);
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KURL_equals__Lorg_kde_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_kde_koala_KURL_equals__Lorg_kde_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_kde_koala_KURL_fileEncoding(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->fileEncoding();
	return QtSupport::fromQString(env, &_qstring);
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KURL_fromPathOrURL(JNIEnv* env, jclass cls, jstring text)
{
	(void) cls;
static QString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::fromPathOrURL((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text))), "org.kde.koala.KURL", TRUE);
	return xret;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_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_kde_koala_KURL_isRelativeURL(JNIEnv* env, jclass cls, jstring _url)
{
	(void) cls;
static QString* _qstring__url = 0;
	jboolean xret = (jboolean) KURLJBridge::isRelativeURL((const QString&)*(QString*) QtSupport::toQString(env, _url, &_qstring__url));
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_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.kde.koala.KURL", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KURL_newKURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static QString* _qstring_url = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURLJBridge((const QString&)*(QString*) QtSupport::toQString(env, url, &_qstring_url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KURL_newKURL__Lorg_kde_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_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url)
{
static QString* _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 QString&)*(QString*) QtSupport::toQString(env, _rel_url, &_qstring__rel_url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url, jint encoding_hint)
{
static QString* _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 QString&)*(QString*) QtSupport::toQString(env, _rel_url, &_qstring__rel_url), (int) encoding_hint));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KURL_op_1equals__Lorg_kde_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_kde_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_kde_koala_KURL_op_1not_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u)
{
static QString* _qstring__u = 0;
	jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const QString&)*(QString*) QtSupport::toQString(env, _u, &_qstring__u));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KURL_op_1not_1equals__Lorg_kde_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_kde_koala_KURL_parseMailto__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url)
{
static QString* _qstring__url = 0;
	((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const QString&)*(QString*) QtSupport::toQString(env, _url, &_qstring__url));
	return;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item)
{
	QString  _qstring;
static QString* _qstring_item = 0;
	_qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const QString&)*(QString*) QtSupport::toQString(env, item, &_qstring_item));
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base_dir, jstring path)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_base_dir = 0;
static QString* _qstring_path = 0;
	_qstring = KURLJBridge::relativePath((const QString&)*(QString*) QtSupport::toQString(env, base_dir, &_qstring_base_dir), (const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path));
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject base_url, jobject url)
{
	QString  _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::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject base_url, jobject url, jint encoding_hint)
{
	QString  _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::fromQString(env, &_qstring);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KURL_setProtocol(JNIEnv* env, jobject obj, jstring _txt)
{
static QString* _qstring__txt = 0;
	((KURL*) QtSupport::getQt(env, obj))->setProtocol((const QString&)*(QString*) QtSupport::toQString(env, _txt, &_qstring__txt));
	return;
}

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KURL_split__Lorg_kde_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_kde_koala_KURL_upURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURL*) QtSupport::getQt(env, obj))->upURL()), "org.kde.koala.KURL", TRUE);
	return xret;
}

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

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

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

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

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

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

