diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-08-22 13:24:10 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-08-22 17:21:32 +0000 |
commit | 917a1bebd6da70528898395b03b4ed7058bd3b2f (patch) | |
tree | 3fd1c300db164397a6e78751fd0283643e85c218 | |
parent | d78b7c0ff8d9b554183684a8f0c7d7e2ed729186 (diff) |
Small doc fixes
Change-Id: Ibdb9299abc53380597cbf746321e7d0a8dd0ee39
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit 78d90eab01f667a1c5c3f9e979cf4fe5636714f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/manifest.qdoc | 2 | ||||
-rw-r--r-- | src/manager-lib/packagemanager.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/manifest.qdoc b/doc/manifest.qdoc index 6d60c0f2..944cb36e 100644 --- a/doc/manifest.qdoc +++ b/doc/manifest.qdoc @@ -8,7 +8,7 @@ \ingroup qtappman-highlights \keyword info.yaml metadata manifest format \title Manifest Definition -\brief Describes the current metadata format (\c am-package, version \c 1) that was introduced with the 5.14 release. +\brief Describes the current metadata format for packages. \note This page describes the current metadata format (\c am-package, version \c 1) that was introduced with the 5.14 release. For the old format - that is still supported - please see diff --git a/src/manager-lib/packagemanager.cpp b/src/manager-lib/packagemanager.cpp index c889b7ea..2e1665da 100644 --- a/src/manager-lib/packagemanager.cpp +++ b/src/manager-lib/packagemanager.cpp @@ -981,6 +981,9 @@ QStringList PackageManager::packageIds() const See the \l {PackageManager Roles}{role names} for the expected object fields. Returns an empty object if the specified \a packageId is invalid. + + \note This is very inefficient if you only want to access a single property from QML; use + package() instead to access the PackageObject's properties directly. */ QVariantMap PackageManager::get(const QString &packageId) const { |