summaryrefslogtreecommitdiffstats
path: root/src/BobinkClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BobinkClient.h')
-rw-r--r--src/BobinkClient.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/BobinkClient.h b/src/BobinkClient.h
index 43eda65..c86cfaa 100644
--- a/src/BobinkClient.h
+++ b/src/BobinkClient.h
@@ -35,8 +35,6 @@ class BobinkClient : public QObject
Q_PROPERTY (QString discoveryUrl READ discoveryUrl WRITE setDiscoveryUrl
NOTIFY discoveryUrlChanged)
- Q_PROPERTY (int discoveryInterval READ discoveryInterval WRITE
- setDiscoveryInterval NOTIFY discoveryIntervalChanged)
Q_PROPERTY (bool discovering READ discovering NOTIFY discoveringChanged)
Q_PROPERTY (QVariantList servers READ servers NOTIFY serversChanged)
@@ -71,9 +69,6 @@ public:
QString discoveryUrl () const;
void setDiscoveryUrl (const QString &url);
- int discoveryInterval () const;
- void setDiscoveryInterval (int ms);
-
bool discovering () const;
const QList<QOpcUaApplicationDescription> &discoveredServers () const;
@@ -136,9 +131,9 @@ signals:
*/
void certificateTrustRequested (const QString &certInfo);
void connectionError (const QString &message);
+ void statusMessage (const QString &message);
void discoveryUrlChanged ();
- void discoveryIntervalChanged ();
void discoveringChanged ();
void serversChanged ();
void pkiDirChanged ();
@@ -172,7 +167,7 @@ private:
bool m_certAccepted = false;
QString m_discoveryUrl;
- int m_discoveryInterval = 10000; // ms
+ int m_discoveryInterval = 30000; // ms
QTimer m_discoveryTimer;
bool m_discovering = false;
QList<QOpcUaApplicationDescription> m_discoveredServers;