From 85193f8c759765516cc5a5625fff0b1e1ae348b9 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Tue, 16 Jan 2018 11:42:20 +0100 Subject: [PATCH] API dox: Use code markup for described dataUpdated slot signature --- src/plasma/dataengine.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/plasma/dataengine.h b/src/plasma/dataengine.h index 57f862ca9..4c89799ee 100644 --- a/src/plasma/dataengine.h +++ b/src/plasma/dataengine.h @@ -103,8 +103,9 @@ public: /** * Connects a source to an object for data updates. The object must * have a slot with the following signature: - * - * dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data) + * @code + * void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data); + * @endcode * * The data is a QHash of QVariants keyed by QString names, allowing * one data source to provide sets of related data. @@ -129,8 +130,9 @@ public: /** * Connects all currently existing sources to an object for data updates. * The object must have a slot with the following signature: - * - * SLOT(dataUpdated(QString,Plasma::DataEngine::Data)) + * @code + * void dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data); + * @endcode * * The data is a QHash of QVariants keyed by QString names, allowing * one data source to provide sets of related data.