diff options
Diffstat (limited to 'kdejava/koala/kdejava/DCOPObject.cpp')
-rw-r--r-- | kdejava/koala/kdejava/DCOPObject.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/kdejava/koala/kdejava/DCOPObject.cpp b/kdejava/koala/kdejava/DCOPObject.cpp index 6b1b0900..63013399 100644 --- a/kdejava/koala/kdejava/DCOPObject.cpp +++ b/kdejava/koala/kdejava/DCOPObject.cpp @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. #include <dcopclient.h> #include <dcopobject.h> -#include <qcstring.h> +#include <tqcstring.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -11,8 +11,8 @@ class DCOPObjectJBridge : public DCOPObject { public: DCOPObjectJBridge() : DCOPObject() {}; - DCOPObjectJBridge(QObject* arg1) : DCOPObject(arg1) {}; - DCOPObjectJBridge(const QCString& arg1) : DCOPObject(arg1) {}; + DCOPObjectJBridge(TQObject* arg1) : DCOPObject(arg1) {}; + DCOPObjectJBridge(const TQCString& arg1) : DCOPObject(arg1) {}; ~DCOPObjectJBridge() {QtSupport::qtKeyDeleted(this);} }; @@ -26,22 +26,22 @@ Java_org_kde_koala_DCOPObject_callingDcopClient(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) { -static QCString* _qcstring_sender = 0; -static QCString* _qcstring_senderObj = 0; -static QCString* _qcstring_signal = 0; -static QCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->connectDCOPSignal((const QCString&)*(QCString*) QtSupport::toQCString(env, sender, &_qcstring_sender), (const QCString&)*(QCString*) QtSupport::toQCString(env, senderObj, &_qcstring_senderObj), (const QCString&)*(QCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const QCString&)*(QCString*) QtSupport::toQCString(env, slot, &_qcstring_slot), (bool) Volatile); +static TQCString* _qcstring_sender = 0; +static TQCString* _qcstring_senderObj = 0; +static TQCString* _qcstring_signal = 0; +static TQCString* _qcstring_slot = 0; + jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, slot, &_qcstring_slot), (bool) Volatile); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) { -static QCString* _qcstring_sender = 0; -static QCString* _qcstring_senderObj = 0; -static QCString* _qcstring_signal = 0; -static QCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const QCString&)*(QCString*) QtSupport::toQCString(env, sender, &_qcstring_sender), (const QCString&)*(QCString*) QtSupport::toQCString(env, senderObj, &_qcstring_senderObj), (const QCString&)*(QCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const QCString&)*(QCString*) QtSupport::toQCString(env, slot, &_qcstring_slot)); +static TQCString* _qcstring_sender = 0; +static TQCString* _qcstring_senderObj = 0; +static TQCString* _qcstring_signal = 0; +static TQCString* _qcstring_slot = 0; + jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, slot, &_qcstring_slot)); return xret; } @@ -55,9 +55,9 @@ Java_org_kde_koala_DCOPObject_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) { -static QCString* _qcstring_signal = 0; -static QByteArray* _qbyteArray_data = 0; - ((DCOPObject*) QtSupport::getQt(env, obj))->emitDCOPSignal((const QCString&)*(QCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); +static TQCString* _qcstring_signal = 0; +static TQByteArray* _qbyteArray_data = 0; + ((DCOPObject*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); return; } @@ -75,8 +75,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_find(JNIEnv* env, jclass cls, jstring objId) { (void) cls; -static QCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPObjectJBridge::find((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); +static TQCString* _qcstring_objId = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPObjectJBridge::find((const TQCString&)*(TQCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); return xret; } @@ -100,8 +100,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_hasObject(JNIEnv* env, jclass cls, jstring objId) { (void) cls; -static QCString* _qcstring_objId = 0; - jboolean xret = (jboolean) DCOPObjectJBridge::hasObject((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)); +static TQCString* _qcstring_objId = 0; + jboolean xret = (jboolean) DCOPObjectJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)); return xret; } @@ -140,9 +140,9 @@ Java_org_kde_koala_DCOPObject_newDCOPObject__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objId) { -static QCString* _qcstring_objId = 0; +static TQCString* _qcstring_objId = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId))); + QtSupport::setQt(env, obj, new DCOPObjectJBridge((const TQCString&)*(TQCString*) QtSupport::toQCString(env, objId, &_qcstring_objId))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -152,7 +152,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((QObject*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new DCOPObjectJBridge((TQObject*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -161,7 +161,7 @@ Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2(JNIEnv* env, JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objId(JNIEnv* env, jobject obj) { - QCString _qstring; + TQCString _qstring; _qstring = ((DCOPObject*) QtSupport::getQt(env, obj))->objId(); return QtSupport::fromQCString(env, &_qstring); } @@ -169,23 +169,23 @@ Java_org_kde_koala_DCOPObject_objId(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objectName(JNIEnv* env, jclass cls, jobject arg1) { - QCString _qstring; + TQCString _qstring; (void) cls; - _qstring = DCOPObjectJBridge::objectName((QObject*) QtSupport::getQt(env, arg1)); + _qstring = DCOPObjectJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); return QtSupport::fromQCString(env, &_qstring); } JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) { -static QCString* _qcstring_fun = 0; -static QByteArray* _qbyteArray_data = 0; -static QCString* _qcstring_replyType = 0; +static TQCString* _qcstring_fun = 0; +static TQByteArray* _qbyteArray_data = 0; +static TQCString* _qcstring_replyType = 0; if (_qcstring_replyType == 0) { - _qcstring_replyType = new QCString(); + _qcstring_replyType = new TQCString(); } -static QByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->processDynamic((const QCString&)*(QCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QCString&)*(QCString*) _qcstring_replyType, (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData)); +static TQByteArray* _qbyteArray_replyData = 0; + jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData)); QtSupport::fromQCStringToStringBuffer(env, _qcstring_replyType, replyType); return xret; } @@ -193,14 +193,14 @@ static QByteArray* _qbyteArray_replyData = 0; JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) { -static QCString* _qcstring_fun = 0; -static QByteArray* _qbyteArray_data = 0; -static QCString* _qcstring_replyType = 0; +static TQCString* _qcstring_fun = 0; +static TQByteArray* _qbyteArray_data = 0; +static TQCString* _qcstring_replyType = 0; if (_qcstring_replyType == 0) { - _qcstring_replyType = new QCString(); + _qcstring_replyType = new TQCString(); } -static QByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->process((const QCString&)*(QCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QCString&)*(QCString*) _qcstring_replyType, (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData)); +static TQByteArray* _qbyteArray_replyData = 0; + jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData)); QtSupport::fromQCStringToStringBuffer(env, _qcstring_replyType, replyType); return xret; } @@ -215,8 +215,8 @@ Java_org_kde_koala_DCOPObject_setCallingDcopClient(JNIEnv* env, jobject obj, job JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_setObjId(JNIEnv* env, jobject obj, jstring objId) { -static QCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->setObjId((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)); +static TQCString* _qcstring_objId = 0; + jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toQCString(env, objId, &_qcstring_objId)); return xret; } |