Mercurial > projects > qtd
comparison cpp/qt_core/QMetaObject_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 | 19498f420252 |
children | 9784459f0750 |
comparison
equal
deleted
inserted
replaced
294:bb37b0ed94c9 | 295:463563fc9e17 |
---|---|
46 QList<int> & list = (*(QList<int> *)nativeId); | 46 QList<int> & list = (*(QList<int> *)nativeId); |
47 list.append(54); | 47 list.append(54); |
48 list.append(45); | 48 list.append(45); |
49 } | 49 } |
50 | 50 |
51 extern "C" DLL_PUBLIC void qtd_create_QList_double(void *nativeId) | |
52 { | |
53 QList<double> & list = (*(QList<double> *)nativeId); | |
54 list.append(54.44); | |
55 list.append(45.55); | |
56 } | |
57 | |
51 extern "C" DLL_PUBLIC void qtd_create_QList_QObject(void *nativeId) | 58 extern "C" DLL_PUBLIC void qtd_create_QList_QObject(void *nativeId) |
52 { | 59 { |
53 QList<QObject*> & list2 = (*(QList<QObject*> *)nativeId); | 60 QList<QObject*> & list2 = (*(QList<QObject*> *)nativeId); |
54 | 61 |
55 QList<QObject*> list; | 62 QList<QObject*> list; |