diff 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
line wrap: on
line diff
--- a/cpp/qt_core/QMetaObject_shell.cpp	Fri Nov 13 20:42:51 2009 +0000
+++ b/cpp/qt_core/QMetaObject_shell.cpp	Sun Nov 22 11:01:19 2009 +0000
@@ -48,6 +48,13 @@
     list.append(45);
 }
 
+extern "C" DLL_PUBLIC void qtd_create_QList_double(void *nativeId)
+{
+    QList<double> & list = (*(QList<double> *)nativeId);
+    list.append(54.44);
+    list.append(45.55);
+}
+
 extern "C" DLL_PUBLIC void qtd_create_QList_QObject(void *nativeId)
 {
     QList<QObject*> & list2 = (*(QList<QObject*> *)nativeId);