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

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

class QUrlOperatorJBridge : public QUrlOperator
{
public:
	QUrlOperatorJBridge() : QUrlOperator() {};
	QUrlOperatorJBridge(const QString& arg1) : QUrlOperator(arg1) {};
	QUrlOperatorJBridge(const QUrlOperator& arg1) : QUrlOperator(arg1) {};
	QUrlOperatorJBridge(const QUrlOperator& arg1,const QString& arg2,bool arg3) : QUrlOperator(arg1,arg2,arg3) {};
	QUrlOperatorJBridge(const QUrlOperator& arg1,const QString& arg2) : QUrlOperator(arg1,arg2) {};
	void public_stop() {
		QUrlOperator::stop();
		return;
	}
	void protected_reset() {
		QUrlOperator::reset();
		return;
	}
	bool protected_parse(const QString& arg1) {
		return (bool) QUrlOperator::parse(arg1);
	}
	bool protected_checkValid() {
		return (bool) QUrlOperator::checkValid();
	}
	void protected_clearEntries() {
		QUrlOperator::clearEntries();
		return;
	}
	void protected_getNetworkProtocol() {
		QUrlOperator::getNetworkProtocol();
		return;
	}
	void protected_deleteNetworkProtocol() {
		QUrlOperator::deleteNetworkProtocol();
		return;
	}
	~QUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);}
	void clearEntries() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QUrlOperator","clearEntries")) {
			QUrlOperator::clearEntries();
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	bool checkValid() {
		return QtSupport::booleanDelegate(this,"checkValid");
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QUrlOperator",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	void stop() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QUrlOperator","stop")) {
			QUrlOperator::stop();
		}
		return;
	}
	bool cdUp() {
		return QtSupport::booleanDelegate(this,"cdUp");
	}
};

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray files, jstring dest)
{
static QStringList* _qlist_files = 0;
static QString* _qstring_dest = 0;
	((QUrlOperator*) QtSupport::getQt(env, obj))->copy((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, files, &_qlist_files), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_copy___3Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray files, jstring dest, jboolean move)
{
static QStringList* _qlist_files = 0;
static QString* _qstring_dest = 0;
	((QUrlOperator*) QtSupport::getQt(env, obj))->copy((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, files, &_qlist_files), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (bool) move);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_decode(JNIEnv* env, jclass cls, jobject url)
{
	(void) cls;
static QString* _qstring_url = 0;
	QUrlOperatorJBridge::decode((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url));
	QtSupport::fromQStringToStringBuffer(env, _qstring_url, url);
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_dirPath(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->dirPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QUrlOperator_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_encode(JNIEnv* env, jclass cls, jobject url)
{
	(void) cls;
static QString* _qstring_url = 0;
	QUrlOperatorJBridge::encode((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url));
	QtSupport::fromQStringToStringBuffer(env, _qstring_url, url);
	return;
}

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_get__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->get(), "org.kde.qt.QNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring location)
{
static QString* _qstring_location = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->get((const QString&)*(QString*) QtSupport::toQString(env, location, &_qstring_location)), "org.kde.qt.QNetworkOperation");
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlOperator_hasPassword(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->hasPassword();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlOperator_hasPort(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->hasPort();
	return xret;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_info(JNIEnv* env, jobject obj, jstring entry)
{
static QString* _qstring_entry = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QUrlInfo(((QUrlOperator*) QtSupport::getQt(env, obj))->info((const QString&)*(QString*) QtSupport::toQString(env, entry, &_qstring_entry))), "org.kde.qt.QUrlInfo", TRUE);
	return xret;
}

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlOperator_isRelativeUrl(JNIEnv* env, jclass cls, jstring url)
{
	(void) cls;
static QString* _qstring_url = 0;
	jboolean xret = (jboolean) QUrlOperatorJBridge::isRelativeUrl((const QString&)*(QString*) QtSupport::toQString(env, url, &_qstring_url));
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_listChildren(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->listChildren(), "org.kde.qt.QNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_mkdir(JNIEnv* env, jobject obj, jstring dirname)
{
static QString* _qstring_dirname = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->mkdir((const QString&)*(QString*) QtSupport::toQString(env, dirname, &_qstring_dirname)), "org.kde.qt.QNetworkOperation");
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_newQUrlOperator__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 QUrlOperatorJBridge((const QString&)*(QString*) QtSupport::toQString(env, urL, &_qstring_urL)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl)
{
static QString* _qstring_relUrl = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlOperatorJBridge((const QUrlOperator&)*(const QUrlOperator*) QtSupport::getQt(env, url), (const QString&)*(QString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash)
{
static QString* _qstring_relUrl = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QUrlOperatorJBridge((const QUrlOperator&)*(const QUrlOperator*) QtSupport::getQt(env, url), (const QString&)*(QString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlOperator_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static QString* _qstring_url = 0;
	jboolean xret = (jboolean) ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->operator==((const QString&)*(QString*) QtSupport::toQString(env, url, &_qstring_url));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QUrlOperator_parse(JNIEnv* env, jobject obj, jstring url)
{
static QString* _qstring_url = 0;
	jboolean xret = (jboolean) ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const QString&)*(QString*) QtSupport::toQString(env, url, &_qstring_url));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_password(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->password();
	return QtSupport::fromQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_path__Z(JNIEnv* env, jobject obj, jboolean correct)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->path((bool) correct);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QUrlOperator_port(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->port();
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_put___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
static QByteArray* _qbyteArray_data = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->put((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)), "org.kde.qt.QNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_put___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring location)
{
static QByteArray* _qbyteArray_data = 0;
static QString* _qstring_location = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->put((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (const QString&)*(QString*) QtSupport::toQString(env, location, &_qstring_location)), "org.kde.qt.QNetworkOperation");
	return xret;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_remove(JNIEnv* env, jobject obj, jstring filename)
{
static QString* _qstring_filename = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->remove((const QString&)*(QString*) QtSupport::toQString(env, filename, &_qstring_filename)), "org.kde.qt.QNetworkOperation");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QUrlOperator_rename(JNIEnv* env, jobject obj, jstring oldname, jstring newname)
{
static QString* _qstring_oldname = 0;
static QString* _qstring_newname = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QUrlOperator*) QtSupport::getQt(env, obj))->rename((const QString&)*(QString*) QtSupport::toQString(env, oldname, &_qstring_oldname), (const QString&)*(QString*) QtSupport::toQString(env, newname, &_qstring_newname)), "org.kde.qt.QNetworkOperation");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setEncodedPathAndQuery(JNIEnv* env, jobject obj, jstring enc)
{
static QString* _qstring_enc = 0;
	((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const QString&)*(QString*) QtSupport::toQString(env, enc, &_qstring_enc));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setHost(JNIEnv* env, jobject obj, jstring user)
{
static QString* _qstring_user = 0;
	((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->setHost((const QString&)*(QString*) QtSupport::toQString(env, user, &_qstring_user));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setNameFilter(JNIEnv* env, jobject obj, jstring nameFilter)
{
static QString* _qstring_nameFilter = 0;
	((QUrlOperator*) QtSupport::getQt(env, obj))->setNameFilter((const QString&)*(QString*) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setPassword(JNIEnv* env, jobject obj, jstring pass)
{
static QString* _qstring_pass = 0;
	((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->setPassword((const QString&)*(QString*) QtSupport::toQString(env, pass, &_qstring_pass));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setProtocol(JNIEnv* env, jobject obj, jstring protocol)
{
static QString* _qstring_protocol = 0;
	((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->setProtocol((const QString&)*(QString*) QtSupport::toQString(env, protocol, &_qstring_protocol));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QUrlOperator_setUser(JNIEnv* env, jobject obj, jstring user)
{
static QString* _qstring_user = 0;
	((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->setUser((const QString&)*(QString*) QtSupport::toQString(env, user, &_qstring_user));
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_toString__(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->toString();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_toString__Z(JNIEnv* env, jobject obj, jboolean encodedPath)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_toString__ZZ(JNIEnv* env, jobject obj, jboolean encodedPath, jboolean forcePrependProtocol)
{
	QString  _qstring;
	_qstring = ((QUrl*)(QUrlOperator*) QtSupport::getQt(env, obj))->toString((bool) encodedPath, (bool) forcePrependProtocol);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QUrlOperator_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

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

