1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
//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_kde_qt_QSqlPropertyMap_defaultMap(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlPropertyMapJBridge::defaultMap(), "org.kde.qt.TQSqlPropertyMap");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSqlPropertyMap_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QSqlPropertyMap_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_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_kde_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_kde_qt_QSqlPropertyMap_installDefaultMap(JNIEnv* env, jclass cls, jobject map)
{
(void) cls;
TQSqlPropertyMapJBridge::installDefaultMap((TQSqlPropertyMap*) QtSupport::getQt(env, map));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSqlPropertyMap_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_kde_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_kde_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.kde.qt.TQVariant", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_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_kde_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;
}
|