summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QSqlRecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QSqlRecord.cpp')
-rw-r--r--qtjava/javalib/qtjava/QSqlRecord.cpp120
1 files changed, 60 insertions, 60 deletions
diff --git a/qtjava/javalib/qtjava/QSqlRecord.cpp b/qtjava/javalib/qtjava/QSqlRecord.cpp
index 260946ab..e0e6536b 100644
--- a/qtjava/javalib/qtjava/QSqlRecord.cpp
+++ b/qtjava/javalib/qtjava/QSqlRecord.cpp
@@ -1,9 +1,9 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qsqlrecord.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qsqlfield.h>
-#include <qvariant.h>
+#include <tqsqlrecord.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqsqlfield.h>
+#include <tqvariant.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QSqlRecord.h>
@@ -11,14 +11,14 @@
class QSqlRecordJBridge : public QSqlRecord
{
public:
- QSqlRecordJBridge() : QSqlRecord() {};
- QSqlRecordJBridge(const QSqlRecord& arg1) : QSqlRecord(arg1) {};
+ QSqlRecordJBridge() : TQSqlRecord() {};
+ QSqlRecordJBridge(const TQSqlRecord& arg1) : TQSqlRecord(arg1) {};
void public_clear() {
- QSqlRecord::clear();
+ TQSqlRecord::clear();
return;
}
void public_clearValues() {
- QSqlRecord::clearValues();
+ TQSqlRecord::clearValues();
return;
}
~QSqlRecordJBridge() {QtSupport::qtKeyDeleted(this);}
@@ -27,7 +27,7 @@ public:
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_append(JNIEnv* env, jobject obj, jobject field)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->append((const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, field));
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field));
return;
}
@@ -41,7 +41,7 @@ Java_org_kde_qt_QSqlRecord_clearValues__(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_clearValues__Z(JNIEnv* env, jobject obj, jboolean nullify)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->clearValues((bool) nullify);
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->clearValues((bool) nullify);
return;
}
@@ -55,15 +55,15 @@ Java_org_kde_qt_QSqlRecord_clear(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_contains(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->contains((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlRecord_count(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QSqlRecord*) QtSupport::getQt(env, obj))->count();
+ jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->count();
return xret;
}
@@ -77,23 +77,23 @@ Java_org_kde_qt_QSqlRecord_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlRecord_fieldName(JNIEnv* env, jobject obj, jint i)
{
- QString _qstring;
- _qstring = ((QSqlRecord*) QtSupport::getQt(env, obj))->fieldName((int) i);
+ TQString _qstring;
+ _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->fieldName((int) i);
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_field__I(JNIEnv* env, jobject obj, jint i)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlRecord*) QtSupport::getQt(env, obj))->field((int) i), "org.kde.qt.QSqlField");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((int) i), "org.kde.qt.TQSqlField");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_field__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)((QSqlRecord*) QtSupport::getQt(env, obj))->field((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)), "org.kde.qt.QSqlField");
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlRecord*) QtSupport::getQt(env, obj))->field((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)), "org.kde.qt.TQSqlField");
return xret;
}
@@ -101,7 +101,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (QSqlRecord*)QtSupport::getQt(env, obj);
+ delete (TQSqlRecord*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -110,7 +110,7 @@ Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_insert(JNIEnv* env, jobject obj, jint pos, jobject field)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->insert((int) pos, (const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, field));
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->insert((int) pos, (const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field));
return;
}
@@ -123,37 +123,37 @@ Java_org_kde_qt_QSqlRecord_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_isEmpty(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->isEmpty();
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isEmpty();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_isGenerated__I(JNIEnv* env, jobject obj, jint i)
{
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((int) i);
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((int) i);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_isGenerated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_isNull__I(JNIEnv* env, jobject obj, jint i)
{
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->isNull((int) i);
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((int) i);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlRecord_isNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jboolean xret = (jboolean) ((QSqlRecord*) QtSupport::getQt(env, obj))->isNull((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isNull((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
return xret;
}
@@ -171,7 +171,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_newQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QSqlRecordJBridge((const QSqlRecord&)*(const QSqlRecord*) QtSupport::getQt(env, other)));
+ QtSupport::setQt(env, obj, new QSqlRecordJBridge((const TQSqlRecord&)*(const TQSqlRecord*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -180,119 +180,119 @@ Java_org_kde_qt_QSqlRecord_newQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env,
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSqlRecord_position(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jint xret = (jint) ((QSqlRecord*) QtSupport::getQt(env, obj))->position((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
+static TQString* _qstring_name = 0;
+ jint xret = (jint) ((TQSqlRecord*) QtSupport::getQt(env, obj))->position((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_remove(JNIEnv* env, jobject obj, jint pos)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->remove((int) pos);
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->remove((int) pos);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setGenerated__IZ(JNIEnv* env, jobject obj, jint i, jboolean generated)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated);
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((int) i, (bool) generated);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setGenerated__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean generated)
{
-static QString* _qstring_name = 0;
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (bool) generated);
+static TQString* _qstring_name = 0;
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool) generated);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setNull__I(JNIEnv* env, jobject obj, jint i)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setNull((int) i);
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((int) i);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setNull__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setNull((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
+static TQString* _qstring_name = 0;
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setNull((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint i, jobject val)
{
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setValue((int) i, (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((int) i, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlRecord_setValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jobject val)
{
-static QString* _qstring_name = 0;
- ((QSqlRecord*) QtSupport::getQt(env, obj))->setValue((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QVariant&)*(const QVariant*) QtSupport::getQt(env, val));
+static TQString* _qstring_name = 0;
+ ((TQSqlRecord*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_toStringList__(JNIEnv* env, jobject obj)
{
- QStringList _qlist;
- _qlist = ((QSqlRecord*) QtSupport::getQt(env, obj))->toStringList();
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ TQStringList _qlist;
+ _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList();
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix)
{
- QStringList _qlist;
-static QString* _qstring_prefix = 0;
- _qlist = ((QSqlRecord*) QtSupport::getQt(env, obj))->toStringList((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ TQStringList _qlist;
+static TQString* _qstring_prefix = 0;
+ _qlist = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlRecord_toString__(JNIEnv* env, jobject obj)
{
- QString _qstring;
- _qstring = ((QSqlRecord*) QtSupport::getQt(env, obj))->toString();
+ TQString _qstring;
+ _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString();
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix)
{
- QString _qstring;
-static QString* _qstring_prefix = 0;
- _qstring = ((QSqlRecord*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
+ TQString _qstring;
+static TQString* _qstring_prefix = 0;
+ _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSqlRecord_toString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix, jstring sep)
{
- QString _qstring;
-static QString* _qstring_prefix = 0;
-static QString* _qstring_sep = 0;
- _qstring = ((QSqlRecord*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, sep, &_qstring_sep));
+ TQString _qstring;
+static TQString* _qstring_prefix = 0;
+static TQString* _qstring_sep = 0;
+ _qstring = ((TQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_value__I(JNIEnv* env, jobject obj, jint i)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlRecord*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.QVariant", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSqlRecord_value__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
-static QString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QVariant(((QSqlRecord*) QtSupport::getQt(env, obj))->value((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.QVariant", TRUE);
+static TQString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlRecord*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE);
return xret;
}