Mercurial > projects > qtd
comparison cpp/qt_core/QVariant_shell.cpp @ 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 | 9784459f0750 |
comparison
equal
deleted
inserted
replaced
294:bb37b0ed94c9 | 295:463563fc9e17 |
---|---|
20 extern "C" DLL_PUBLIC void qtd_QVariant_destructor(void *ptr) | 20 extern "C" DLL_PUBLIC void qtd_QVariant_destructor(void *ptr) |
21 { | 21 { |
22 delete (QVariant *)ptr; | 22 delete (QVariant *)ptr; |
23 } | 23 } |
24 | 24 |
25 extern "C" DLL_PUBLIC void qtd_QVariant_call_destructor(QVariant *ptr) | |
26 { | |
27 ptr->~QVariant(); | |
28 } | |
29 | |
25 QVariant_QtDShell::QVariant_QtDShell() | 30 QVariant_QtDShell::QVariant_QtDShell() |
26 : QVariant() | 31 : QVariant() |
27 { | 32 { |
28 } | 33 } |
29 | 34 |
959 // ---externC---end | 964 // ---externC---end |
960 // Field accessors | 965 // Field accessors |
961 | 966 |
962 | 967 |
963 | 968 |
969 extern "C" DLL_PUBLIC void* qtd_QVariant_placed_copy(void* variant0, void* place) { | |
970 const QVariant& __qt_variant0 = (const QVariant& ) *(QVariant *)variant0; | |
971 QVariant *result = new (place)QVariant((const QVariant& )__qt_variant0); | |
972 return (void *) result; | |
973 } |