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.cpp84
1 files changed, 42 insertions, 42 deletions
diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
index 647841ca..b25ef1a4 100644
--- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
+++ b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp
@@ -1,6 +1,6 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qstring.h>
-#include <qhttp.h>
+#include <tqstring.h>
+#include <tqhttp.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QHttpRequestHeader.h>
@@ -8,14 +8,14 @@
class QHttpRequestHeaderJBridge : public QHttpRequestHeader
{
public:
- QHttpRequestHeaderJBridge() : QHttpRequestHeader() {};
- QHttpRequestHeaderJBridge(const QString& arg1,const QString& arg2,int arg3,int arg4) : QHttpRequestHeader(arg1,arg2,arg3,arg4) {};
- QHttpRequestHeaderJBridge(const QString& arg1,const QString& arg2,int arg3) : QHttpRequestHeader(arg1,arg2,arg3) {};
- QHttpRequestHeaderJBridge(const QString& arg1,const QString& arg2) : QHttpRequestHeader(arg1,arg2) {};
- QHttpRequestHeaderJBridge(const QHttpRequestHeader& arg1) : QHttpRequestHeader(arg1) {};
- QHttpRequestHeaderJBridge(const QString& arg1) : QHttpRequestHeader(arg1) {};
- bool protected_parseLine(const QString& arg1,int arg2) {
- return (bool) QHttpRequestHeader::parseLine(arg1,arg2);
+ 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);
}
~QHttpRequestHeaderJBridge() {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 (QHttpRequestHeader*)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) ((QHttpRequestHeader*) 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)
{
- QString _qstring;
- _qstring = ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->method();
+ TQString _qstring;
+ _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->method();
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QHttpRequestHeader_minorVersion(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QHttpRequestHeader*) 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_newQHttpRequestHeader__(JNIEnv* env, jobject
JNIEXPORT void JNICALL
Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
{
-static QString* _qstring_str = 0;
+static TQString* _qstring_str = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const QString&)*(QString*) QtSupport::toQString(env, str, &_qstring_str)));
+ QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -89,10 +89,10 @@ static QString* _qstring_str = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path)
{
-static QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
+static TQString* _qstring_method = 0;
+static TQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path)));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -101,10 +101,10 @@ static QString* _qstring_path = 0;
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)
{
-static QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
+static TQString* _qstring_method = 0;
+static TQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -113,10 +113,10 @@ static QString* _qstring_path = 0;
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)
{
-static QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
+static TQString* _qstring_method = 0;
+static TQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -126,7 +126,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const QHttpRequestHeader&)*(const QHttpRequestHeader*) QtSupport::getQt(env, header)));
+ QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((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_newQHttpRequestHeader__Lorg_kde_qt_QHttpReque
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QHttpRequestHeader_parseLine(JNIEnv* env, jobject obj, jstring line, jint number)
{
-static QString* _qstring_line = 0;
- jboolean xret = (jboolean) ((QHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const QString&)*(QString*) QtSupport::toQString(env, line, &_qstring_line), (int) 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);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QHttpRequestHeader_path(JNIEnv* env, jobject obj)
{
- QString _qstring;
- _qstring = ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->path();
+ TQString _qstring;
+ _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->path();
return QtSupport::fromQString(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 QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
- ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(env, path, &_qstring_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));
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 QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
- ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_method = 0;
-static QString* _qstring_path = 0;
- ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const QString&)*(QString*) QtSupport::toQString(env, method, &_qstring_method), (const QString&)*(QString*) QtSupport::toQString(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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QHttpRequestHeader_toString(JNIEnv* env, jobject obj)
{
- QString _qstring;
- _qstring = ((QHttpRequestHeader*) QtSupport::getQt(env, obj))->toString();
+ TQString _qstring;
+ _qstring = ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString();
return QtSupport::fromQString(env, &_qstring);
}