You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.2 KiB
96 lines
3.2 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <tqstring.h>
|
|
#include <tqvariant.h>
|
|
#include <tqsqlpropertymap.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <qtjava/TQSqlPropertyMap.h>
|
|
|
|
class TQSqlPropertyMapJBridge : public TQSqlPropertyMap
|
|
{
|
|
public:
|
|
TQSqlPropertyMapJBridge() : TQSqlPropertyMap() {};
|
|
~TQSqlPropertyMapJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
};
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_defaultMap(JNIEnv* env, jclass cls)
|
|
{
|
|
(void) cls;
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlPropertyMapJBridge::defaultMap(), "org.trinitydesktop.qt.TQSqlPropertyMap");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_dispose(JNIEnv* env, jobject obj)
|
|
{
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_finalize(env, obj);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_finalize(JNIEnv* env, jobject obj)
|
|
{
|
|
if (QtSupport::allocatedInJavaWorld(env, obj)) {
|
|
delete (TQSqlPropertyMap*)QtSupport::getQt(env, obj);
|
|
QtSupport::setQt(env, obj, 0);
|
|
}
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_insert(JNIEnv* env, jobject obj, jstring classname, jstring property)
|
|
{
|
|
static TQString* _qstring_classname = 0;
|
|
static TQString* _qstring_property = 0;
|
|
((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname), (const TQString&)*(TQString*) QtSupport::toTQString(env, property, &_qstring_property));
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_installDefaultMap(JNIEnv* env, jclass cls, jobject map)
|
|
{
|
|
(void) cls;
|
|
TQSqlPropertyMapJBridge::installDefaultMap((TQSqlPropertyMap*) QtSupport::getQt(env, map));
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_isDisposed(JNIEnv* env, jobject obj)
|
|
{
|
|
return (QtSupport::getQt(env, obj) == 0);
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_newTQSqlPropertyMap(JNIEnv* env, jobject obj)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new TQSqlPropertyMapJBridge());
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_property(JNIEnv* env, jobject obj, jobject widget)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->property((TQWidget*) QtSupport::getQt(env, widget))), "org.trinitydesktop.qt.TQVariant", TRUE);
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_remove(JNIEnv* env, jobject obj, jstring classname)
|
|
{
|
|
static TQString* _qstring_classname = 0;
|
|
((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, classname, &_qstring_classname));
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QSqlPropertyMap_setProperty(JNIEnv* env, jobject obj, jobject widget, jobject value)
|
|
{
|
|
((TQSqlPropertyMap*) QtSupport::getQt(env, obj))->setProperty((TQWidget*) QtSupport::getQt(env, widget), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value));
|
|
return;
|
|
}
|
|
|