comparison qt/d2/qt/core/QVariant.d @ 295:463563fc9e17 signals

more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
author eldar
date Sun, 22 Nov 2009 11:01:19 +0000
parents 34a37904ff77
children adae77fdc1ea
comparison
equal deleted inserted replaced
294:bb37b0ed94c9 295:463563fc9e17
610 } 610 }
611 611
612 protected override void __deleteNative() { 612 protected override void __deleteNative() {
613 qtd_QVariant_destructor(__nativeId); 613 qtd_QVariant_destructor(__nativeId);
614 } 614 }
615 615
616 public alias void __isValueType;
617
618 public alias void __isQtType_QVariant;
619
620 struct QTypeInfo
621 {
622 enum bool isComplex = true;
623 enum bool isStatic = false;
624 enum bool isLarge = true;
625 enum bool isPointer = false;
626 enum bool isDummy = false;
627 }
628
629 static void* __constructNativeCopy(const void* orig) {
630 return qtd_QVariant_QVariant_QVariant(cast(void*)orig);
631 }
632
633 static void* __constructPlacedNativeCopy(const void* orig, void* place) {
634 return qtd_QVariant_placed_copy(orig, place);
635 }
616 // Injected code in class 636 // Injected code in class
617 } 637 }
618 extern (C) void qtd_QVariant_destructor(void *ptr); 638 extern (C) void qtd_QVariant_destructor(void *ptr);
619 639
640 private extern(C) void* qtd_QVariant_placed_copy(const void* orig, void* place);
641
642 extern (C) void qtd_QVariant_call_destructor(void *ptr);
620 643
621 // C wrappers 644 // C wrappers
622 private extern(C) void* qtd_QVariant_QVariant(); 645 private extern(C) void* qtd_QVariant_QVariant();
623 private extern(C) void* qtd_QVariant_QVariant_QDataStream(void* s0); 646 private extern(C) void* qtd_QVariant_QVariant_QDataStream(void* s0);
624 private extern(C) void* qtd_QVariant_QVariant_GlobalColor(int color0); 647 private extern(C) void* qtd_QVariant_QVariant_GlobalColor(int color0);