aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/containertest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Purge remaining uses of old Qt string literalsFriedemann Kleint2022-11-221-8/+10
| | | | | | | | | | Amends a3e882b06eda8f9a63cf3834a99640034775269b. Pick-to: 6.4 Task-number: QTBUG-98434 Change-Id: I23ad60d6e4201aa2d8dbf3fa8892d3df3c56c5fc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Use SPDX license identifiersLucie Gérard2022-05-271-27/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* shiboken6: Handle PySets as function parametersFriedemann Kleint2021-11-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | Python sets are iterable but not of sequence type. While the existing converter code from the templates uses iterators, the built-in check functions convertibleSequenceTypes()/checkSequenceTypes() assume a PySequence and would fail for PySets. Add new check functions convertibleIterableTypes()/checkIterableTypes() using iterators and use them for PySet. Add a test and a test for lists as a drive-by. [ChangeLog][PySide6] sets are now supported for functions taking a QSet. Pick-to: 6.2 Task-number: PYSIDE-174 Task-number: PYSIDE-1666 Change-Id: I883869162e7dfa9cd0e1669f941fb7864f0cf825 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Handle QMultiMap/QMultiHash with several values per keyFriedemann Kleint2021-07-211-0/+62
There are occurrences of QMultiMap in QtConnectivity and QtNetworkAuth. QMultiMap has no equivalent in Python, lists should be used for the values. Add converters for QMultiMap/QMultiHash. [ChangeLog][PySide6] QMultiMap and QMultiHash are now converted to a dict of key/list of values (corresponding to defaultdict). Change-Id: I98ddb2479e3434f1ca1cc33a41519e73ce4fb805 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>