1 #ifndef DISCOVERYITEM_H_
2 #define DISCOVERYITEM_H_
7 class DiscoveryItem: public QQuickItem
11 Q_PROPERTY(bool active READ is_active WRITE set_active NOTIFY active_changed)
12 Q_PROPERTY(QString serverName READ get_server_name NOTIFY server_name_changed)
17 QHostAddress server_addr;
22 void set_active(bool);
23 bool is_active() const { return active; }
24 QString get_server_name() const { return server_addr.toString(); }
27 void server_name_changed();
28 void active_changed();
31 void server_discovered(const QHostAddress &);