diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 12:29:05 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 12:29:05 +0100 |
| commit | 50c62c35463b62a3a7acebf9ebe22d44f1c6dca2 (patch) | |
| tree | c56ff15619acf72448b93df218bf36286bc774b3 /src/BobinkClient.h | |
| parent | 0c1df583acba434e2d7f6905a30fdefe288d0f9d (diff) | |
| download | BobinkQtOpcUa-50c62c35463b62a3a7acebf9ebe22d44f1c6dca2.tar.gz BobinkQtOpcUa-50c62c35463b62a3a7acebf9ebe22d44f1c6dca2.zip | |
Log attribute reads to debug console and replace raw C++ types with Qt equivalents
Connect QOpcUaNode::attributeRead signal to new handler that logs
read results (value or error code) to the debug console via
BobinkClient::statusMessage. Add nameFromAttribute() helper.
Replace const char* arrays with QLatin1StringView, bare string
literals with QStringLiteral, uint with quint32, int with qint32.
Rename statusLog to debugLog in Main.qml for consistency.
Diffstat (limited to 'src/BobinkClient.h')
| -rw-r--r-- | src/BobinkClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BobinkClient.h b/src/BobinkClient.h index c86cfaa..5b7b284 100644 --- a/src/BobinkClient.h +++ b/src/BobinkClient.h @@ -167,7 +167,7 @@ private: bool m_certAccepted = false; QString m_discoveryUrl; - int m_discoveryInterval = 30000; // ms + qint32 m_discoveryInterval = 30000; // ms QTimer m_discoveryTimer; bool m_discovering = false; QList<QOpcUaApplicationDescription> m_discoveredServers; |
