/***************************************************************************
                            KIO.cpp -  description
                             -------------------
    begin                : Thu Mar 21 21:39:59 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Thu Mar 21 21:39:59 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU 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_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_getCacheInfo(JNIEnv *env, jclass cls, jobject url)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)KIO::getCacheInfo((KURL&) *(KURL *) QtSupport::getQt(env, url)), "org.kde.koala.CacheInfo");
//}

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");
}

