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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Decode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Decode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Decode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Decode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean insertLFs)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) insertLFs);
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean insertLFs)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) insertLFs);
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_base64Encode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean insertLFs)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) insertLFs);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableDecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableDecode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableDecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean useCRLF)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) useCRLF);
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableEncode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableEncode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean useCRLF)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) useCRLF);
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_quotedPrintableEncode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean useCRLF)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) useCRLF);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_uudecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::uudecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_uudecode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_uudecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_uuencode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	TQCString  _qstring;
	(void) cls;
static TQCString* _qcstring_str = 0;
	_qstring = KCodecs::uuencode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KCodecs_uuencode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	TQCString  _qstring;
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCodecs_uuencode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static TQByteArray* _qbyteArray_in = 0;
static TQByteArray* _qbyteArray_out = 0;
	KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out));
	return;
}

