aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtSvg/typesystem_svg.xml
blob: afc70824f1062d345476446a534b6564aa3957a8 (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
<?xml version="1.0" encoding="UTF-8"?>
<!--
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-->
<typesystem package="PySide6.QtSvg">
  <load-typesystem name="QtGui/typesystem_gui.xml" generate="no"/>

  <object-type name="QSvgRenderer"/>

  <object-type name="QSvgGenerator">
    <modify-function signature="setOutputDevice(QIODevice*)">
      <modify-argument index="1">
          <reference-count action="set"/>
      </modify-argument>
    </modify-function>

    <modify-function signature="outputDevice()const">
      <modify-argument index="return">
          <define-ownership class="target" owner="default"/>
      </modify-argument>
    </modify-function>
  </object-type>

</typesystem>