aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-06 09:43:35 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-06 11:08:12 +0000
commitc229b32bf7567adebd08a0b1671b0fe9241d3945 (patch)
treeff5b1ba8b12014f6dfce000a5d67200bf06cd166
parentf3139399b273fdf405f20cba32a08262cd933d6e (diff)
QtCore: Fix documentation modifications
- Remove documentation modification on QUrl. The text in Qt is identical. - Remove C++ 'new' from the QHistoryState code snippet Task-number: PYSIDE-363 Change-Id: I4c0d4fb9b426e24ce9352c954bcd5765d89aeca8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--sources/pyside2/PySide2/QtCore/typesystem_core_common.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
index 3b9986bab..336087619 100644
--- a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
+++ b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
@@ -2373,9 +2373,6 @@
<enum-type name="UrlFormattingOption" />
<enum-type name="UserInputResolutionOption" flags="UserInputResolutionOptions"/>
<enum-type name="ParsingMode"/>
- <modify-documentation xpath='description/para[3]'>
- &lt;para>URLs can be represented in two forms: encoded or unencoded. The unencoded representation is suitable for showing to users, but the encoded representation is typically what you would send to a web server. For example, the unencoded URL &quot;http://bühler.example.com&quot; would be sent to the server as &quot;http://xn--bhler-kva.example.com/List%20of%20applicants.xml&quot;.&lt;/para>
- </modify-documentation>
<extra-includes>
<include file-name="QStringList" location="global"/>
</extra-includes>
@@ -3979,9 +3976,9 @@
<modify-documentation xpath='description/code'>
&lt;code>machine = QStateMachine()
-s1 = new QState()
-s11 = new QState(s1)
-s12 = new QState(s1)
+s1 = QState()
+s11 = QState(s1)
+s12 = QState(s1)
s1h = QHistoryState(s1)
s1h.setDefaultState(s11)