From 0e1219d03bf13e5f3c26cabeb4acc2f4f9b8e141 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Mon, 3 Jul 2017 16:22:44 +0200 Subject: [PATCH] API dox: use @param for normal parameter listing, not @arg --- src/declarativeimports/core/datamodel.h | 4 ++-- src/declarativeimports/core/datasource.h | 2 +- src/plasma/package.h | 2 +- src/plasma/packagestructure.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/declarativeimports/core/datamodel.h b/src/declarativeimports/core/datamodel.h index c54fa8d7d..c60798f8f 100644 --- a/src/declarativeimports/core/datamodel.h +++ b/src/declarativeimports/core/datamodel.h @@ -122,7 +122,7 @@ public: * This allows the item data to be accessed (but not modified) from JavaScript. * It returns an Object with a property for each role. * - * @arg int i the row we want + * @param i the row we want */ Q_INVOKABLE QVariantMap get(int i) const; @@ -222,7 +222,7 @@ public: * This allows the item data to be accessed (but not modified) from JavaScript. * It returns an Object with a property for each role. * - * @arg int i the row we want + * @param i the row we want */ Q_INVOKABLE QVariantMap get(int i) const; diff --git a/src/declarativeimports/core/datasource.h b/src/declarativeimports/core/datasource.h index fb60db454..71e0f445c 100644 --- a/src/declarativeimports/core/datasource.h +++ b/src/declarativeimports/core/datasource.h @@ -143,7 +143,7 @@ public: /** * @returns a Plasma::Service given a source name - * @arg QString source source name we want a service of + * @param source source name we want a service of */ Q_INVOKABLE QObject *serviceForSource(const QString &source); diff --git a/src/plasma/package.h b/src/plasma/package.h index 1748adb8b..17aa9a10f 100644 --- a/src/plasma/package.h +++ b/src/plasma/package.h @@ -88,7 +88,7 @@ public: /** * Default constructor * - * @arg structure if a NULL pointer is passed in, this will creates an empty (invalid) Package; + * @param structure if a NULL pointer is passed in, this will creates an empty (invalid) Package; * otherwise the structure is allowed to set up the Package's initial layout * @since 4.6 */ diff --git a/src/plasma/packagestructure.h b/src/plasma/packagestructure.h index 294cca3f2..40feec60b 100644 --- a/src/plasma/packagestructure.h +++ b/src/plasma/packagestructure.h @@ -54,8 +54,8 @@ public: * compatible .desktop file within the package. If not defined, it is assumed that this file * exists under the top level directory of the package. * - * @arg package the Package to set up. The object is empty of all definition when - * first passed in. + * @param package the Package to set up. The object is empty of all definition when + * first passed in. */ PLASMA_DEPRECATED virtual void initPackage(Package *package);