//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/global.h>
#include <tdeio/authinfo.h>
#include <tdeio/slavebase.h>
#include <tqstring.h>
#include <kurl.h>
#include <tqcstring.h>

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_canResume__(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_canResume__J(JNIEnv* env, jobject obj, jlong offset)
{
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume((TDEIO::filesize_t) offset);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_chmod(JNIEnv* env, jobject obj, jobject url, jint permissions)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_closeConnection(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->closeConnection();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_SlaveBase_config(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->config(), "org.trinitydesktop.koala.TDEConfigBase");
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_connectTimeout(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connectTimeout();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_connected(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connected();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_SlaveBase_connection(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connection(), "org.trinitydesktop.koala.Connection");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_copy(JNIEnv* env, jobject obj, jobject src, jobject dest, jint permissions, jboolean overwrite)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dataReq(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dataReq();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_data(JNIEnv* env, jobject obj, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->data((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dcopClient(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dcopClient(), "org.trinitydesktop.koala.DCOPClient");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_del(JNIEnv* env, jobject obj, jobject url, jboolean isfile)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->del((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) isfile);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_disconnectSlave(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->disconnectSlave();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dispatchLoop(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatchLoop();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dispatch__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dispatch__I_3B(JNIEnv* env, jobject obj, jint command, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch((int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dropNetwork__(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_dropNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host)
{
static TQString* _qstring_host = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_errorPage(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->errorPage();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_error(JNIEnv* env, jobject obj, jint _errid, jstring _text)
{
static TQString* _qstring__text = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->error((int) _errid, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_exit(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->exit();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_finished(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->finished();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_get(JNIEnv* env, jobject obj, jobject url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->get((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_hasMetaData(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->hasMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_infoMessage(JNIEnv* env, jobject obj, jstring msg)
{
static TQString* _qstring_msg = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->infoMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_listDir(JNIEnv* env, jobject obj, jobject url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_SlaveBase_metaData(JNIEnv* env, jobject obj, jstring key)
{
	TQString  _qstring;
static TQString* _qstring_key = 0;
	_qstring = ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->metaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_mimeType(JNIEnv* env, jobject obj, jstring _type)
{
static TQString* _qstring__type = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_mimetype(JNIEnv* env, jobject obj, jobject url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_mkdir(JNIEnv* env, jobject obj, jobject url, jint permissions)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_multiGet(JNIEnv* env, jobject obj, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->multiGet((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_needSubURLData(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->needSubURLData();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_openConnection(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openConnection();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_openPassDlg__Lorg_trinitydesktop_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info)
{
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_openPassDlg__Lorg_trinitydesktop_koala_AuthInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject info, jstring errorMsg)
{
static TQString* _qstring_errorMsg = 0;
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, errorMsg, &_qstring_errorMsg));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_processedPercent(JNIEnv* env, jobject obj, jfloat percent)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedPercent((float) percent);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_processedSize(JNIEnv* env, jobject obj, jlong _bytes)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedSize((TDEIO::filesize_t) _bytes);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_proxyConnectTimeout(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->proxyConnectTimeout();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_put(JNIEnv* env, jobject obj, jobject url, jint permissions, jboolean overwrite, jboolean resume)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_readData(JNIEnv* env, jobject obj, jbyteArray buffer)
{
static TQByteArray* _qbyteArray_buffer = 0;
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readData((TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buffer, &_qbyteArray_buffer));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_readTimeout(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readTimeout();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_redirection(JNIEnv* env, jobject obj, jobject _url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->redirection((const KURL&)*(const KURL*) QtSupport::getQt(env, _url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_rename(JNIEnv* env, jobject obj, jobject src, jobject dest, jboolean overwrite)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_reparseConfiguration(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->reparseConfiguration();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_requestNetwork__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_requestNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host)
{
static TQString* _qstring_host = 0;
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_responseTimeout(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->responseTimeout();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_sendMetaData(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->sendMetaData();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setConnection(JNIEnv* env, jobject obj, jobject connection)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setConnection((TDEIO::Connection*) QtSupport::getQt(env, connection));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setHost(JNIEnv* env, jobject obj, jstring host, jint port, jstring user, jstring pass)
{
static TQString* _qstring_host = 0;
static TQString* _qstring_user = 0;
static TQString* _qstring_pass = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setKillFlag(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setKillFlag();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setMetaData(JNIEnv* env, jobject obj, jstring key, jstring value)
{
static TQString* _qstring_key = 0;
static TQString* _qstring_value = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setSubURL(JNIEnv* env, jobject obj, jobject url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setSubURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setTimeoutSpecialCommand__I(JNIEnv* env, jobject obj, jint timeout)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_setTimeoutSpecialCommand__I_3B(JNIEnv* env, jobject obj, jint timeout, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_sigpipe_1handler(JNIEnv* env, jclass cls, jint arg1)
{
	(void) cls;
	(void) env;
	TDEIO::SlaveBase::sigpipe_handler((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_sigsegv_1handler(JNIEnv* env, jclass cls, jint arg1)
{
	(void) cls;
	(void) env;
	TDEIO::SlaveBase::sigsegv_handler((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_slaveStatus(JNIEnv* env, jobject obj, jstring host, jboolean connected)
{
static TQString* _qstring_host = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slaveStatus((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) connected);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_slave_1status(JNIEnv* env, jobject obj)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slave_status();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_special(JNIEnv* env, jobject obj, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->special((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_speed(JNIEnv* env, jobject obj, jlong _bytes_per_second)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->speed((unsigned long) _bytes_per_second);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_stat(JNIEnv* env, jobject obj, jobject url)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_symlink(JNIEnv* env, jobject obj, jstring target, jobject dest, jboolean overwrite)
{
static TQString* _qstring_target = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_totalSize(JNIEnv* env, jobject obj, jlong _bytes)
{
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->totalSize((TDEIO::filesize_t) _bytes);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_waitForAnswer__II_3B(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_SlaveBase_waitForAnswer__II_3B_3I(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data, jintArray pCmd)
{
static TQByteArray* _qbyteArray_data = 0;
	int* _int_pCmd = QtSupport::toIntPtr(env, pCmd);
	jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data),  (int*) _int_pCmd);
	env->SetIntArrayRegion(pCmd, 0, 1, (jint *) _int_pCmd);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_SlaveBase_warning(JNIEnv* env, jobject obj, jstring msg)
{
static TQString* _qstring_msg = 0;
	((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->warning((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_SlaveBase_wasKilled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->wasKilled();
	return xret;
}

