Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port from container::count() and length() to size() | Marc Mutz | 2022-10-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8: auto QtContainerClass = anyOf( expr(hasType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))))).bind(o), expr(hasType(namedDecl(hasAnyName(<classes>)))).bind(o)); makeRule(cxxMemberCallExpr(on(QtContainerClass), callee(cxxMethodDecl(hasAnyName({"count", "length"), parameterCountIs(0))))), changeTo(cat(access(o, cat("size"), "()"))), cat("use 'size()' instead of 'count()/length()'")) a.k.a qt-port-to-std-compatible-api with config Scope: 'Container', with the extended set of container classes recognized. Change-Id: I95f6410e57a6a92b1cf91bbedfbe3d517cab6b44 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> | ||||
* | Use SPDX license identifiers | Lucie Gérard | 2022-05-19 | 1 | -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: I5335388c0472b0ee554234fc7eca60769e504660 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> | ||||
* | QtHelp: Add filter settings struct and editor for it | Jarek Kobus | 2020-01-09 | 1 | -0/+229 |
Adds the QHelpFilterSettings class, describing all the available filter details. Adds the QHelpFilterSettingsWidget class, serving as an editor for all available filter. It also provides methods for storing and retrieving filter details into / from the help settings. Change-Id: Ie87578fc30d8114b95508f5b761e7914447c247a Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> |