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

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

class QHttpJBridge : public QHttp
{
public:
	QHttpJBridge() : QHttp() {};
	QHttpJBridge(QObject* arg1,const char* arg2) : QHttp(arg1,arg2) {};
	QHttpJBridge(QObject* arg1) : QHttp(arg1) {};
	QHttpJBridge(const QString& arg1,Q_UINT16 arg2,QObject* arg3,const char* arg4) : QHttp(arg1,arg2,arg3,arg4) {};
	QHttpJBridge(const QString& arg1,Q_UINT16 arg2,QObject* arg3) : QHttp(arg1,arg2,arg3) {};
	QHttpJBridge(const QString& arg1,Q_UINT16 arg2) : QHttp(arg1,arg2) {};
	QHttpJBridge(const QString& arg1) : QHttp(arg1) {};
	void protected_operationGet(QNetworkOperation* arg1) {
		QHttp::operationGet(arg1);
		return;
	}
	void protected_operationPut(QNetworkOperation* arg1) {
		QHttp::operationPut(arg1);
		return;
	}
	void protected_timerEvent(QTimerEvent* arg1) {
		QHttp::timerEvent(arg1);
		return;
	}
	~QHttpJBridge() {QtSupport::qtKeyDeleted(this);}
	void operationRename(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::operationRename(arg1);
		}
		return;
	}
	void operationPutChunk(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::operationPutChunk(arg1);
		}
		return;
	}
	void processOperation(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::processOperation(arg1);
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void operationListChildren(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::operationListChildren(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void operationRemove(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::operationRemove(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QHttp::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void addOperation(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::addOperation(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	void clearOperationQueue() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QHttp","clearOperationQueue")) {
			QNetworkProtocol::clearOperationQueue();
		}
		return;
	}
	void operationMkDir(QNetworkOperation* arg1) {
		if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.QNetworkOperation")) {
			QNetworkProtocol::operationMkDir(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QHttp",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	void stop() {
		if (!QtSupport::voidDelegate(this,"org.kde.qt.QHttp","stop")) {
			QNetworkProtocol::stop();
		}
		return;
	}
	void setUrl(QUrlOperator* arg1) {
		if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.QUrlOperator")) {
			QNetworkProtocol::setUrl(arg1);
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_abort(JNIEnv* env, jobject obj)
{
	((QHttp*) QtSupport::getQt(env, obj))->abort();
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QHttp_bytesAvailable(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((QHttp*) QtSupport::getQt(env, obj))->bytesAvailable();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_clearPendingRequests(JNIEnv* env, jobject obj)
{
	((QHttp*) QtSupport::getQt(env, obj))->clearPendingRequests();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_closeConnection(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->closeConnection();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QHttp_currentDestinationDevice(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QHttp*) QtSupport::getQt(env, obj))->currentDestinationDevice(), "org.kde.qt.QIODeviceInterface");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_currentId(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->currentId();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QHttp_currentRequest(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QHttpRequestHeader(((QHttp*) QtSupport::getQt(env, obj))->currentRequest()), "org.kde.qt.QHttpRequestHeader", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QHttp_currentSourceDevice(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QHttp*) QtSupport::getQt(env, obj))->currentSourceDevice(), "org.kde.qt.QIODeviceInterface");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QHttp_finalize(env, obj);
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_error(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->error();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_get__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path)
{
static QString* _qstring_path = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->get((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_get__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject to)
{
static QString* _qstring_path = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->get((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (QIODevice*) QtSupport::getQt(env, to));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QHttp_hasPendingRequests(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QHttp*) QtSupport::getQt(env, obj))->hasPendingRequests();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_head(JNIEnv* env, jobject obj, jstring path)
{
static QString* _qstring_path = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->head((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path));
	return xret;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QHttpJBridge((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port)
{
static QString* _qstring_hostname = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QHttpJBridge((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent)
{
static QString* _qstring_hostname = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QHttpJBridge((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (QObject*) QtSupport::getQt(env, parent)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent, jstring name)
{
static QString* _qstring_hostname = 0;
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QHttpJBridge((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (QObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_newQHttp__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QHttpJBridge((QObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_operationGet(JNIEnv* env, jobject obj, jobject op)
{
	((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((QNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_operationPut(JNIEnv* env, jobject obj, jobject op)
{
	((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((QNetworkOperation*) QtSupport::getQt(env, op));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data)
{
static QString* _qstring_path = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->post((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (QIODevice*) QtSupport::getQt(env, data));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_post__Ljava_lang_String_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jobject data, jobject to)
{
static QString* _qstring_path = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->post((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (QIODevice*) QtSupport::getQt(env, data), (QIODevice*) QtSupport::getQt(env, to));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring path, jbyteArray data)
{
static QString* _qstring_path = 0;
static QByteArray* _qbyteArray_data = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->post((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_post__Ljava_lang_String_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jstring path, jbyteArray data, jobject to)
{
static QString* _qstring_path = 0;
static QByteArray* _qbyteArray_data = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->post((const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QIODevice*) QtSupport::getQt(env, to));
	return xret;
}

JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QHttp_readAll(JNIEnv* env, jobject obj)
{
	QByteArray _qbyteArray;
	_qbyteArray = ((QHttp*) QtSupport::getQt(env, obj))->readAll();
	return QtSupport::fromQByteArray(env, &_qbyteArray);
}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QHttp_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen)
{
static QCString* _qstring_data = 0;
	if (_qstring_data == 0) { _qstring_data = new QCString(); }
	_qstring_data->resize((uint) maxlen);
	jlong xret = (jlong) ((QHttp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen);
	QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->request((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->request((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header), (QIODevice*) QtSupport::getQt(env, device));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2Lorg_kde_qt_QIODeviceInterface_2Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jobject device, jobject to)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->request((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header), (QIODevice*) QtSupport::getQt(env, device), (QIODevice*) QtSupport::getQt(env, to));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3B(JNIEnv* env, jobject obj, jobject header, jbyteArray data)
{
static QByteArray* _qbyteArray_data = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->request((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_request__Lorg_kde_qt_QHttpRequestHeader_2_3BLorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject header, jbyteArray data, jobject to)
{
static QByteArray* _qbyteArray_data = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->request((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QIODevice*) QtSupport::getQt(env, to));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->setHost((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_setHost__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->setHost((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttp_state(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QHttp*) QtSupport::getQt(env, obj))->state();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QHttp_timerEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((QTimerEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

