diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QHttpRequestHeader.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QHttpRequestHeader.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp index c9c870be..7e095b46 100644 --- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp +++ b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp @@ -8,14 +8,14 @@ class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader { public: - TQHttpRequestHeaderJBridge() : TTQHttpRequestHeader() {}; - TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,int arg4) : TTQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; - TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2,int arg3) : TTQHttpRequestHeader(arg1,arg2,arg3) {}; - TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2) : TTQHttpRequestHeader(arg1,arg2) {}; - TQHttpRequestHeaderJBridge(const TTQHttpRequestHeader& arg1) : TTQHttpRequestHeader(arg1) {}; - TQHttpRequestHeaderJBridge(const TTQString& arg1) : TTQHttpRequestHeader(arg1) {}; - bool protected_parseLine(const TTQString& arg1,int arg2) { - return (bool) TTQHttpRequestHeader::parseLine(arg1,arg2); + TQHttpRequestHeaderJBridge() : TQHttpRequestHeader() {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQHttpRequestHeader(arg1,arg2,arg3) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2) : TQHttpRequestHeader(arg1,arg2) {}; + TQHttpRequestHeaderJBridge(const TQHttpRequestHeader& arg1) : TQHttpRequestHeader(arg1) {}; + TQHttpRequestHeaderJBridge(const TQString& arg1) : TQHttpRequestHeader(arg1) {}; + bool protected_parseLine(const TQString& arg1,int arg2) { + return (bool) TQHttpRequestHeader::parseLine(arg1,arg2); } ~TQHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);} }; @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQHttpRequestHeader*)QtSupport::getQt(env, obj); + delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -46,22 +46,22 @@ Java_org_kde_qt_QHttpRequestHeader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_majorVersion(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion(); + jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion(); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_method(JNIEnv* env, jobject obj) { - TTQString _qstring; - _qstring = ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->method(); + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->method(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_minorVersion(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion(); + jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion(); return xret; } @@ -78,9 +78,9 @@ Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) { -static TTQString* _qstring_str = 0; +static TQString* _qstring_str = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -89,10 +89,10 @@ static TTQString* _qstring_str = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -101,10 +101,10 @@ static TTQString* _qstring_path = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer)); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -113,10 +113,10 @@ static TTQString* _qstring_path = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer)); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -126,7 +126,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -135,51 +135,51 @@ Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Lorg_kde_qt_QHttpRequ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHttpRequestHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number) { -static TTQString* _qstring_line = 0; - jboolean xret = (jboolean) ((TQHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TTQString&)*(TTQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); +static TQString* _qstring_line = 0; + jboolean xret = (jboolean) ((TQHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (int) number); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_path(JNIEnv* env, jobject obj) { - TTQString _qstring; - _qstring = ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->path(); + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->path(); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; - ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path)); +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; - ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer); +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_setRequest__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) { -static TTQString* _qstring_method = 0; -static TTQString* _qstring_path = 0; - ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer); +static TQString* _qstring_method = 0; +static TQString* _qstring_path = 0; + ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TQString&)*(TQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttpRequestHeader_toString(JNIEnv* env, jobject obj) { - TTQString _qstring; - _qstring = ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString(); + TQString _qstring; + _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString(); return QtSupport::fromTQString(env, &_qstring); } |