diff options
Diffstat (limited to 'kdejava/koala/kdejava/DavJob.cpp')
-rw-r--r-- | kdejava/koala/kdejava/DavJob.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kdejava/koala/kdejava/DavJob.cpp b/kdejava/koala/kdejava/DavJob.cpp index 2534e2bc..0e9ceeab 100644 --- a/kdejava/koala/kdejava/DavJob.cpp +++ b/kdejava/koala/kdejava/DavJob.cpp @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. #include <kio/davjob.h> -#include <qstring.h> -#include <qdom.h> +#include <tqstring.h> +#include <tqdom.h> #include <kurl.h> -#include <qcstring.h> +#include <tqcstring.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -12,12 +12,12 @@ class DavJobJBridge : public KIO::DavJob { public: - DavJobJBridge(const KURL& arg1,int arg2,const QString& 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 QByteArray& arg1) { + void protected_slotData(const TQByteArray& arg1) { KIO::DavJob::slotData(arg1); return; } @@ -33,27 +33,27 @@ public: } return; } - void removeChild(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::removeChild(arg1); + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); } return; } - void customEvent(QCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) { - QObject::customEvent(arg1); + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); } return; } - void timerEvent(QTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) { - QObject::timerEvent(arg1); + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); } return; } - void childEvent(QChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) { - QObject::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(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::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(QObject* object,QEvent* event) { + bool eventFilter(TQObject* object,TQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DavJob",object,event)) { - return QObject::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.QMetaObject"); + 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 QString* _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 QString&)*(QString*) QtSupport::toQString(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::toQString(env, request, &_qstring_request), (bool) showProgressInfo)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -131,15 +131,15 @@ static QString* _qstring_request = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_response(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(QDomDocument *) &((KIO::DavJob*) QtSupport::getQt(env, obj))->response(), "org.kde.qt.QDomDocument"); + 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 QByteArray* _qbyteArray_data = 0; - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); +static TQByteArray* _qbyteArray_data = 0; + ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); return; } |