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.cpp106
1 files changed, 53 insertions, 53 deletions
diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
index b25ef1a4..c9c870be 100644
--- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
+++ b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
@@ -3,21 +3,21 @@
#include <tqhttp.h>
#include <qtjava/QtSupport.h>
-#include <qtjava/QHttpRequestHeader.h>
+#include <qtjava/TQHttpRequestHeader.h>
-class QHttpRequestHeaderJBridge : public QHttpRequestHeader
+class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader
{
public:
- QHttpRequestHeaderJBridge() : TQHttpRequestHeader() {};
- QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQHttpRequestHeader(arg1,arg2,arg3,arg4) {};
- QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQHttpRequestHeader(arg1,arg2,arg3) {};
- QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2) : TQHttpRequestHeader(arg1,arg2) {};
- QHttpRequestHeaderJBridge(const TQHttpRequestHeader& arg1) : TQHttpRequestHeader(arg1) {};
- QHttpRequestHeaderJBridge(const TQString& arg1) : TQHttpRequestHeader(arg1) {};
- bool protected_parseLine(const TQString& arg1,int arg2) {
- return (bool) TQHttpRequestHeader::parseLine(arg1,arg2);
+ 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);
}
- ~QHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);}
+ ~TQHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
@@ -31,7 +31,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj);
+ delete (TTQHttpRequestHeader*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -46,87 +46,87 @@ 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) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion();
+ jint xret = (jint) ((TTQHttpRequestHeader*) 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::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQHttpRequestHeader*) 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();
+ jint xret = (jint) ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__(JNIEnv* env, jobject obj)
+Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge());
+ QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
+Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
{
-static TQString* _qstring_str = 0;
+static TTQString* _qstring_str = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str)));
+ QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path)
+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;
+static TTQString* _qstring_method = 0;
+static TTQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path)));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer)
+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;
+static TTQString* _qstring_method = 0;
+static TTQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer)
+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;
+static TTQString* _qstring_method = 0;
+static TTQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header)
+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 QHttpRequestHeaderJBridge((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header)));
+ QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -135,51 +135,51 @@ Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Lorg_kde_qt_QHttpReque
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) ((QHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toQString(env, line, &_qstring_line), (int) 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);
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::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQHttpRequestHeader*) 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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_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));
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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) 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);
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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) 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);
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::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString();
+ return QtSupport::fromTQString(env, &_qstring);
}