summaryrefslogtreecommitdiffstats
path: root/PySide/QtDeclarative/typesystem_declarative.xml
blob: c672a8c784f09404bb75e2c1f3fcbd3de2f84772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0"?>
<!--
    This file is part of PySide project.
    Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    Contact: PySide team <contact@pyside.org>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-->
<typesystem package="PySide.QtDeclarative">
    <load-typesystem name="typesystem_core.xml" generate="no"/>
    <load-typesystem name="typesystem_network.xml" generate="no"/>
    <load-typesystem name="typesystem_gui.xml" generate="no"/>

    <enum-type identified-by-value="QML_HAS_ATTACHED_PROPERTIES" since="4.7">
        <extra-includes>
            <include file-name="QtDeclarative" location="global"/>
        </extra-includes>
    </enum-type>

    <inject-code>
        Shiboken::TypeResolver::createValueTypeResolver&lt; QList&lt;QObject*&gt; &gt;("QList&lt;QObject*&gt;");
    </inject-code>

    <object-type name="QDeclarativeExtensionInterface"/>
    <object-type name="QDeclarativeComponent">
        <enum-type name="Status"/>
    </object-type>
    <object-type name="QDeclarativeContext" />
    <object-type name="QDeclarativeEngine">
        <enum-type name="ObjectOwnership" />
        <modify-function signature="setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory*)">
            <modify-argument index="1">
                <parent index="this" action="add" />
            </modify-argument>
        </modify-function>
    </object-type>
    <value-type name="QDeclarativeError" />
    <object-type name="QDeclarativeExpression" />
    <object-type name="QDeclarativeExtensionPlugin" />
    <object-type name="QDeclarativeImageProvider">
        <enum-type name="ImageType" />
    </object-type>
    <object-type name="QDeclarativeItem">
        <enum-type name="TransformOrigin" />
    </object-type>

    <value-type name="QDeclarativeListReference" />
    <object-type name="QDeclarativeNetworkAccessManagerFactory" >
        <modify-function signature="create(QObject *)">
          <modify-argument index="return">
            <define-ownership class="target" owner="c++"/>
          </modify-argument>
        </modify-function>
    </object-type>
    <object-type name="QDeclarativeParserStatus" />

    <value-type name="QDeclarativeProperty">
        <enum-type name="PropertyTypeCategory" />
        <enum-type name="Type" />
    </value-type>

    <object-type name="QDeclarativePropertyMap" />
    <object-type name="QDeclarativePropertyValueSource" />
    <value-type name="QDeclarativeScriptString" />
    <object-type name="QDeclarativeView">
        <enum-type name="ResizeMode" />
        <enum-type name="Status" />
    </object-type>
</typesystem>