diff options
Diffstat (limited to 'kdejava/koala/kdejava/DavJob.cpp')
-rw-r--r-- | kdejava/koala/kdejava/DavJob.cpp | 152 |
1 files changed, 0 insertions, 152 deletions
diff --git a/kdejava/koala/kdejava/DavJob.cpp b/kdejava/koala/kdejava/DavJob.cpp deleted file mode 100644 index cfa1da70..00000000 --- a/kdejava/koala/kdejava/DavJob.cpp +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tdeio/davjob.h> -#include <tqstring.h> -#include <tqdom.h> -#include <kurl.h> -#include <tqcstring.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/DavJob.h> - -class DavJobJBridge : public TDEIO::DavJob -{ -public: - DavJobJBridge(const KURL& arg1,int arg2,const TQString& arg3,bool arg4) : TDEIO::DavJob(arg1,arg2,arg3,arg4) {}; - void protected_slotFinished() { - TDEIO::DavJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::DavJob::slotData(arg1); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotFinished")) { - DavJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DavJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DavJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DavJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DavJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_newDavJob(JNIEnv* env, jobject obj, jobject url, jint method, jstring request, jboolean showProgressInfo) -{ -static TQString* _qstring_request = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DavJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) method, (const TQString&)*(TQString*) QtSupport::toTQString(env, request, &_qstring_request), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_response(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDomDocument *) &((TDEIO::DavJob*) QtSupport::getQt(env, obj))->response(), "org.kde.qt.TQDomDocument"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - |