From 87993c904851fae1f25525abe6b732a206364d1d Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 3 Apr 2018 18:16:26 -0700 Subject: weather: add parameter names to signals Add parameter names to temperatureChanged + conditionChanged signals to allow direct access of data by name Change-Id: Ia80652e29f30426b7d9647471bcb2d9f76722610 Signed-off-by: Matt Ranostay --- weather.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weather.h b/weather.h index bfdd81b..ffbbcc6 100644 --- a/weather.h +++ b/weather.h @@ -36,8 +36,8 @@ class Weather : public QObject QString condition() { return m_condition; } signals: - void temperatureChanged(QString); - void conditionChanged(QString); + void temperatureChanged(QString temperature); + void conditionChanged(QString condition); private: MessageEngine *m_mloop; -- cgit 1.2.3-korg