diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-06 09:43:35 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-06 11:08:12 +0000 |
commit | c229b32bf7567adebd08a0b1671b0fe9241d3945 (patch) | |
tree | ff5b1ba8b12014f6dfce000a5d67200bf06cd166 | |
parent | f3139399b273fdf405f20cba32a08262cd933d6e (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.xml | 9 |
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]'> - <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 "http://bühler.example.com" would be sent to the server as "http://xn--bhler-kva.example.com/List%20of%20applicants.xml".</para> - </modify-documentation> <extra-includes> <include file-name="QStringList" location="global"/> </extra-includes> @@ -3979,9 +3976,9 @@ <modify-documentation xpath='description/code'> <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) |