[frameworks/kcoreaddons] src: Documentation fixes
Nicolas Fella <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit e68c5e128a327c0b8dd3363baa297c4e5a4749d0 by Nicolas Fella.
Committed on 21/07/2026 at 13:55.
Pushed by nicolasfella into branch 'master'.
Documentation fixes
M +2 -2 src/lib/kaboutdata.h
M +1 -0 src/lib/util/kformat.h
M +1 -1 src/qml/kosreleaseproxy.h
M +0 -1 src/qml/kuserproxy.h
https://invent.kde.org/frameworks/kcoreaddons/-/commit/e68c5e128a327c0b8dd3363baa297c4e5a4749d0
diff --git a/src/lib/kaboutdata.h b/src/lib/kaboutdata.h
index 8d36cb4b..d8b818ac 100644
--- a/src/lib/kaboutdata.h
+++ b/src/lib/kaboutdata.h
@@ -595,7 +595,7 @@ Q_DECLARE_TYPEINFO(KAboutComponent, Q_RELOCATABLE_TYPE);
*
* This represents an AppStream release note of an individual version.
*
- * \see https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html
+ * \sa https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html
*
* \since 6.26
*/
@@ -652,7 +652,7 @@ public:
* This is not meant for displaying to users, but for detecting changes
* since the last display, when display release notes on development versions.
*
- * \see description
+ * \sa description
*/
[[nodiscard]] QString untranslatedDescription() const;
diff --git a/src/lib/util/kformat.h b/src/lib/util/kformat.h
index 0bce8008..6ff7209d 100644
--- a/src/lib/util/kformat.h
+++ b/src/lib/util/kformat.h
@@ -84,6 +84,7 @@ public:
* \value UnitExaByte EiB/EB/EB 2^60/10^18 bytes
* \value UnitZettaByte ZiB/ZB/ZB 2^70/10^21 bytes
* \value UnitYottaByte YiB/YB/YB 2^80/10^24 bytes
+ * \omitvalue UnitLastUnit
*/
enum BinarySizeUnits {
DefaultBinaryUnits = -1,
diff --git a/src/qml/kosreleaseproxy.h b/src/qml/kosreleaseproxy.h
index 1a6390e8..c38d5a0a 100644
--- a/src/qml/kosreleaseproxy.h
+++ b/src/qml/kosreleaseproxy.h
@@ -148,7 +148,7 @@ public:
[[nodiscard]] QString logo() const;
/*!
- * \qmlmethod list<string> KOSRelease::extraKeys
+ * \qmlmethod list<string> KOSRelease::extraKeys()
*/
Q_INVOKABLE [[nodiscard]] QStringList extraKeys() const;
diff --git a/src/qml/kuserproxy.h b/src/qml/kuserproxy.h
index d3fc5c70..328a467d 100644
--- a/src/qml/kuserproxy.h
+++ b/src/qml/kuserproxy.h
@@ -48,7 +48,6 @@
* \endcode
*
* \brief User provides read-only access to the user's personal information.
- * \sa KUser
*/
class KUserProxy : public QObject
{