Mercurial > projects > qtd
comparison qt/core/QVariant.d @ 6:374a61671448
wrapped QRect
author | eldar |
---|---|
date | Wed, 13 May 2009 23:40:31 +0000 |
parents | 323efbe5c2f7 |
children | fd6eb3a1759d |
comparison
equal
deleted
inserted
replaced
5:834feae7809b | 6:374a61671448 |
---|---|
177 super(__qt_return_value); | 177 super(__qt_return_value); |
178 } | 178 } |
179 | 179 |
180 | 180 |
181 public this(QRect rect) { | 181 public this(QRect rect) { |
182 void* __qt_return_value = qtd_QVariant_QVariant_QRect(rect is null ? null : rect.nativeId); | 182 void* __qt_return_value = qtd_QVariant_QVariant_QRect(&rect); |
183 super(__qt_return_value); | 183 super(__qt_return_value); |
184 } | 184 } |
185 | 185 |
186 | 186 |
187 public this(QRectF rect) { | 187 public this(QRectF rect) { |
188 void* __qt_return_value = qtd_QVariant_QVariant_QRectF(rect is null ? null : rect.nativeId); | 188 void* __qt_return_value = qtd_QVariant_QVariant_QRectF(&rect); |
189 super(__qt_return_value); | 189 super(__qt_return_value); |
190 } | 190 } |
191 | 191 |
192 | 192 |
193 public this(QRegExp regExp) { | 193 public this(QRegExp regExp) { |
373 public final QPointF toPointF() { | 373 public final QPointF toPointF() { |
374 return qtd_QVariant_toPointF(nativeId); | 374 return qtd_QVariant_toPointF(nativeId); |
375 } | 375 } |
376 | 376 |
377 public final QRect toRect() { | 377 public final QRect toRect() { |
378 void* __qt_return_value = qtd_QVariant_toRect(nativeId); | 378 return qtd_QVariant_toRect(nativeId); |
379 return new QRect(__qt_return_value, false); | |
380 } | 379 } |
381 | 380 |
382 public final QRectF toRectF() { | 381 public final QRectF toRectF() { |
383 void* __qt_return_value = qtd_QVariant_toRectF(nativeId); | 382 return qtd_QVariant_toRectF(nativeId); |
384 return new QRectF(__qt_return_value, false); | |
385 } | 383 } |
386 | 384 |
387 public final QRegExp toRegExp() { | 385 public final QRegExp toRegExp() { |
388 void* __qt_return_value = qtd_QVariant_toRegExp(nativeId); | 386 void* __qt_return_value = qtd_QVariant_toRegExp(nativeId); |
389 return new QRegExp(__qt_return_value, false); | 387 return new QRegExp(__qt_return_value, false); |
515 private extern(C) void* qtd_QVariant_toLocale(void* __this_nativeId); | 513 private extern(C) void* qtd_QVariant_toLocale(void* __this_nativeId); |
516 private extern(C) long qtd_QVariant_toLongLong_nativepointerbool(void* __this_nativeId, | 514 private extern(C) long qtd_QVariant_toLongLong_nativepointerbool(void* __this_nativeId, |
517 bool* ok0); | 515 bool* ok0); |
518 private extern(C) QPoint qtd_QVariant_toPoint(void* __this_nativeId); | 516 private extern(C) QPoint qtd_QVariant_toPoint(void* __this_nativeId); |
519 private extern(C) QPointF qtd_QVariant_toPointF(void* __this_nativeId); | 517 private extern(C) QPointF qtd_QVariant_toPointF(void* __this_nativeId); |
520 private extern(C) void* qtd_QVariant_toRect(void* __this_nativeId); | 518 private extern(C) QRect qtd_QVariant_toRect(void* __this_nativeId); |
521 private extern(C) void* qtd_QVariant_toRectF(void* __this_nativeId); | 519 private extern(C) QRectF qtd_QVariant_toRectF(void* __this_nativeId); |
522 private extern(C) void* qtd_QVariant_toRegExp(void* __this_nativeId); | 520 private extern(C) void* qtd_QVariant_toRegExp(void* __this_nativeId); |
523 private extern(C) QSize qtd_QVariant_toSize(void* __this_nativeId); | 521 private extern(C) QSize qtd_QVariant_toSize(void* __this_nativeId); |
524 private extern(C) QSizeF qtd_QVariant_toSizeF(void* __this_nativeId); | 522 private extern(C) QSizeF qtd_QVariant_toSizeF(void* __this_nativeId); |
525 private extern(C) void qtd_QVariant_toString(void* __this_nativeId, | 523 private extern(C) void qtd_QVariant_toString(void* __this_nativeId, |
526 void* __java_return_value); | 524 void* __java_return_value); |