diff generator/typesystem_core.xml @ 20:deb0cc1d053d

fix for QByteArray.at
author eldar
date Thu, 14 May 2009 19:52:54 +0000
parents 5015aede8edd
children cf8a415f3f32
line wrap: on
line diff
--- a/generator/typesystem_core.xml	Thu May 14 18:20:24 2009 +0000
+++ b/generator/typesystem_core.xml	Thu May 14 19:52:54 2009 +0000
@@ -1183,7 +1183,13 @@
   <interface-type name="QFactoryInterface" java-name="QAbstractFactory"/>
 
   <value-type name="QByteArray">
-
+    
+    <modify-function signature="at(int)const">
+        <modify-argument index="return">
+            <replace-type modified-type="ubyte"/>
+        </modify-argument>
+    </modify-function>
+    
     <extra-includes>
         <include file-name="QNoImplicitBoolCast" location="global"/>
     </extra-includes>