From a0c7f2a7ef04dbe2e7491eabf828e26423d1bd10 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 05:13:42 +0100 Subject: Rename targets, route messages to debug console, clean up - Rename CMake project and library target to BobinkQtOpcUa (URI stays Bobink) - Rename demo target to BobinkDemo, output binary to build/bin/ - Route all QML status/error messages to the in-app debug console - Remove discoveryInterval QML property, default to 30s internally - Add errorChanged handler, PKI file validation in applyPki() --- src/BobinkClient.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/BobinkClient.h') 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 &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 m_discoveredServers; -- cgit v1.2.3