view generator/typesystem_xmlpatterns-java.xml @ 248:7664de4a55e5

Fixed #23. QtD_QObjectEntity is not created dynamically for shell classes any more. Class initialization is now performed by static constructors. When wrapping QObjects returned from functions, their run-time types are now taken into account. QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges) Minor changes (including unnecessary).
author maxter
date Thu, 20 Aug 2009 14:47:17 +0000
parents e78566595089
children
line wrap: on
line source

<?xml version="1.0"?>
<typesystem package="qt.xmlpatterns" default-superclass="qt.QtJambiObject">
    <inject-code>
    qt.Utilities.loadQtLibrary("QtNetwork");
    qt.Utilities.loadQtLibrary("QtXmlPatterns");
    </inject-code>

    <value-type name="QXmlNodeModelIndex">
      <inject-code>
            <import-file name="typesystem_xmlpatterns-java.java" quote-after-line="class QXmlNodeModelIndex___" quote-before-line="}// class"/>
      </inject-code>
    </value-type>

    <value-type name="QXmlName">
      <inject-code>
    <import-file name="typesystem_xmlpatterns-java.java" quote-after-line="class QXmlName___" quote-before-line="}// class" />
      </inject-code>
    </value-type>

    <value-type name="QSimpleXmlNodeModel">
      <modify-function signature="namePool()const" access="private" rename="namePool_private" />
      <inject-code>
    <import-file name="typesystem_xmlpatterns-java.java" quote-after-line="class QSimpleXmlNodeModel___" quote-before-line="}// class" />
      </inject-code>
    </value-type>
</typesystem>