summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-04-03 18:16:26 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-04-03 19:08:43 -0700
commit87993c904851fae1f25525abe6b732a206364d1d (patch)
treeff36fa9031554e8f091e553bca6e7cf3ad6d27b0
parent0223839486802f3944df6e20b73dc93fa4a03727 (diff)
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 <matt.ranostay@konsulko.com>
-rw-r--r--weather.h4
1 files 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;