diff options
Diffstat (limited to 'kdejava/koala/kdejava/DavJob.cpp')
-rw-r--r-- | kdejava/koala/kdejava/DavJob.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kdejava/koala/kdejava/DavJob.cpp b/kdejava/koala/kdejava/DavJob.cpp index 28e5d5fd..cf406377 100644 --- a/kdejava/koala/kdejava/DavJob.cpp +++ b/kdejava/koala/kdejava/DavJob.cpp @@ -12,12 +12,12 @@ class DavJobJBridge : public KIO::DavJob { public: - DavJobJBridge(const KURL& arg1,int arg2,const TTQString& arg3,bool arg4) : KIO::DavJob(arg1,arg2,arg3,arg4) {}; + DavJobJBridge(const KURL& arg1,int arg2,const TQString& arg3,bool arg4) : KIO::DavJob(arg1,arg2,arg3,arg4) {}; void protected_slotFinished() { KIO::DavJob::slotFinished(); return; } - void protected_slotData(const TTQByteArray& arg1) { + void protected_slotData(const TQByteArray& arg1) { KIO::DavJob::slotData(arg1); return; } @@ -33,27 +33,27 @@ public: } return; } - void removeChild(TTQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { - TTQObject::removeChild(arg1); + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); } return; } - void customEvent(TTQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { - TTQObject::customEvent(arg1); + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); } return; } - void timerEvent(TTQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { - TTQObject::timerEvent(arg1); + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); } return; } - void childEvent(TTQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { - TTQObject::childEvent(arg1); + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); } return; } @@ -75,9 +75,9 @@ public: } return; } - void insertChild(TTQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { - TTQObject::insertChild(arg1); + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); } return; } @@ -87,9 +87,9 @@ public: } return; } - bool eventFilter(TTQObject* object,TTQEvent* event) { + bool eventFilter(TQObject* object,TQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DavJob",object,event)) { - return TTQObject::eventFilter(object,event); + return TQObject::eventFilter(object,event); } else { return TRUE; } @@ -113,16 +113,16 @@ Java_org_kde_koala_DavJob_className(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KIO::DavJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KIO::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 TTQString* _qstring_request = 0; +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 TTQString&)*(TTQString*) QtSupport::toTQString(env, request, &_qstring_request), (bool) showProgressInfo)); + 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; @@ -131,15 +131,15 @@ static TTQString* _qstring_request = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_response(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDomDocument *) &((KIO::DavJob*) QtSupport::getQt(env, obj))->response(), "org.kde.qt.TTQDomDocument"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDomDocument *) &((KIO::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 TTQByteArray* _qbyteArray_data = 0; - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); +static TQByteArray* _qbyteArray_data = 0; + ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); return; } |