diff options
author | Raquel Medina <raquel.medina@konsulko.com> | 2019-04-23 14:10:44 +0300 |
---|---|---|
committer | Raquel Medina <raquel.medina@konsulko.com> | 2019-04-24 12:18:25 +0300 |
commit | fbb1b3bfeefed2e5095265aad121ac741e9ff792 (patch) | |
tree | dddc08f5224a381fc5aa4c8050c7a3abec055f83 /network/network.h | |
parent | aa1f78e57f3131ddbf6ee4154c6bddec00287358 (diff) |
network: update wifiStrength property type
Bug-AGL: SPEC-2293
Change-Id: I76c60df9563099f0d6093500f590f66fe3ad865e
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Diffstat (limited to 'network/network.h')
-rw-r--r-- | network/network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/network.h b/network/network.h index 0c0418b..0a158ec 100644 --- a/network/network.h +++ b/network/network.h @@ -44,11 +44,11 @@ class Network : public QObject Q_PROPERTY(bool wifiConnected READ wifiConnected NOTIFY wifiConnectedChanged) Q_PROPERTY(bool wifiEnabled READ wifiEnabled NOTIFY wifiEnabledChanged) - Q_PROPERTY(bool wifiStrength READ wifiStrength NOTIFY wifiStrengthChanged) + Q_PROPERTY(int wifiStrength READ wifiStrength NOTIFY wifiStrengthChanged) bool wifiConnected() const { return m_wifiConnected; } bool wifiEnabled() const { return m_wifiEnabled; } - bool wifiStrength() const { return m_wifiStrength; } + int wifiStrength() const { return m_wifiStrength; } signals: void inputRequest(int id); |