diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQSqlDatabase.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQSqlDatabase.cpp | 166 |
1 files changed, 83 insertions, 83 deletions
diff --git a/qtjava/javalib/qtjava/TQSqlDatabase.cpp b/qtjava/javalib/qtjava/TQSqlDatabase.cpp index 22e87343..0309178d 100644 --- a/qtjava/javalib/qtjava/TQSqlDatabase.cpp +++ b/qtjava/javalib/qtjava/TQSqlDatabase.cpp @@ -22,37 +22,37 @@ public: TQSqlDatabaseJBridge(TQSqlDriver* arg1) : TQSqlDatabase(arg1) {}; ~TQSqlDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { TQObject::removeChild(arg1); } return; } void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) { TQObject::customEvent(arg1); } return; } void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) { TQObject::timerEvent(arg1); } return; } void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) { TQObject::childEvent(arg1); } return; } void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) { TQObject::insertChild(arg1); } return; } bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSqlDatabase",object,event)) { + if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.qt.TQSqlDatabase",object,event)) { return TQObject::eventFilter(object,event); } else { return TRUE; @@ -61,43 +61,43 @@ public: }; JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type) +Java_org_trinitydesktop_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type) { (void) cls; static TQString* _qstring_type = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring connectionName) +Java_org_trinitydesktop_qt_QSqlDatabase_addDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring connectionName) { (void) cls; static TQString* _qstring_type = 0; static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jclass cls, jobject driver) +Java_org_trinitydesktop_qt_QSqlDatabase_addDatabase__Lorg_trinitydesktop_qt_QSqlDriver_2(JNIEnv* env, jclass cls, jobject driver) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver)), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_addDatabase__Lorg_kde_qt_QSqlDriver_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject driver, jstring connectionName) +Java_org_trinitydesktop_qt_QSqlDatabase_addDatabase__Lorg_trinitydesktop_qt_QSqlDriver_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject driver, jstring connectionName) { (void) cls; static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver), (const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) { const char* _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->className(); @@ -105,21 +105,21 @@ Java_org_kde_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_close(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_close(JNIEnv* env, jobject obj) { ((TQSqlDatabase*) QtSupport::getQt(env, obj))->close(); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_commit(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_commit(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->commit(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_connectOptions(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_connectOptions(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->connectOptions(); @@ -127,7 +127,7 @@ Java_org_kde_qt_QSqlDatabase_connectOptions(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) +Java_org_trinitydesktop_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) { (void) cls; (void) env; @@ -136,7 +136,7 @@ Java_org_kde_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_contains__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +Java_org_trinitydesktop_qt_QSqlDatabase_contains__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) { (void) cls; static TQString* _qstring_connectionName = 0; @@ -145,7 +145,7 @@ static TQString* _qstring_connectionName = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_databaseName(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_databaseName(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->databaseName(); @@ -153,40 +153,40 @@ Java_org_kde_qt_QSqlDatabase_databaseName(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__(JNIEnv* env, jclass cls) +Java_org_trinitydesktop_qt_QSqlDatabase_database__(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database(), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database(), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +Java_org_trinitydesktop_qt_QSqlDatabase_database__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) { (void) cls; static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_database__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring connectionName, jboolean open) +Java_org_trinitydesktop_qt_QSqlDatabase_database__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring connectionName, jboolean open) { (void) cls; static TQString* _qstring_connectionName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.trinitydesktop.qt.TQSqlDatabase"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QSqlDatabase_finalize(env, obj); + Java_org_trinitydesktop_qt_QSqlDatabase_finalize(env, obj); return; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->driverName(); @@ -194,14 +194,14 @@ Java_org_kde_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_driver(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_driver(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TQSqlDriver"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->driver(), "org.trinitydesktop.qt.TQSqlDriver"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) +Java_org_trinitydesktop_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) { TQStringList _qlist; (void) cls; @@ -210,22 +210,22 @@ Java_org_kde_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_exec__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_exec__(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec()), "org.kde.qt.TQSqlQueryInterface", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec()), "org.trinitydesktop.qt.TQSqlQueryInterface", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +Java_org_trinitydesktop_qt_QSqlDatabase_exec__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) { static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))), "org.kde.qt.TQSqlQueryInterface", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlQuery(((TQSqlDatabase*) QtSupport::getQt(env, obj))->exec((const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query))), "org.trinitydesktop.qt.TQSqlQueryInterface", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQSqlDatabase*)QtSupport::getQt(env, obj))->parent() == 0) { delete (TQSqlDatabase*)QtSupport::getQt(env, obj); @@ -235,7 +235,7 @@ Java_org_kde_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->hostName(); @@ -243,13 +243,13 @@ Java_org_kde_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isDriverAvailable(JNIEnv* env, jclass cls, jstring name) +Java_org_trinitydesktop_qt_QSqlDatabase_isDriverAvailable(JNIEnv* env, jclass cls, jstring name) { (void) cls; static TQString* _qstring_name = 0; @@ -258,35 +258,35 @@ static TQString* _qstring_name = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isOpenError(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_isOpenError(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpenError(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_isOpen(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_isOpen(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->isOpen(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_lastError(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_lastError(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDatabase*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TQSqlError", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlError(((TQSqlDatabase*) QtSupport::getQt(env, obj))->lastError()), "org.trinitydesktop.qt.TQSqlError", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_metaObject(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSqlDatabase*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name) { static TQString* _qstring_type = 0; static TQString* _qstring_name = 0; @@ -298,7 +298,7 @@ static TQString* _qstring_name = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent) { static TQString* _qstring_type = 0; static TQString* _qstring_name = 0; @@ -310,7 +310,7 @@ static TQString* _qstring_name = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent, jstring objname) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent, jstring objname) { static TQString* _qstring_type = 0; static TQString* _qstring_name = 0; @@ -323,7 +323,7 @@ static TQCString* _qstring_objname = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jobject obj, jobject driver) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Lorg_trinitydesktop_qt_QSqlDriver_2(JNIEnv* env, jobject obj, jobject driver) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver))); @@ -333,7 +333,7 @@ Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject driver, jobject parent) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Lorg_trinitydesktop_qt_QSqlDriver_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject driver, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent))); @@ -343,7 +343,7 @@ Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_ } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newTQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject driver, jobject parent, jstring objname) +Java_org_trinitydesktop_qt_QSqlDatabase_newTQSqlDatabase__Lorg_trinitydesktop_qt_QSqlDriver_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject driver, jobject parent, jstring objname) { static TQCString* _qstring_objname = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -354,14 +354,14 @@ static TQCString* _qstring_objname = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_open__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_open__(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) +Java_org_trinitydesktop_qt_QSqlDatabase_open__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring user, jstring password) { static TQString* _qstring_user = 0; static TQString* _qstring_password = 0; @@ -370,7 +370,7 @@ static TQString* _qstring_password = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_password(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_password(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->password(); @@ -378,52 +378,52 @@ Java_org_kde_qt_QSqlDatabase_password(JNIEnv* env, jobject obj) } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlDatabase_port(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_port(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->port(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_primaryIndex(JNIEnv* env, jobject obj, jstring tablename) +Java_org_trinitydesktop_qt_QSqlDatabase_primaryIndex(JNIEnv* env, jobject obj, jstring tablename) { static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDatabase*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlIndex", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlIndex(((TQSqlDatabase*) QtSupport::getQt(env, obj))->primaryIndex((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.trinitydesktop.qt.TQSqlIndex", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) +Java_org_trinitydesktop_qt_QSqlDatabase_recordInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) { static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.trinitydesktop.qt.TQSqlRecordInfo", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_recordInfo__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +Java_org_trinitydesktop_qt_QSqlDatabase_recordInfo__Lorg_trinitydesktop_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecordInfo", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecordInfo(((TQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.trinitydesktop.qt.TQSqlRecordInfo", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) +Java_org_trinitydesktop_qt_QSqlDatabase_record__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tablename) { static TQString* _qstring_tablename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecord", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQString&)*(TQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.trinitydesktop.qt.TQSqlRecord", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_record__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) +Java_org_trinitydesktop_qt_QSqlDatabase_record__Lorg_trinitydesktop_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject query) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TQSqlRecord", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSqlRecord(((TQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, query))), "org.trinitydesktop.qt.TQSqlRecord", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) +Java_org_trinitydesktop_qt_QSqlDatabase_removeDatabase__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring connectionName) { (void) cls; static TQString* _qstring_connectionName = 0; @@ -432,7 +432,7 @@ static TQString* _qstring_connectionName = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jclass cls, jobject db) +Java_org_trinitydesktop_qt_QSqlDatabase_removeDatabase__Lorg_trinitydesktop_qt_QSqlDatabase_2(JNIEnv* env, jclass cls, jobject db) { (void) cls; TQSqlDatabaseJBridge::removeDatabase((TQSqlDatabase*) QtSupport::getQt(env, db)); @@ -440,21 +440,21 @@ Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_rollback(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_rollback(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->rollback(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setConnectOptions__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_setConnectOptions__(JNIEnv* env, jobject obj) { ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring options) +Java_org_trinitydesktop_qt_QSqlDatabase_setConnectOptions__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring options) { static TQString* _qstring_options = 0; ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions((const TQString&)*(TQString*) QtSupport::toTQString(env, options, &_qstring_options)); @@ -462,7 +462,7 @@ static TQString* _qstring_options = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setDatabaseName(JNIEnv* env, jobject obj, jstring name) +Java_org_trinitydesktop_qt_QSqlDatabase_setDatabaseName(JNIEnv* env, jobject obj, jstring name) { static TQString* _qstring_name = 0; ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setDatabaseName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); @@ -470,7 +470,7 @@ static TQString* _qstring_name = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setHostName(JNIEnv* env, jobject obj, jstring host) +Java_org_trinitydesktop_qt_QSqlDatabase_setHostName(JNIEnv* env, jobject obj, jstring host) { static TQString* _qstring_host = 0; ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setHostName((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); @@ -478,7 +478,7 @@ static TQString* _qstring_host = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setPassword(JNIEnv* env, jobject obj, jstring password) +Java_org_trinitydesktop_qt_QSqlDatabase_setPassword(JNIEnv* env, jobject obj, jstring password) { static TQString* _qstring_password = 0; ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); @@ -486,14 +486,14 @@ static TQString* _qstring_password = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setPort(JNIEnv* env, jobject obj, jint p) +Java_org_trinitydesktop_qt_QSqlDatabase_setPort(JNIEnv* env, jobject obj, jint p) { ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setPort((int) p); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_setUserName(JNIEnv* env, jobject obj, jstring name) +Java_org_trinitydesktop_qt_QSqlDatabase_setUserName(JNIEnv* env, jobject obj, jstring name) { static TQString* _qstring_name = 0; ((TQSqlDatabase*) QtSupport::getQt(env, obj))->setUserName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); @@ -501,7 +501,7 @@ static TQString* _qstring_name = 0; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_tables__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_tables__(JNIEnv* env, jobject obj) { TQStringList _qlist; _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables(); @@ -509,7 +509,7 @@ Java_org_kde_qt_QSqlDatabase_tables__(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QSqlDatabase_tables__I(JNIEnv* env, jobject obj, jint type) +Java_org_trinitydesktop_qt_QSqlDatabase_tables__I(JNIEnv* env, jobject obj, jint type) { TQStringList _qlist; _qlist = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->tables((TQSql::TableType) type); @@ -517,7 +517,7 @@ Java_org_kde_qt_QSqlDatabase_tables__I(JNIEnv* env, jobject obj, jint type) } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) +Java_org_trinitydesktop_qt_QSqlDatabase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { TQString _qstring; (void) cls; @@ -527,7 +527,7 @@ static TQCString* _qstring_arg1 = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) +Java_org_trinitydesktop_qt_QSqlDatabase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { TQString _qstring; (void) cls; @@ -538,14 +538,14 @@ static TQCString* _qstring_arg2 = 0; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QSqlDatabase_transaction(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_transaction(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->transaction(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QSqlDatabase_userName(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QSqlDatabase_userName(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->userName(); |