/***************************************************************************
                            KIO.cpp -  description
                             -------------------
    begin                : Fri Nov 15 11:45:52 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Fri Nov 15 11:45:52 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as published by*
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <kio/job.h>
#include <qstring.h>
#include <qcstring.h>

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

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_chmod__Ljava_util_ArrayList_2IILjava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv *env, jclass cls, jobjectArray lstItems, jint permissions, jint mask, jstring newOwner, jstring newGroup, jboolean recursive, jboolean showProgressInfo)
//{
//static QString * _qstring_newGroup = 0;
//static QString * _qstring_newOwner = 0;
//static KFileItemList * _qlist_lstItems = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::chmod((KFileItemList&) * (KFileItemList *) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems), (int) permissions, (int) mask, (QString) * (QString *) QtSupport::toQString(env, newOwner, &_qstring_newOwner), (QString) * (QString *) QtSupport::toQString(env, newGroup, &_qstring_newGroup), (bool) recursive, (bool) showProgressInfo), "org.kde.koala.ChmodJob");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_chmod__Ljava_util_ArrayList_2IILjava_lang_String_2Ljava_lang_String_2Z(JNIEnv *env, jclass cls, jobjectArray lstItems, jint permissions, jint mask, jstring newOwner, jstring newGroup, jboolean recursive)
//{
//static QString * _qstring_newGroup = 0;
//static QString * _qstring_newOwner = 0;
//static KFileItemList * _qlist_lstItems = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::chmod((KFileItemList&) * (KFileItemList *) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems), (int) permissions, (int) mask, (QString) * (QString *) QtSupport::toQString(env, newOwner, &_qstring_newOwner), (QString) * (QString *) QtSupport::toQString(env, newGroup, &_qstring_newGroup), (bool) recursive, true), "org.kde.koala.ChmodJob");
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Z(JNIEnv *env, jclass cls, jobject url, jobject properties, jstring depth, jboolean showProgressInfo)
//{
//static QString * _qstring_depth = 0;
//	return () KIO::davPropFind((KURL&) *(KURL *) QtSupport::getQt(env, url), (QDomDocument&) *(QDomDocument *) QtSupport::getQt(env, properties), (QString) * (QString *) QtSupport::toQString(env, depth, &_qstring_depth), (bool) showProgressInfo);
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv *env, jclass cls, jobject url, jobject properties, jstring depth)
//{
//static QString * _qstring_depth = 0;
//	return () KIO::davPropFind((KURL&) *(KURL *) QtSupport::getQt(env, url), (QDomDocument&) *(QDomDocument *) QtSupport::getQt(env, properties), (QString) * (QString *) QtSupport::toQString(env, depth, &_qstring_depth), true);
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z(JNIEnv *env, jclass cls, jobject url, jobject properties, jboolean showProgressInfo)
//{
//	return () KIO::davPropPatch((KURL&) *(KURL *) QtSupport::getQt(env, url), (QDomDocument&) *(QDomDocument *) QtSupport::getQt(env, properties), (bool) showProgressInfo);
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2(JNIEnv *env, jclass cls, jobject url, jobject properties)
//{
//	return () KIO::davPropPatch((KURL&) *(KURL *) QtSupport::getQt(env, url), (QDomDocument&) *(QDomDocument *) QtSupport::getQt(env, properties), true);
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv *env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query, jboolean showProgressInfo)
//{
//static QString * _qstring_query = 0;
//static QString * _qstring_qName = 0;
//static QString * _qstring_nsURI = 0;
//	return () KIO::davSearch((KURL&) *(KURL *) QtSupport::getQt(env, url), (QString&) * (QString *) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (QString&) * (QString *) QtSupport::toQString(env, qName, &_qstring_qName), (QString&) * (QString *) QtSupport::toQString(env, query, &_qstring_query), (bool) showProgressInfo);
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query)
//{
//static QString * _qstring_query = 0;
//static QString * _qstring_qName = 0;
//static QString * _qstring_nsURI = 0;
//	return () KIO::davSearch((KURL&) *(KURL *) QtSupport::getQt(env, url), (QString&) * (QString *) QtSupport::toQString(env, nsURI, &_qstring_nsURI), (QString&) * (QString *) QtSupport::toQString(env, qName, &_qstring_qName), (QString&) * (QString *) QtSupport::toQString(env, query, &_qstring_query), true);
//}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_convertSize(JNIEnv *env, jclass cls, j size)
//{
//	QString  _qstring;
//	_qstring = KIO::convertSize((KIO::filesize_t) size);
//	return QtSupport::fromQString(env, &_qstring);
//}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_number(JNIEnv *env, jclass cls, j size)
//{
//	QString  _qstring;
//	_qstring = KIO::number((KIO::filesize_t) size);
//	return QtSupport::fromQString(env, &_qstring);
//}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_convertSizeFromKB(JNIEnv *env, jclass cls, j kbSize)
//{
//	QString  _qstring;
//	_qstring = KIO::convertSizeFromKB((KIO::filesize_t) kbSize);
//	return QtSupport::fromQString(env, &_qstring);
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_calculateRemaining(JNIEnv *env, jclass cls, j totalSize, j processedSize, j speed)
//{
//	QTime  _qtime;
//	_qtime = KIO::calculateRemaining((KIO::filesize_t) totalSize, (KIO::filesize_t) processedSize, (KIO::filesize_t) speed);
//	return (jobject) QtSupport::fromQTime(env, (QTime *) &_qtime);
//}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_itemsSummaryString(JNIEnv *env, jclass cls, jint items, jint files, jint dirs, j size, jboolean showSize)
//{
//	QString  _qstring;
//	_qstring = KIO::itemsSummaryString((uint) items, (uint) files, (uint) dirs, (KIO::filesize_t) size, (bool) showSize);
//	return QtSupport::fromQString(env, &_qstring);
//}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_encodeFileName(JNIEnv *env, jclass cls, jstring str)
{
	QString  _qstring;
static QString * _qstring_str = 0;
	_qstring = KIO::encodeFileName((QString&) * (QString *) QtSupport::toQString(env, str, &_qstring_str));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_decodeFileName(JNIEnv *env, jclass cls, jstring str)
{
	QString  _qstring;
static QString * _qstring_str = 0;
	_qstring = KIO::decodeFileName((QString&) * (QString *) QtSupport::toQString(env, str, &_qstring_str));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_buildErrorString(JNIEnv *env, jclass cls, jint errorCode, jstring errorText)
{
	QString  _qstring;
static QString * _qstring_errorText = 0;
	_qstring = KIO::buildErrorString((int) errorCode, (QString&) * (QString *) QtSupport::toQString(env, errorText, &_qstring_errorText));
	return QtSupport::fromQString(env, &_qstring);
}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_buildHTMLErrorString__ILjava_lang_String_2Lorg_kde_koala_KURL_2I(JNIEnv *env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl, jint method)
//{
//	QString  _qstring;
//static QString * _qstring_errorText = 0;
//	_qstring = KIO::buildHTMLErrorString((int) errorCode, (QString&) * (QString *) QtSupport::toQString(env, errorText, &_qstring_errorText), (KURL*) QtSupport::getQt(env, reqUrl), (int) method);
//	return QtSupport::fromQString(env, &_qstring);
//}

//JNIEXPORT jstring JNICALL
//Java_org_kde_koala_KIO_buildHTMLErrorString__ILjava_lang_String_2(JNIEnv *env, jclass cls, jint errorCode, jstring errorText)
//{
//static QString * _qstring_errorText = 0;
//	QString _qstring;
//	_qstring = KIO::buildHTMLErrorString((int) errorCode, (QString&) * (QString *) QtSupport::toQString(env, errorText, &_qstring_errorText), 0L, -1);
//	return QtSupport::fromQString(env, &_qstring);
//}

JNIEXPORT jbyteArray JNICALL
Java_org_kde_koala_KIO_rawErrorDetail(JNIEnv *env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl, jint method)
{
	QByteArray  _qbyteArray;
static QString * _qstring_errorText = 0;
	_qbyteArray = KIO::rawErrorDetail((int) errorCode, (QString&) * (QString *) QtSupport::toQString(env, errorText, &_qstring_errorText), (KURL*) QtSupport::getQt(env, reqUrl), (int) method);
	return QtSupport::fromQByteArray(env, &_qbyteArray);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KIO_parseCacheControl(JNIEnv *env, jclass cls, jstring cacheControl)
{
static QString * _qstring_cacheControl = 0;
	return (jint) KIO::parseCacheControl((QString&) * (QString *) QtSupport::toQString(env, cacheControl, &_qstring_cacheControl));
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_getCacheControlString(JNIEnv *env, jclass cls, jint cacheControl)
{
	QString  _qstring;
	_qstring = KIO::getCacheControlString((KIO::CacheControl) cacheControl);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_findDeviceMountPoint(JNIEnv *env, jclass cls, jstring device)
{
	QString  _qstring;
static QString * _qstring_device = 0;
	_qstring = KIO::findDeviceMountPoint((QString&) * (QString *) QtSupport::toQString(env, device, &_qstring_device));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIO_findPathMountPoint(JNIEnv *env, jclass cls, jstring filename)
{
	QString  _qstring;
static QString * _qstring_filename = 0;
	_qstring = KIO::findPathMountPoint((QString&) * (QString *) QtSupport::toQString(env, filename, &_qstring_filename));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KIO_probably_1slow_1mounted(JNIEnv *env, jclass cls, jstring filename)
{
static QString * _qstring_filename = 0;
	return (jboolean) KIO::probably_slow_mounted((QString&) * (QString *) QtSupport::toQString(env, filename, &_qstring_filename));
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mkdir__Lorg_kde_koala_KURL_2I(JNIEnv *env, jclass cls, jobject url, jint permissions)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mkdir((KURL&) *(KURL *) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mkdir__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mkdir((KURL&) *(KURL *) QtSupport::getQt(env, url), -1), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_rmdir(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::rmdir((KURL&) *(KURL *) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_chmod(JNIEnv *env, jclass cls, jobject url, jint permissions)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::chmod((KURL&) *(KURL *) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_rename(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean overwrite)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::rename((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jstring target, jobject dest, jboolean overwrite, jboolean showProgressInfo)
{
static QString * _qstring_target = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::symlink((QString&) * (QString *) QtSupport::toQString(env, target, &_qstring_target), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) overwrite, (bool) showProgressInfo), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jstring target, jobject dest, jboolean overwrite)
{
static QString * _qstring_target = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::symlink((QString&) * (QString *) QtSupport::toQString(env, target, &_qstring_target), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) overwrite, true), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_special__Lorg_kde_koala_KURL_2_3BZ(JNIEnv *env, jclass cls, jobject url, jbyteArray data, jboolean showProgressInfo)
{
static QByteArray * _qbyteArray_data = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::special((KURL&) *(KURL *) QtSupport::getQt(env, url), (QByteArray&) * (QByteArray *) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (bool) showProgressInfo), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_special__Lorg_kde_koala_KURL_2_3B(JNIEnv *env, jclass cls, jobject url, jbyteArray data)
{
static QByteArray * _qbyteArray_data = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::special((KURL&) *(KURL *) QtSupport::getQt(env, url), (QByteArray&) * (QByteArray *) QtSupport::toQByteArray(env, data, &_qbyteArray_data), true), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv *env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point, jboolean showProgressInfo)
{
static QString * _qstring_point = 0;
static QString * _qstring_dev = 0;
static QCString * _qstring_fstype = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mount((bool) ro, (char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (QString&) * (QString *) QtSupport::toQString(env, dev, &_qstring_dev), (QString&) * (QString *) QtSupport::toQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point)
{
static QString * _qstring_point = 0;
static QString * _qstring_dev = 0;
static QCString * _qstring_fstype = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mount((bool) ro, (char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (QString&) * (QString *) QtSupport::toQString(env, dev, &_qstring_dev), (QString&) * (QString *) QtSupport::toQString(env, point, &_qstring_point), true), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_unmount__Ljava_lang_String_2Z(JNIEnv *env, jclass cls, jstring point, jboolean showProgressInfo)
{
static QString * _qstring_point = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::unmount((QString&) * (QString *) QtSupport::toQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_unmount__Ljava_lang_String_2(JNIEnv *env, jclass cls, jstring point)
{
static QString * _qstring_point = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::unmount((QString&) * (QString *) QtSupport::toQString(env, point, &_qstring_point), true), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_http_1update_1cache(JNIEnv *env, jclass cls, jobject url, jboolean no_cache, jlong expireDate)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::http_update_cache((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) no_cache, (time_t) expireDate), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_stat__Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject url, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::stat((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.StatJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_stat__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::stat((KURL&) *(KURL *) QtSupport::getQt(env, url), true), "org.kde.koala.StatJob");
}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_stat__Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jobject url, jboolean sideIsSource, j details, jboolean showProgressInfo)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::stat((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details, (bool) showProgressInfo), "org.kde.koala.StatJob");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_stat__Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject url, jboolean sideIsSource, j details)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::stat((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details, true), "org.kde.koala.StatJob");
//}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_get__Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::get((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_get__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::get((KURL&) *(KURL *) QtSupport::getQt(env, url), false, true), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_put__Lorg_kde_koala_KURL_2IZZZ(JNIEnv *env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::put((KURL&) *(KURL *) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_put__Lorg_kde_koala_KURL_2IZZ(JNIEnv *env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::put((KURL&) *(KURL *) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, true), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_http_1post__Lorg_kde_koala_KURL_2_3BZ(JNIEnv *env, jclass cls, jobject url, jbyteArray postData, jboolean showProgressInfo)
{
static QByteArray * _qbyteArray_postData = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::http_post((KURL&) *(KURL *) QtSupport::getQt(env, url), (QByteArray&) * (QByteArray *) QtSupport::toQByteArray(env, postData, &_qbyteArray_postData), (bool) showProgressInfo), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_http_1post__Lorg_kde_koala_KURL_2_3B(JNIEnv *env, jclass cls, jobject url, jbyteArray postData)
{
static QByteArray * _qbyteArray_postData = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::http_post((KURL&) *(KURL *) QtSupport::getQt(env, url), (QByteArray&) * (QByteArray *) QtSupport::toQByteArray(env, postData, &_qbyteArray_postData), true), "org.kde.koala.TransferJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_multi_1get(JNIEnv *env, jclass cls, jlong identifier, jobject url, jobject metaData)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::multi_get((long) identifier, (KURL&) *(KURL *) QtSupport::getQt(env, url), (KIO::MetaData&) *(KIO::MetaData *) QtSupport::getQt(env, metaData)), "org.kde.koala.MultiGetJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mimetype__Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject url, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mimetype((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.MimetypeJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_mimetype__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::mimetype((KURL&) *(KURL *) QtSupport::getQt(env, url), true), "org.kde.koala.MimetypeJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv *env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_copy((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_copy((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), -1, false, false, true), "org.kde.koala.FileCopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv *env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_move((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_move((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), -1, false, false, true), "org.kde.koala.FileCopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1delete__Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_delete((KURL&) *(KURL *) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_file_1delete__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::file_delete((KURL&) *(KURL *) QtSupport::getQt(env, src), true), "org.kde.koala.SimpleJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_listDir__Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::listDir((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_listDir__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::listDir((KURL&) *(KURL *) QtSupport::getQt(env, url), true, true), "org.kde.koala.ListJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_listRecursive__Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::listRecursive((KURL&) *(KURL *) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_listRecursive__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject url)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::listRecursive((KURL&) *(KURL *) QtSupport::getQt(env, url), true, true), "org.kde.koala.ListJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copy((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copy((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copyAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copyAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copy((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobjectArray src, jobject dest)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::copy((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::move((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::move((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::moveAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::moveAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::move((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobjectArray src, jobject dest)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::move((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject destDir, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::link((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject destDir)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::link((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, destDir), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobjectArray src, jobject destDir, jboolean showProgressInfo)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::link((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobjectArray src, jobject destDir)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::link((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (KURL&) *(KURL *) QtSupport::getQt(env, destDir), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::linkAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src, jobject dest)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::linkAs((KURL&) *(KURL *) QtSupport::getQt(env, src), (KURL&) *(KURL *) QtSupport::getQt(env, dest), true), "org.kde.koala.CopyJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_del__Lorg_kde_koala_KURL_2ZZ(JNIEnv *env, jclass cls, jobject src, jboolean shred, jboolean showProgressInfo)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::del((KURL&) *(KURL *) QtSupport::getQt(env, src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_del__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject src)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::del((KURL&) *(KURL *) QtSupport::getQt(env, src), false, true), "org.kde.koala.DeleteJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_del__Ljava_util_ArrayList_2ZZ(JNIEnv *env, jclass cls, jobjectArray src, jboolean shred, jboolean showProgressInfo)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::del((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KIO_del__Ljava_util_ArrayList_2(JNIEnv *env, jclass cls, jobjectArray src)
{
static KURL::List * _qlist_src = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::del((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, src, &_qlist_src), false, true), "org.kde.koala.DeleteJob");
}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_fileMetaInfo__Ljava_util_ArrayList_2(JNIEnv *env, jclass cls, jobjectArray items)
//{
//static KFileItemList * _qlist_items = 0;
//	return () KIO::fileMetaInfo((KFileItemList&) * (KFileItemList *) KDESupport::toKFileItemList(env, items, &_qlist_items));
//}

//JNIEXPORT  JNICALL
//Java_org_kde_koala_KIO_fileMetaInfo__Ljava_util_ArrayList_2(JNIEnv *env, jclass cls, jobjectArray items)
//{
//static KURL::List * _qlist_items = 0;
//	return () KIO::fileMetaInfo((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, items, &_qlist_items));
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_pasteClipboard__Lorg_kde_koala_KURL_2Z(JNIEnv *env, jclass cls, jobject _dest_url, jboolean move)
//{
//	return (jint) KIO::pasteClipboard((KURL&) *(KURL *) QtSupport::getQt(env, _dest_url), (bool) move);
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_pasteClipboard__Lorg_kde_koala_KURL_2(JNIEnv *env, jclass cls, jobject _dest_url)
//{
//	return (jint) KIO::pasteClipboard((KURL&) *(KURL *) QtSupport::getQt(env, _dest_url), false);
//}

//JNIEXPORT void JNICALL
//Java_org_kde_koala_KIO_pasteData(JNIEnv *env, jclass cls, jobject _dest_url, jbyteArray _data)
//{
//static QByteArray * _qbyteArray__data = 0;
//	KIO::pasteData((KURL&) *(KURL *) QtSupport::getQt(env, _dest_url), (QByteArray&) * (QByteArray *) QtSupport::toQByteArray(env, _data, &_qbyteArray__data));
//	return;
//}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_koala_KIO_isClipboardEmpty(JNIEnv *env, jclass cls)
//{
//	return (jboolean) KIO::isClipboardEmpty();
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv *env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins)
//{
//static QStringList * _qlist_enabledPlugins = 0;
//static KFileItemList * _qlist_items = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::filePreview((KFileItemList&) * (KFileItemList *) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (QStringList*) QtSupport::toQStringList(env, enabledPlugins, &_qlist_enabledPlugins)), "org.kde.koala.PreviewJob");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_filePreview__Ljava_util_ArrayList_2I(JNIEnv *env, jclass cls, jobjectArray items, jint width)
//{
//static KFileItemList * _qlist_items = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::filePreview((KFileItemList&) * (KFileItemList *) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, 0, 0, 70, true, true, 0), "org.kde.koala.PreviewJob");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv *env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins)
//{
//static QStringList * _qlist_enabledPlugins = 0;
//static KURL::List * _qlist_items = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::filePreview((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (QStringList*) QtSupport::toQStringList(env, enabledPlugins, &_qlist_enabledPlugins)), "org.kde.koala.PreviewJob");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KIO_filePreview__Ljava_util_ArrayList_2I(JNIEnv *env, jclass cls, jobjectArray items, jint width)
//{
//static KURL::List * _qlist_items = 0;
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::filePreview((KURL::List&) * (KURL::List *) KDESupport::toKURLList(env, items, &_qlist_items), (int) width, 0, 0, 70, true, true, 0), "org.kde.koala.PreviewJob");
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_open_RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv *env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jstring newDestPath, j arg1, j arg2, j arg3, j arg4, j arg5, j arg6)
//{
//static QString * _qstring_newDestPath = 0;
//static QString * _qstring_dest = 0;
//static QString * _qstring_src = 0;
//static QString * _qstring_caption = 0;
//	return (jint) KIO::open_RenameDlg((QString&) * (QString *) QtSupport::toQString(env, caption, &_qstring_caption), (QString&) * (QString *) QtSupport::toQString(env, src, &_qstring_src), (QString&) * (QString *) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&) * (QString *) QtSupport::toQString(env, newDestPath, &_qstring_newDestPath), (KIO::filesize_t sizeSrc (KIO::filesize_t) -1) arg1, (KIO::filesize_t sizeDest (KIO::filesize_t) -1) arg2, (time_t ctimeSrc  -1) arg3, (time_t ctimeDest  -1) arg4, (time_t mtimeSrc  -1) arg5, (time_t mtimeDest  -1) arg6);
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_open_RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv *env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jstring newDestPath)
//{
//static QString * _qstring_newDestPath = 0;
//static QString * _qstring_dest = 0;
//static QString * _qstring_src = 0;
//static QString * _qstring_caption = 0;
//	return (jint) KIO::open_RenameDlg((QString&) * (QString *) QtSupport::toQString(env, caption, &_qstring_caption), (QString&) * (QString *) QtSupport::toQString(env, src, &_qstring_src), (QString&) * (QString *) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&) * (QString *) QtSupport::toQString(env, newDestPath, &_qstring_newDestPath), , , (time_t), (time_t), (time_t), (time_t));
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_open_SkipDlg__ZLjava_lang_String_2(JNIEnv *env, jclass cls, jboolean _multi, jstring _error_text)
//{
//static QString * _qstring__error_text = 0;
//	return (jint) KIO::open_SkipDlg((bool) _multi, (QString&) * (QString *) QtSupport::toQString(env, _error_text, &_qstring__error_text));
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_KIO_open_SkipDlg__Z(JNIEnv *env, jclass cls, jboolean _multi)
//{
//	return (jint) KIO::open_SkipDlg((bool) _multi, QString::null);
//}

