Commit Graph

10 Commits

Author SHA1 Message Date
Kai Köhne
56baf8c058 Remove GPL-3.0+ from license identifiers
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...

While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only

Change was done by running

  find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;

Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-01-06 11:15:13 +00:00
David Schulz
a634833720 Docker: detect python in docker images
Change-Id: I841cdb7ce1cb8f34565a5e6993c5c825937e3eab
Reviewed-by: hjk <hjk@qt.io>
2022-09-06 08:47:01 +00:00
Lucie Gérard
a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00
Jarek Kobus
9508ee1347 Utils: More forward declarations / drop unused headers [L-O]
Round 1 - focus on headers.
For classes with initial in range [L-O].
Try to keep the same separators between different kind of headers.

Drop changes to NameValueDictionary for now, as apparently
environmentfwd.h is broken currently. It looks we can't
forward declare the argument T inside QList<T> - the type
must be complete.

Change-Id: If26e88357a2ffbb91a79c4d003046443d98d5673
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2022-05-25 07:14:40 +00:00
hjk
efc39f971e Qt6: Workaround for ListModel iterators
Change-Id: I622b42b8aea4f06b62e8739f7e8abb234ed7d3b4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-07-30 07:04:03 +00:00
hjk
8017c0763e Utils: Rename ListModel::forItems to ListModel::forAllData
This is more consistent with allData() and setAllData().

Adjust its only user.

Change-Id: Idd5cea3f37c6a84d052bd56a4a413a35d80289ad
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-05-20 07:52:13 +00:00
hjk
d475daecf0 Utils: Add some convenience functions to ListModel
allData(), setAllData(), and findIndex(<predicate>)

Change-Id: I1f43e3b5c3810f219057e7e09338e06a66e1858a
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-05-20 07:29:22 +00:00
Christian Kandeler
486a86558f Utils::ListView: Silence clang warning about hidden overload
Change-Id: I8702353b65355f9ab97c10001045250586b3f858
Reviewed-by: hjk <hjk@qt.io>
2020-04-23 12:10:58 +00:00
David Schulz
46f7cd08ac Utils: return ChildType iterator in ListModel
Change-Id: I2eeb710ddc8954fe64c6421b8684fb80ed59c13d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-10 05:49:32 +00:00
hjk
bceae5b2a9 Utils: Introduce ListModel convenience for one-level tree model
This is only syntactic sugar, but helps to squash fears of TreeModel
being "overkill" for a simple list.

Change-Id: I5069229f79c224f10fcbb2fe7081677a127eb533
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-03-01 09:22:09 +00:00