aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtSvg/typesystem_svg.xml
blob: 4803f4d93fb271c83dc3357863bcaac405b623f7 (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
<?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"
            namespace-begin="QT_BEGIN_NAMESPACE" namespace-end="QT_END_NAMESPACE">
  <load-typesystem name="QtGui/typesystem_gui.xml" generate="no"/>

  <object-type name="QSvgRenderer"/>
  <namespace-type name="QtSvg" since="6.7">
      <enum-type name="Option" flags="Options"/>
  </namespace-type>

  <object-type name="QSvgGenerator">
    <enum-type name="SvgVersion" since="6.5"/>
    <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>