diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQSocket.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQSocket.cpp | 168 |
1 files changed, 84 insertions, 84 deletions
diff --git a/qtjava/javalib/qtjava/TQSocket.cpp b/qtjava/javalib/qtjava/TQSocket.cpp index 72a831f0..294b1d9d 100644 --- a/qtjava/javalib/qtjava/TQSocket.cpp +++ b/qtjava/javalib/qtjava/TQSocket.cpp @@ -49,49 +49,49 @@ public: return; } void setSocketDevice(TQSocketDevice* arg1) { - if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.kde.qt.TQSocketDevice")) { + if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.trinitydesktop.qt.TQSocketDevice")) { TQSocket::setSocketDevice(arg1); } return; } void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { TQObject::removeChild(arg1); } return; } void sn_write() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSocket","sn_write")) { + if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQSocket","sn_write")) { TQSocket::sn_write(); } return; } void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) { TQObject::customEvent(arg1); } return; } void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) { TQObject::timerEvent(arg1); } return; } void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) { TQObject::childEvent(arg1); } return; } void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { TQObject::insertChild(arg1); } return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSocket",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.qt.TQSocket",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -100,56 +100,56 @@ public: }; JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_address(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_address(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TQHostAddress", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->address()), "org.trinitydesktop.qt.TQHostAddress", TRUE); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_atEnd(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_atEnd(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->atEnd(); return xret; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_at__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_at__(JNIEnv* env, jobject obj) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->at(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_at__J(JNIEnv* env, jobject obj, jlong arg1) +Java_org_trinitydesktop_qt_QSocket_at__J(JNIEnv* env, jobject obj, jlong arg1) { jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); return xret; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_bytesAvailable(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_bytesAvailable(JNIEnv* env, jobject obj) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesAvailable(); return xret; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_bytesToWrite(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_bytesToWrite(JNIEnv* env, jobject obj) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->bytesToWrite(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_canReadLine(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_canReadLine(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->canReadLine(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_className(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_className(JNIEnv* env, jobject obj) { const char* _qstring; _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->className(); @@ -157,21 +157,21 @@ Java_org_kde_qt_QSocket_className(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_clearPendingData(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_clearPendingData(JNIEnv* env, jobject obj) { ((TQSocket*) QtSupport::getQt(env, obj))->clearPendingData(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_close(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_close(JNIEnv* env, jobject obj) { ((TQSocket*) QtSupport::getQt(env, obj))->close(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_connectToHost(JNIEnv* env, jobject obj, jstring host, jshort port) +Java_org_trinitydesktop_qt_QSocket_connectToHost(JNIEnv* env, jobject obj, jstring host, jshort port) { static TQString* _qstring_host = 0; ((TQSocket*) QtSupport::getQt(env, obj))->connectToHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (TQ_UINT16) port); @@ -179,14 +179,14 @@ static TQString* _qstring_host = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QSocket_finalize(env, obj); + Java_org_trinitydesktop_qt_QSocket_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSocket*)QtSupport::getQt(env, obj))->parent() == 0) { delete (TQSocket*)QtSupport::getQt(env, obj); @@ -196,139 +196,139 @@ Java_org_kde_qt_QSocket_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_flags(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_flags(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->flags(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_flush(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_flush(JNIEnv* env, jobject obj) { ((TQSocket*) QtSupport::getQt(env, obj))->flush(); return; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_getch(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_getch(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->getch(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isAsynchronous(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isAsynchronous(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isAsynchronous(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isBuffered(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isBuffered(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isBuffered(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isCombinedAccess(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isCombinedAccess(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isCombinedAccess(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isDirectAccess(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isDirectAccess(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isDirectAccess(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isInactive(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isInactive(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isInactive(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isOpen(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isOpen(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isOpen(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isRaw(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isRaw(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isRaw(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isReadWrite(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isReadWrite(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadWrite(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isReadable(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isReadable(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isReadable(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isSequentialAccess(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isSequentialAccess(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSequentialAccess(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isSynchronous(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isSynchronous(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isSynchronous(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isTranslated(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isTranslated(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isTranslated(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_isWritable(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_isWritable(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isWritable(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_metaObject(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject"); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_mode(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_mode(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->mode(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSocketJBridge()); @@ -338,7 +338,7 @@ Java_org_kde_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +Java_org_trinitydesktop_qt_QSocket_newTQSocket__Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSocketJBridge((TQObject*) QtSupport::getQt(env, parent))); @@ -348,7 +348,7 @@ Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newTQSocket__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +Java_org_trinitydesktop_qt_QSocket_newTQSocket__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -359,21 +359,21 @@ static TQCString* _qstring_name = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_open(JNIEnv* env, jobject obj, jint mode) +Java_org_trinitydesktop_qt_QSocket_open(JNIEnv* env, jobject obj, jint mode) { jboolean xret = (jboolean) ((TQSocket*) QtSupport::getQt(env, obj))->open((int) mode); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_peerAddress(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_peerAddress(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TQHostAddress", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQHostAddress(((TQSocket*) QtSupport::getQt(env, obj))->peerAddress()), "org.trinitydesktop.qt.TQHostAddress", TRUE); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_peerName(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_peerName(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->peerName(); @@ -381,28 +381,28 @@ Java_org_kde_qt_QSocket_peerName(JNIEnv* env, jobject obj) } JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocket_peerPort(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_peerPort(JNIEnv* env, jobject obj) { jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->peerPort(); return xret; } JNIEXPORT jshort JNICALL -Java_org_kde_qt_QSocket_port(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_port(JNIEnv* env, jobject obj) { jshort xret = (jshort) ((TQSocket*) QtSupport::getQt(env, obj))->port(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_putch(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_putch(JNIEnv* env, jobject obj, jint arg1) { jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->putch((int) arg1); return xret; } JNIEXPORT jbyteArray JNICALL -Java_org_kde_qt_QSocket_readAll(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_readAll(JNIEnv* env, jobject obj) { TQByteArray _qbyteArray; _qbyteArray = ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->readAll(); @@ -410,7 +410,7 @@ Java_org_kde_qt_QSocket_readAll(JNIEnv* env, jobject obj) } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) +Java_org_trinitydesktop_qt_QSocket_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) { static TQCString* _qstring_data = 0; if (_qstring_data == 0) { _qstring_data = new TQCString(); } @@ -421,14 +421,14 @@ static TQCString* _qstring_data = 0; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_readBufferSize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_readBufferSize(JNIEnv* env, jobject obj) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readBufferSize(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_readLine__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_readLine__(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->readLine(); @@ -436,7 +436,7 @@ Java_org_kde_qt_QSocket_readLine__(JNIEnv* env, jobject obj) } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) +Java_org_trinitydesktop_qt_QSocket_readLine__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong maxlen) { static TQCString* _qstring_data = 0; jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) maxlen); @@ -444,133 +444,133 @@ static TQCString* _qstring_data = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_resetStatus(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_resetStatus(JNIEnv* env, jobject obj) { ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->resetStatus(); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSocket_reset(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_reset(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->reset(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setFlags(JNIEnv* env, jobject obj, jint f) +Java_org_trinitydesktop_qt_QSocket_setFlags(JNIEnv* env, jobject obj, jint f) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setFlags((int) f); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setMode(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_setMode(JNIEnv* env, jobject obj, jint arg1) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setMode((int) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setReadBufferSize(JNIEnv* env, jobject obj, jlong arg1) +Java_org_trinitydesktop_qt_QSocket_setReadBufferSize(JNIEnv* env, jobject obj, jlong arg1) { ((TQSocket*) QtSupport::getQt(env, obj))->setReadBufferSize((TQ_ULONG) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setSocketDevice(JNIEnv* env, jobject obj, jobject arg1) +Java_org_trinitydesktop_qt_QSocket_setSocketDevice(JNIEnv* env, jobject obj, jobject arg1) { ((TQSocket*) QtSupport::getQt(env, obj))->setSocketDevice((TQSocketDevice*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setSocket(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_setSocket(JNIEnv* env, jobject obj, jint arg1) { ((TQSocket*) QtSupport::getQt(env, obj))->setSocket((int) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setState(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_setState(JNIEnv* env, jobject obj, jint arg1) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setState((int) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setStatus(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_setStatus(JNIEnv* env, jobject obj, jint arg1) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setStatus((int) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_setType(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_setType(JNIEnv* env, jobject obj, jint arg1) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_setType((int) arg1); return; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_size(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_size(JNIEnv* env, jobject obj) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->size(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1read__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_sn_1read__(JNIEnv* env, jobject obj) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1read__Z(JNIEnv* env, jobject obj, jboolean force) +Java_org_trinitydesktop_qt_QSocket_sn_1read__Z(JNIEnv* env, jobject obj, jboolean force) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read((bool) force); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_sn_1write(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_sn_1write(JNIEnv* env, jobject obj) { ((TQSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_write(); return; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSocket_socketDevice(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_socketDevice(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->socketDevice(), "org.kde.qt.TQSocketDevice"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSocket*) QtSupport::getQt(env, obj))->socketDevice(), "org.trinitydesktop.qt.TQSocketDevice"); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_socket(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_socket(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->socket(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_state(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_state(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->state(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_status(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSocket_status(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->status(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +Java_org_trinitydesktop_qt_QSocket_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { TQString _qstring; (void) cls; @@ -580,7 +580,7 @@ static TQCString* _qstring_arg1 = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +Java_org_trinitydesktop_qt_QSocket_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { TQString _qstring; (void) cls; @@ -591,21 +591,21 @@ static TQCString* _qstring_arg2 = 0; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSocket_ungetch(JNIEnv* env, jobject obj, jint arg1) +Java_org_trinitydesktop_qt_QSocket_ungetch(JNIEnv* env, jobject obj, jint arg1) { jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->ungetch((int) arg1); return xret; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) +Java_org_trinitydesktop_qt_QSocket_waitForMore__I(JNIEnv* env, jobject obj, jint msecs) { jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); return xret; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) +Java_org_trinitydesktop_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, jbooleanArray timeout) { bool* _bool_timeout = QtSupport::toBooleanPtr(env, timeout); jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); @@ -614,7 +614,7 @@ Java_org_kde_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) +Java_org_trinitydesktop_qt_QSocket_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) { static TQCString* _qstring_data = 0; jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) len); @@ -622,7 +622,7 @@ static TQCString* _qstring_data = 0; } JNIEXPORT jlong JNICALL -Java_org_kde_qt_QSocket_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) +Java_org_trinitydesktop_qt_QSocket_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) { static TQByteArray* _qbyteArray_data = 0; jlong xret = (jlong) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); |