aboutsummaryrefslogtreecommitdiffstats
path: root/src/bench/host.h
diff options
context:
space:
mode:
authorMartin Kampas <martin.kampas@jolla.com>2016-11-16 09:30:41 +0100
committerJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2016-11-23 05:25:05 +0000
commit364b4370f7712021a54e418a14cbc88f226e518b (patch)
tree1ee4922f210d0fb3b6126975bc5373a9b31b8c5f /src/bench/host.h
parent9fc974df47628ad2adf36047648f1a3e4043463c (diff)
Bench: Encapsulate host's available state in Host class
Change-Id: I7379bfe0c570f0bf9129f4eded1c136c71781057 Reviewed-by: Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>
Diffstat (limited to 'src/bench/host.h')
-rw-r--r--src/bench/host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bench/host.h b/src/bench/host.h
index e04b4a8..0e7d1bb 100644
--- a/src/bench/host.h
+++ b/src/bench/host.h
@@ -58,6 +58,7 @@ public:
Q_PROPERTY(int yOffset READ yOffset WRITE setYOffset NOTIFY yOffsetChanged)
Q_PROPERTY(int rotation READ rotation WRITE setRotation NOTIFY rotationChanged)
Q_PROPERTY(bool online READ online WRITE setOnline NOTIFY onlineChanged)
+ Q_PROPERTY(bool available READ available NOTIFY availableChanged)
Q_PROPERTY(bool followTreeSelection READ followTreeSelection WRITE setFollowTreeSelection NOTIFY followTreeSelectionChanged)
Q_PROPERTY(QUuid autoDiscoveryId READ autoDiscoveryId WRITE setAutoDiscoveryId NOTIFY autoDiscoveryIdChanged)
Q_PROPERTY(QString productVersion READ productVersion WRITE setProductVersion)
@@ -76,6 +77,7 @@ public:
Type type() const;
bool online() const;
+ bool available() const;
bool followTreeSelection() const;
QUuid autoDiscoveryId() const;
QString productVersion() const;
@@ -95,6 +97,7 @@ signals:
void yOffsetChanged(int arg);
void rotationChanged(int arg);
void onlineChanged(bool arg);
+ void availableChanged(bool arg);
void followTreeSelectionChanged(bool arg);
void autoDiscoveryIdChanged(QUuid arg);