~ubuntu-branches/ubuntu/natty/pyside/natty

« back to all changes in this revision

Viewing changes to tests/pysidetest/typesystem_pysidetest.xml

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2011-02-18 18:01:00 UTC
  • mfrom: (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110218180100-y8aqmcdbcbd6gpeh
Tags: upstream-1.0.0~rc1
ImportĀ upstreamĀ versionĀ 1.0.0~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<typesystem package="testbinding">
 
3
    <load-typesystem name="typesystem_core.xml" generate="no" />
 
4
    <load-typesystem name="typesystem_gui.xml" generate="no"/>
 
5
    <object-type name="TestObject" />
 
6
 
 
7
    <inject-code>
 
8
        qRegisterMetaType&lt;PySideInt>("PySideInt");
 
9
        qRegisterMetaType&lt;PySideCPP2::PySideLong>("PySideLong");
 
10
    </inject-code>
 
11
 
 
12
    <namespace-type name="PySideCPP">
 
13
        <object-type name="TestObjectWithNamespace" >
 
14
            <modify-function signature="emitSignal(PySideCPP::TestObjectWithNamespace*)">
 
15
              <modify-argument index="1">
 
16
                <replace-type modified-type="TestObjectWithNamespace*"/>
 
17
              </modify-argument>
 
18
            </modify-function>
 
19
        </object-type>
 
20
    </namespace-type>
 
21
 
 
22
    <namespace-type name="PySideCPP2" generate="no">
 
23
        <object-type name="TestObjectWithoutNamespace" >
 
24
            <modify-function signature="emitSignalWithNamespace(PySideCPP2::TestObjectWithoutNamespace*)">
 
25
              <modify-argument index="1">
 
26
                <replace-type modified-type="PySideCPP2::TestObjectWithoutNamespace*"/>
 
27
              </modify-argument>
 
28
            </modify-function>
 
29
        </object-type>
 
30
    </namespace-type>
 
31
 
 
32
    <object-type name="TestView" >
 
33
        <modify-function signature="TestView(QAbstractListModel*,QObject*)">
 
34
            <modify-argument index="1">
 
35
                <reference-count action="add"/>
 
36
            </modify-argument>
 
37
        </modify-function>
 
38
    </object-type>
 
39
</typesystem>
 
40