summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QHttpRequestHeader.cpp')
-rw-r--r--qtjava/javalib/qtjava/QHttpRequestHeader.cpp185
1 files changed, 0 insertions, 185 deletions
diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
deleted file mode 100644
index e2ab3b71..00000000
--- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
+++ /dev/null
@@ -1,185 +0,0 @@
-//Auto-generated by kalyptus. DO NOT EDIT.
-#include <tqstring.h>
-#include <tqhttp.h>
-
-#include <qtjava/QtSupport.h>
-#include <qtjava/QHttpRequestHeader.h>
-
-class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader
-{
-public:
- 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);}
-};
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_dispose(JNIEnv* env, jobject obj)
-{
- Java_org_kde_qt_QHttpRequestHeader_finalize(env, obj);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj)
-{
- if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj);
- QtSupport::setQt(env, obj, 0);
- }
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QHttpRequestHeader_isDisposed(JNIEnv* env, jobject obj)
-{
- return (QtSupport::getQt(env, obj) == 0);
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QHttpRequestHeader_majorVersion(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion();
- return xret;
-}
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_qt_QHttpRequestHeader_method(JNIEnv* env, jobject obj)
-{
- 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) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject obj)
-{
- if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge());
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
-{
-static TQString* _qstring_str = 0;
- if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)));
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-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 TQString* _qstring_method = 0;
-static TQString* _qstring_path = 0;
- if (QtSupport::getQt(env, obj) == 0) {
- 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;
-}
-
-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 TQString* _qstring_method = 0;
-static TQString* _qstring_path = 0;
- if (QtSupport::getQt(env, obj) == 0) {
- 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;
-}
-
-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 TQString* _qstring_method = 0;
-static TQString* _qstring_path = 0;
- if (QtSupport::getQt(env, obj) == 0) {
- 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;
-}
-
-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 TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header)));
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QHttpRequestHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint 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)
-{
- 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 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 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 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)
-{
- TQString _qstring;
- _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString();
- return QtSupport::fromTQString(env, &_qstring);
-}
-