Mercurial > projects > qtd
comparison generator/typesystem_gui.xml @ 14:5015aede8edd
insert() for QPolygons
author | eldar |
---|---|
date | Thu, 14 May 2009 15:53:32 +0000 |
parents | 374a61671448 |
children | 49d696a4e5f3 |
comparison
equal
deleted
inserted
replaced
13:4faee409a98d | 14:5015aede8edd |
---|---|
1048 | 1048 |
1049 </value-type> | 1049 </value-type> |
1050 | 1050 |
1051 <value-type name="QTextListFormat" delete-in-main-thread="yes"/> | 1051 <value-type name="QTextListFormat" delete-in-main-thread="yes"/> |
1052 <value-type name="QPolygon"> | 1052 <value-type name="QPolygon"> |
1053 <extra-includes> | |
1054 <include file-name="qt.core.QPoint" location="java"/> | |
1055 </extra-includes> | |
1056 | |
1053 <modify-function signature="QPolygon(int, const int *)" remove="all"/> | 1057 <modify-function signature="QPolygon(int, const int *)" remove="all"/> |
1054 <modify-function signature="operator+(QVector<QPoint>)const" remove="all"/> | 1058 <modify-function signature="operator+(QVector<QPoint>)const" remove="all"/> |
1055 <modify-function signature="operator<<(QPoint)" remove="all"/> | 1059 <modify-function signature="operator<<(QPoint)" remove="all"/> |
1056 <modify-function signature="operator<<(QVector<QPoint>)" remove="all"/> | 1060 <modify-function signature="operator<<(QVector<QPoint>)" remove="all"/> |
1057 | 1061 |
1058 | 1062 <inject-code class="java"> |
1059 | 1063 public final void insert(int i, QPoint t) { |
1060 <extra-includes> | 1064 qtd_QPolygon_insert_int_QPoint(nativeId, i, t); |
1061 <include file-name="qt.core.QPoint" location="java"/> | 1065 } |
1062 </extra-includes> | 1066 |
1063 <inject-code> | 1067 public final void insert(int i, int n, QPoint t) { |
1064 <import-file name="typesystem_gui-java.java" quote-after-line="class QPolygon___" quote-before-line="}// class"/> | 1068 qtd_QPolygon_insert_int_int_QPoint(nativeId, i, n, t); |
1065 </inject-code> | 1069 } |
1070 </inject-code> | |
1071 <inject-code class="java-free"> | |
1072 private extern(C) void qtd_QPolygon_insert_int_QPoint(void* __this_nativeId, | |
1073 int i0, | |
1074 QPoint t1); | |
1075 private extern(C) void qtd_QPolygon_insert_int_int_QPoint(void* __this_nativeId, | |
1076 int i0, | |
1077 int n1, | |
1078 QPoint t2); | |
1079 </inject-code> | |
1080 <inject-code class="native"> | |
1081 // QPolygon::insert(int i, const QPoint & t) | |
1082 extern "C" DLL_PUBLIC void qtd_QPolygon_insert_int_QPoint | |
1083 (void* __this_nativeId, | |
1084 int i0, | |
1085 QPoint t1) | |
1086 { | |
1087 QPolygon *__qt_this = (QPolygon *) __this_nativeId; | |
1088 __qt_this->insert((int )i0, (const QPoint& )t1); | |
1089 | |
1090 } | |
1091 | |
1092 // QPolygon::insert(int i, int n, const QPoint & t) | |
1093 extern "C" DLL_PUBLIC void qtd_QPolygon_insert_int_int_QPoint | |
1094 (void* __this_nativeId, | |
1095 int i0, | |
1096 int n1, | |
1097 QPoint t2) | |
1098 { | |
1099 QPolygon *__qt_this = (QPolygon *) __this_nativeId; | |
1100 __qt_this->insert((int )i0, (int )n1, (const QPoint& )t2); | |
1101 | |
1102 } | |
1103 </inject-code> | |
1104 | |
1105 <inject-code> | |
1106 <import-file name="typesystem_gui-java.java" quote-after-line="class QPolygon___" quote-before-line="}// class"/> | |
1107 </inject-code> | |
1066 <!-- qtd2 | 1108 <!-- qtd2 |
1067 <inject-code class="native"> | 1109 <inject-code class="native"> |
1068 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QPolygon_add_1private) | 1110 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QPolygon_add_1private) |
1069 (JNIEnv *__jni_env, jobject, jlong nativeId, jint x, jint y) | 1111 (JNIEnv *__jni_env, jobject, jlong nativeId, jint x, jint y) |
1070 { | 1112 { |
1100 return; | 1142 return; |
1101 *polygon << QPointF(x, y); | 1143 *polygon << QPointF(x, y); |
1102 } | 1144 } |
1103 </inject-code> | 1145 </inject-code> |
1104 --> | 1146 --> |
1147 <inject-code class="java"> | |
1148 public final void insert(int i, QPointF t) { | |
1149 qtd_QPolygonF_insert_int_QPointF(nativeId, i, t); | |
1150 } | |
1151 | |
1152 public final void insert(int i, int n, QPointF t) { | |
1153 qtd_QPolygonF_insert_int_int_QPointF(nativeId, i, n, t); | |
1154 } | |
1155 </inject-code> | |
1156 <inject-code class="java-free"> | |
1157 private extern(C) void qtd_QPolygonF_insert_int_QPointF(void* __this_nativeId, | |
1158 int i0, | |
1159 QPointF t1); | |
1160 private extern(C) void qtd_QPolygonF_insert_int_int_QPointF(void* __this_nativeId, | |
1161 int i0, | |
1162 int n1, | |
1163 QPointF t2); | |
1164 </inject-code> | |
1165 <inject-code class="native"> | |
1166 // QPolygonF::insert(int i, const QPointF & t) | |
1167 extern "C" DLL_PUBLIC void qtd_QPolygonF_insert_int_QPointF | |
1168 (void* __this_nativeId, | |
1169 int i0, | |
1170 QPointF t1) | |
1171 { | |
1172 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; | |
1173 __qt_this->insert((int )i0, (const QPointF& )t1); | |
1174 | |
1175 } | |
1176 | |
1177 // QPolygonF::insert(int i, int n, const QPointF & t) | |
1178 extern "C" DLL_PUBLIC void qtd_QPolygonF_insert_int_int_QPointF | |
1179 (void* __this_nativeId, | |
1180 int i0, | |
1181 int n1, | |
1182 QPointF t2) | |
1183 { | |
1184 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; | |
1185 __qt_this->insert((int )i0, (int )n1, (const QPointF& )t2); | |
1186 | |
1187 } | |
1188 </inject-code> | |
1105 </value-type> | 1189 </value-type> |
1106 | 1190 |
1107 <value-type name="QIcon" delete-in-main-thread="yes"> | 1191 <value-type name="QIcon" delete-in-main-thread="yes"> |
1108 <modify-function signature="operator=(QIcon)" remove="all"/> | 1192 <modify-function signature="operator=(QIcon)" remove="all"/> |
1109 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | 1193 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> |