diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-04-03 18:16:26 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-04-03 19:08:43 -0700 |
commit | 87993c904851fae1f25525abe6b732a206364d1d (patch) | |
tree | ff36fa9031554e8f091e553bca6e7cf3ad6d27b0 /weather.h | |
parent | 0223839486802f3944df6e20b73dc93fa4a03727 (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>
Diffstat (limited to 'weather.h')
-rw-r--r-- | weather.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |