diff options
Diffstat (limited to 'kdejava/koala/kdejava/TDEIO.cpp')
-rw-r--r-- | kdejava/koala/kdejava/TDEIO.cpp | 1196 |
1 files changed, 0 insertions, 1196 deletions
diff --git a/kdejava/koala/kdejava/TDEIO.cpp b/kdejava/koala/kdejava/TDEIO.cpp deleted file mode 100644 index cd13baec..00000000 --- a/kdejava/koala/kdejava/TDEIO.cpp +++ /dev/null @@ -1,1196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/renamedlg.h> -#include <tdeio/global.h> -#include <tdeparts/browserextension.h> -#include <tqdatastream.h> -#include <tdeio/authinfo.h> -#include <tqstring.h> -#include <tqdom.h> -#include <tdeparts/part.h> -#include <kurl.h> -#include <tdeio/skipdlg.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/TDEIO.h> -#include <tdeio/job.h> -#include <tdeio/davjob.h> -#include <tdeio/metainfojob.h> -#include <tdeio/previewjob.h> -#include <tdeio/paste.h> - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_buildErrorString(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_errorText = 0; - _qstring = TDEIO::buildErrorString((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_chmod(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSeconds(JNIEnv* env, jclass cls, jint seconds) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSeconds((unsigned int) seconds); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeFromKB(JNIEnv* env, jclass cls, jlong kbSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeFromKB((TDEIO::filesize_t) kbSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeWithBytes(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeWithBytes((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSize(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSize((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jobject properties, jstring depth) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jclass cls, jobject url, jobject properties) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jclass cls, jobject url, jobject properties, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_decodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::decodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean shred) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_encodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::encodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_fileMetaInfo(JNIEnv* env, jclass cls, jobjectArray items) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::fileMetaInfo((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items)), "org.kde.koala.MetaInfoJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2I(JNIEnv* env, jclass cls, jobjectArray items, jint width) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2II(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2III(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIII(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins)), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findDeviceMountPoint(JNIEnv* env, jclass cls, jstring device) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_device = 0; - _qstring = TDEIO::findDeviceMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, device, &_qstring_device)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findPathMountPoint(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = TDEIO::findPathMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_getCacheControlString(JNIEnv* env, jclass cls, jint cacheControl) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::getCacheControlString((TDEIO::CacheControl) cacheControl); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray postData) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray postData, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData), (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1update_1cache(JNIEnv* env, jclass cls, jobject url, jboolean no_cache, jint expireDate) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_update_cache((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) no_cache, (time_t) expireDate), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_isClipboardEmpty(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEIO::isClipboardEmpty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_itemsSummaryString(JNIEnv* env, jclass cls, jint items, jint files, jint dirs, jlong size, jboolean showSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::itemsSummaryString((uint) items, (uint) files, (uint) dirs, (TDEIO::filesize_t) size, (bool) showSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject destDir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_manually_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::manually_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_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) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_number(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::number((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1read(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1write(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__Z(JNIEnv* env, jclass cls, jboolean _multi) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__ZLjava_lang_String_2(JNIEnv* env, jclass cls, jboolean _multi, jstring _error_text) -{ - (void) cls; -static TQString* _qstring__error_text = 0; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_parseCacheControl(JNIEnv* env, jclass cls, jstring cacheControl) -{ - (void) cls; -static TQString* _qstring_cacheControl = 0; - jint xret = (jint) TDEIO::parseCacheControl((const TQString&)*(TQString*) QtSupport::toTQString(env, cacheControl, &_qstring_cacheControl)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_pasteActionText(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::pasteActionText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject destURL) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL)), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject destURL, jboolean move) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (bool) move), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3BLjava_lang_String_2(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data, jstring dialogText) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIO_pasteData(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - TDEIO::pasteData((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget, jboolean clipboard) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget), (bool) clipboard), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_probably_1slow_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::probably_slow_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl, jint method) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl), (int) method); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rename(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rmdir(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rmdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray data, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZS(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZSZ(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details, (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite, (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_testFileSystemFlag(JNIEnv* env, jclass cls, jstring filename, jint flag) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::testFileSystemFlag((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TDEIO::FileSystemFlag) flag); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring point) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring point, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_unsupportedActionErrorString(JNIEnv* env, jclass cls, jstring protocol, jint cmd) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = TDEIO::unsupportedActionErrorString((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (int) cmd); - return QtSupport::fromTQString(env, &_qstring); -} - |