diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QSqlIndex.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QSqlIndex.cpp | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/qtjava/javalib/qtjava/QSqlIndex.cpp b/qtjava/javalib/qtjava/QSqlIndex.cpp index 5ff5f11b..5fd554e8 100644 --- a/qtjava/javalib/qtjava/QSqlIndex.cpp +++ b/qtjava/javalib/qtjava/QSqlIndex.cpp @@ -1,8 +1,8 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qstring.h> -#include <qsqlindex.h> -#include <qstringlist.h> -#include <qsqlfield.h> +#include <tqstring.h> +#include <tqsqlindex.h> +#include <tqstringlist.h> +#include <tqsqlfield.h> #include <qtjava/QtSupport.h> #include <qtjava/QSqlIndex.h> @@ -10,32 +10,32 @@ class QSqlIndexJBridge : public QSqlIndex { public: - QSqlIndexJBridge(const QString& arg1,const QString& arg2) : QSqlIndex(arg1,arg2) {}; - QSqlIndexJBridge(const QString& arg1) : QSqlIndex(arg1) {}; - QSqlIndexJBridge() : QSqlIndex() {}; - QSqlIndexJBridge(const QSqlIndex& arg1) : QSqlIndex(arg1) {}; + QSqlIndexJBridge(const TQString& arg1,const TQString& arg2) : TQSqlIndex(arg1,arg2) {}; + QSqlIndexJBridge(const TQString& arg1) : TQSqlIndex(arg1) {}; + QSqlIndexJBridge() : TQSqlIndex() {}; + QSqlIndexJBridge(const TQSqlIndex& arg1) : TQSqlIndex(arg1) {}; ~QSqlIndexJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject field) { - ((QSqlIndex*) QtSupport::getQt(env, obj))->append((const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, field)); + ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_append__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject field, jboolean desc) { - ((QSqlIndex*) QtSupport::getQt(env, obj))->append((const QSqlField&)*(const QSqlField*) QtSupport::getQt(env, field), (bool) desc); + ((TQSqlIndex*) QtSupport::getQt(env, obj))->append((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, field), (bool) desc); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_cursorName(JNIEnv* env, jobject obj) { - QString _qstring; - _qstring = ((QSqlIndex*) QtSupport::getQt(env, obj))->cursorName(); + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->cursorName(); return QtSupport::fromQString(env, &_qstring); } @@ -50,7 +50,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QSqlIndex*)QtSupport::getQt(env, obj); + delete (TQSqlIndex*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -60,15 +60,15 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_fromStringList(JNIEnv* env, jclass cls, jobjectArray l, jobject cursor) { (void) cls; -static QStringList* _qlist_l = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new QSqlIndex(QSqlIndexJBridge::fromStringList((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, l, &_qlist_l), (const QSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.QSqlIndex", TRUE); +static TQStringList* _qlist_l = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(QSqlIndexJBridge::fromStringList((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, l, &_qlist_l), (const TQSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.TQSqlIndex", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlIndex_isDescending(JNIEnv* env, jobject obj, jint i) { - jboolean xret = (jboolean) ((QSqlIndex*) QtSupport::getQt(env, obj))->isDescending((int) i); + jboolean xret = (jboolean) ((TQSqlIndex*) QtSupport::getQt(env, obj))->isDescending((int) i); return xret; } @@ -81,8 +81,8 @@ Java_org_kde_qt_QSqlIndex_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_name(JNIEnv* env, jobject obj) { - QString _qstring; - _qstring = ((QSqlIndex*) QtSupport::getQt(env, obj))->name(); + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromQString(env, &_qstring); } @@ -99,9 +99,9 @@ Java_org_kde_qt_QSqlIndex_newQSqlIndex__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName) { -static QString* _qstring_cursorName = 0; +static TQString* _qstring_cursorName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge((const QString&)*(QString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName))); + QtSupport::setQt(env, obj, new QSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -110,10 +110,10 @@ static QString* _qstring_cursorName = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName, jstring name) { -static QString* _qstring_cursorName = 0; -static QString* _qstring_name = 0; +static TQString* _qstring_cursorName = 0; +static TQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge((const QString&)*(QString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName), (const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new QSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -123,7 +123,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject other) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge((const QSqlIndex&)*(const QSqlIndex*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new QSqlIndexJBridge((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -132,86 +132,86 @@ Java_org_kde_qt_QSqlIndex_newQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, job JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setCursorName(JNIEnv* env, jobject obj, jstring cursorName) { -static QString* _qstring_cursorName = 0; - ((QSqlIndex*) QtSupport::getQt(env, obj))->setCursorName((const QString&)*(QString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName)); +static TQString* _qstring_cursorName = 0; + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setCursorName((const TQString&)*(TQString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setDescending(JNIEnv* env, jobject obj, jint i, jboolean desc) { - ((QSqlIndex*) QtSupport::getQt(env, obj))->setDescending((int) i, (bool) desc); + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setDescending((int) i, (bool) desc); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_setName(JNIEnv* env, jobject obj, jstring name) { -static QString* _qstring_name = 0; - ((QSqlIndex*) QtSupport::getQt(env, obj))->setName((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name)); +static TQString* _qstring_name = 0; + ((TQSqlIndex*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__(JNIEnv* env, jobject obj) { - QStringList _qlist; - _qlist = ((QSqlIndex*) QtSupport::getQt(env, obj))->toStringList(); - return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist); + TQStringList _qlist; + _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) { - QStringList _qlist; -static QString* _qstring_prefix = 0; - _qlist = ((QSqlIndex*) 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 = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix)); + return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlIndex_toStringList__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jboolean verbose) { - QStringList _qlist; -static QString* _qstring_prefix = 0; - _qlist = ((QSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (bool) verbose); - return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist); + TQStringList _qlist; +static TQString* _qstring_prefix = 0; + _qlist = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (bool) verbose); + return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__(JNIEnv* env, jobject obj) { - QString _qstring; - _qstring = ((QSqlIndex*) QtSupport::getQt(env, obj))->toString(); + TQString _qstring; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString(); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prefix) { - QString _qstring; -static QString* _qstring_prefix = 0; - _qstring = ((QSqlIndex*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix)); + TQString _qstring; +static TQString* _qstring_prefix = 0; + _qstring = ((TQSqlIndex*) 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_QSqlIndex_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 = ((QSqlIndex*) 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 = ((TQSqlIndex*) 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 jstring JNICALL Java_org_kde_qt_QSqlIndex_toString__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prefix, jstring sep, jboolean verbose) { - QString _qstring; -static QString* _qstring_prefix = 0; -static QString* _qstring_sep = 0; - _qstring = ((QSqlIndex*) QtSupport::getQt(env, obj))->toString((const QString&)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const QString&)*(QString*) QtSupport::toQString(env, sep, &_qstring_sep), (bool) verbose); + TQString _qstring; +static TQString* _qstring_prefix = 0; +static TQString* _qstring_sep = 0; + _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep), (bool) verbose); return QtSupport::fromQString(env, &_qstring); } |