diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQSqlQuery.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQSqlQuery.cpp | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/qtjava/javalib/qtjava/TQSqlQuery.cpp b/qtjava/javalib/qtjava/TQSqlQuery.cpp index 0ab1f738..b317750c 100644 --- a/qtjava/javalib/qtjava/TQSqlQuery.cpp +++ b/qtjava/javalib/qtjava/TQSqlQuery.cpp @@ -29,56 +29,56 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) +Java_org_trinitydesktop_qt_QSqlQuery_addBindValue__Lorg_trinitydesktop_qt_QVariant_2(JNIEnv* env, jobject obj, jobject val) { ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_addBindValue__Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) +Java_org_trinitydesktop_qt_QSqlQuery_addBindValue__Lorg_trinitydesktop_qt_QVariant_2I(JNIEnv* env, jobject obj, jobject val, jint type) { ((TQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_afterSeek(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_afterSeek(JNIEnv* env, jobject obj) { ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); return; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_at(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_at(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->at(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_beforeSeek(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_beforeSeek(JNIEnv* env, jobject obj) { ((TQSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) +Java_org_trinitydesktop_qt_QSqlQuery_bindValue__ILorg_trinitydesktop_qt_QVariant_2(JNIEnv* env, jobject obj, jint pos, jobject val) { ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__ILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) +Java_org_trinitydesktop_qt_QSqlQuery_bindValue__ILorg_trinitydesktop_qt_QVariant_2I(JNIEnv* env, jobject obj, jint pos, jobject val, jint type) { ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) +Java_org_trinitydesktop_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_trinitydesktop_qt_QVariant_2(JNIEnv* env, jobject obj, jstring placeholder, jobject val) { static TQString* _qstring_placeholder = 0; ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); @@ -86,7 +86,7 @@ static TQString* _qstring_placeholder = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) +Java_org_trinitydesktop_qt_QSqlQuery_bindValue__Ljava_lang_String_2Lorg_trinitydesktop_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring placeholder, jobject val, jint type) { static TQString* _qstring_placeholder = 0; ((TQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); @@ -94,43 +94,43 @@ static TQString* _qstring_placeholder = 0; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_boundValue__I(JNIEnv* env, jobject obj, jint pos) +Java_org_trinitydesktop_qt_QSqlQuery_boundValue__I(JNIEnv* env, jobject obj, jint pos) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TQVariant", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.trinitydesktop.qt.TQVariant", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) +Java_org_trinitydesktop_qt_QSqlQuery_boundValue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring placeholder) { static TQString* _qstring_placeholder = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((const TQString&)*(TQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.trinitydesktop.qt.TQVariant", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QSqlQuery_finalize(env, obj); + Java_org_trinitydesktop_qt_QSqlQuery_finalize(env, obj); return; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_driver(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_driver(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->driver(), "org.trinitydesktop.qt.TQSqlDriver"); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_exec__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_exec__(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +Java_org_trinitydesktop_qt_QSqlQuery_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) { static TQString* _qstring_query = 0; jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); @@ -138,7 +138,7 @@ static TQString* _qstring_query = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlQuery_executedQuery(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_executedQuery(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->executedQuery(); @@ -146,7 +146,7 @@ Java_org_kde_qt_QSqlQuery_executedQuery(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { delete (TQSqlQuery*)QtSupport::getQt(env, obj); @@ -156,62 +156,62 @@ Java_org_kde_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_first(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_first(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->first(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isActive(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_isActive(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isActive(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isForwardOnly(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_isForwardOnly(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isForwardOnly(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isNull(JNIEnv* env, jobject obj, jint field) +Java_org_trinitydesktop_qt_QSqlQuery_isNull(JNIEnv* env, jobject obj, jint field) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isNull((int) field); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isSelect(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_isSelect(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isSelect(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_isValid(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_isValid(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_lastError(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_lastError(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlQuery*) QtSupport::getQt(env, obj))->lastError()), "org.trinitydesktop.qt.TQSqlError", TRUE); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlQuery_lastQuery(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_lastQuery(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlQuery*) QtSupport::getQt(env, obj))->lastQuery(); @@ -219,14 +219,14 @@ Java_org_kde_qt_QSqlQuery_lastQuery(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_last(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_last(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->last(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlQueryJBridge()); @@ -236,7 +236,7 @@ Java_org_kde_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) { static TQString* _qstring_query = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -247,7 +247,7 @@ static TQString* _qstring_query = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring query, jobject db) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2Lorg_trinitydesktop_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring query, jobject db) { static TQString* _qstring_query = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -258,7 +258,7 @@ static TQString* _qstring_query = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jobject db) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__Lorg_trinitydesktop_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jobject db) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlDatabase*) QtSupport::getQt(env, db))); @@ -268,7 +268,7 @@ Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject other) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__Lorg_trinitydesktop_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject other) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, other))); @@ -278,7 +278,7 @@ Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, jobject obj, jobject r) +Java_org_trinitydesktop_qt_QSqlQuery_newTQSqlQuery__Lorg_trinitydesktop_qt_QSqlResult_2(JNIEnv* env, jobject obj, jobject r) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TQSqlResult*) QtSupport::getQt(env, r))); @@ -288,21 +288,21 @@ Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, j } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_next(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_next(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->next(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_numRowsAffected(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_numRowsAffected(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->numRowsAffected(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_prepare(JNIEnv* env, jobject obj, jstring query) +Java_org_trinitydesktop_qt_QSqlQuery_prepare(JNIEnv* env, jobject obj, jstring query) { static TQString* _qstring_query = 0; jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prepare((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)); @@ -310,51 +310,51 @@ static TQString* _qstring_query = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_prev(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_prev(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->prev(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_result(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_result(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TQSqlResult"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlQuery*) QtSupport::getQt(env, obj))->result(), "org.trinitydesktop.qt.TQSqlResult"); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_seek__I(JNIEnv* env, jobject obj, jint i) +Java_org_trinitydesktop_qt_QSqlQuery_seek__I(JNIEnv* env, jobject obj, jint i) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlQuery_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) +Java_org_trinitydesktop_qt_QSqlQuery_seek__IZ(JNIEnv* env, jobject obj, jint i, jboolean relative) { jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->seek((int) i, (bool) relative); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) +Java_org_trinitydesktop_qt_QSqlQuery_setForwardOnly(JNIEnv* env, jobject obj, jboolean forward) { ((TQSqlQuery*) QtSupport::getQt(env, obj))->setForwardOnly((bool) forward); return; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlQuery_size(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlQuery_size(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSqlQuery*) QtSupport::getQt(env, obj))->size(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlQuery_value(JNIEnv* env, jobject obj, jint i) +Java_org_trinitydesktop_qt_QSqlQuery_value(JNIEnv* env, jobject obj, jint i) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TQVariant", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlQuery*) QtSupport::getQt(env, obj))->value((int) i)), "org.trinitydesktop.qt.TQVariant", TRUE); return xret; } |