aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs/settings/qqmlsettings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QQmlSettings: Avoid ODR violation between Core and LabsFabian Kosmale2025-03-241-46/+46
| | | | | | | | | | | | We don't explicitly link against both, which avoids C++ level UB. But if the class name is exactly the same, the metatype system is unable to discern them. That in turn means that the meta-type based valiadion code in QML breaks. Fixes: QTBUG-135039 Pick-to: 6.9 6.8 6.5 Change-Id: Ib9c92511fd8eb7de9dcbef2c997b45cf76572a08 Reviewed-by: Ulf Hermann <[email protected]>
* Doc: Replace \instantiates with \nativetypePaul Wicking2024-08-201-1/+1
| | | | | | | | | | | Since the implementation of the `\nativetype`-command in QDoc, the `\instantiates`-command is deprecated. Replace the use of the deprecated command in favor of its replacement. Pick-to: 6.8 Task-number: QTBUG-128216 Change-Id: I23d9f66d3f6db2e5f827d7868497a432bb9b0626 Reviewed-by: Venugopal Shivashankar <[email protected]>
* Make more logging categories staticUlf Hermann2024-06-241-1/+1
| | | | | | | Non-static, non-forward-declared logging categories are deprecated. Change-Id: Iaeb0183ef7ca05bbd0f4587166096c29825cc175 Reviewed-by: Fabian Kosmale <[email protected]>
* Doc: Update remaining occurrences of 'Qt QML' module to 'Qt Qml'Topi Reinio2024-06-151-2/+2
| | | | | | | | | | | | | | qtqml.qdocconf was referring to 'Qt QML' as the landing page, which caused incorrect output for the navigation (breadcrumbs) and the generated page <title>s. Update the naming to Qt Qml/Qt Qml Core, and apply it to also C++ and QML module page titles. Pick-to: 6.8 6.7 Fixes: QTBUG-126094 Change-Id: I822ddc080f37fae607296b2df0d14ca16ac0f8ab Reviewed-by: Ulf Hermann <[email protected]>
* Doc: Fix linking to QtCore.Settings QML typeTopi Reinio2023-07-051-3/+3
| | | | | | | | | Fixes QDoc warnings: Can't link to 'QtQmlCore::Settings'. Pick-to: 6.5 6.6 Change-Id: I3e34a5a3f3a360391f3d1fbb00b17f617d02dc72 Reviewed-by: Andreas Eliasson <[email protected]> Reviewed-by: Safiyyah Moosa <[email protected]>
* Docs: Fix "Can't link to" example warningsSafiyyah Moosa2023-05-111-3/+3
| | | | | | | Task-number: QTBUG-113160 Pick-to: 6.5 Change-Id: If79cfc61ee610f382a071d4a922ba5b73ae1391c Reviewed-by: Topi Reiniö <[email protected]>
* Doc: Fix linking and import statement for Qt QML Core moduleTopi Reinio2023-02-221-3/+3
| | | | | | | | | | The QML module name is 'QtCore'. Use versionless import statement on the reference pages. Pick-to: 6.5 Fixes: QTBUG-110914 Change-Id: If0f94fe9b48f80b2a6ea19b4f20a41d7b21a2383 Reviewed-by: Mitch Curtis <[email protected]>
* Move Settings out of Qt.labs moduleYuhang Zhao2022-09-291-1/+6
| | | | | | | | | | | | | | Move Settings from the Qt.labs module to the QtCore module. And deprecate the original one in Qt.labs. Also changed the fileName(QString) property to location(QUrl) to better fit the Qt API. Adjust the tests accordingly. Task-number: QTBUG-92806 Change-Id: I1cbad1315383a9f2963583fd4d00cf3612f99f1e Reviewed-by: Shawn Rutledge <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-06-111-38/+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. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <[email protected]>
* Rename "Basic Types" to "Value Types"Ulf Hermann2022-01-211-1/+1
| | | | | | | | | | Internally they've been called "value types" all along. Now that we are adding the ability to define your own value types the "basic" name is not really fitting anymore. Value types can be quite complex. Change-Id: I5fb4abec1dd2f0bbf7fb7f08b02db0882490e983 Reviewed-by: Shawn Rutledge <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-11-141-1/+1
| | | | | | | | - Comment out \instantiates entries that refer to private C++ classes - Fix clang-format and regexp warnings Change-Id: I7228538715b9d34ab39e7c0f71155be7a277116a Reviewed-by: Topi Reiniö <[email protected]>
* QQmlSettings: Compare metatype directlyFabian Kosmale2021-03-251-1/+1
| | | | | | Change-Id: Ib39cd824c2f28f9bac1962afca97498c42150945 Reviewed-by: Maximilian Goldstein <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Silence warnings about deprecated QString::QString(const char*)Friedemann Kleint2021-01-211-3/+5
| | | | | | | | | | | | Fix warnings like: src/qmllocalstorage/qqmllocalstorage.cpp:81:62: warning: QString::QString(const char*) is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations] src/src/labs/settings/qqmlsettings.cpp:335:87: warning: QString::QString(const char*) is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations] src/labs/settings/qqmlsettings.cpp:346:50: warning: QString::QString(const char*) is deprecated: Use fromUtf8, QStringLiteral, or n1String [-Wdeprecated-declarations] src/labs/settings/qqmlsettings.cpp:361:50: warning: QString::QString(const char*) is deprecated: Use fromUtf8, QStringLiteral, or n1String [-Wdeprecated-declarations] src/quicklayouts/qquicklayout.cpp:1241:61: warning: QString::QString(const char*) is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations] Change-Id: I87d7e28842a4f7f75b02c1e78eb3df400adcab94 Reviewed-by: Fabian Kosmale <[email protected]>
* Qt.labs.settings: Make plugin optionalMaximilian Goldstein2021-01-201-0/+534
This moves the settings types into a new library and is meant to make them availabe to the QML compiler at some point in the future. Task-number: QTBUG-90487 Change-Id: I986615b08ea8c1a7312b9d9c6ae0b13c03fb5497 Reviewed-by: Fabian Kosmale <[email protected]>