diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-20 10:41:09 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-20 10:41:09 +0100 |
| commit | 0012cb312e92c33f5263478d318eb82da22ee879 (patch) | |
| tree | caac374dd3716b42d13cb85b85a7f90c7d5aac45 /demo/Main.qml | |
| parent | 11b99fda8727f2225961c0b83ecdb18674a9670a (diff) | |
| download | BobinkQtOpcUa-0012cb312e92c33f5263478d318eb82da22ee879.tar.gz BobinkQtOpcUa-0012cb312e92c33f5263478d318eb82da22ee879.zip | |
Rename classes to OpcUa* prefix, replace BobinkNode with OpcUaMonitoredNode boilerplate
Rename BobinkAuth → OpcUaAuth, BobinkClient → OpcUaClient (C++ class
names only; QML module URI and singleton name stay as Bobink).
Remove BobinkNode (QQuickItem-based) and add OpcUaMonitoredNode
skeleton using QObject + QQmlParserStatus, following Qt convention
for non-visual QML types.
Diffstat (limited to 'demo/Main.qml')
| -rw-r--r-- | demo/Main.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demo/Main.qml b/demo/Main.qml index 9d3e168..ca0a419 100644 --- a/demo/Main.qml +++ b/demo/Main.qml @@ -82,7 +82,7 @@ ApplicationWindow { Bobink.startDiscovery(); } - BobinkAuth { + OpcUaAuth { id: auth mode: authModeCombo.currentValue username: usernameField.text @@ -267,22 +267,22 @@ ApplicationWindow { model: [ { text: "Anonymous", - mode: BobinkAuth.Anonymous + mode: OpcUaAuth.Anonymous }, { text: "Username / Password", - mode: BobinkAuth.UserPass + mode: OpcUaAuth.UserPass }, { text: "Certificate", - mode: BobinkAuth.Certificate + mode: OpcUaAuth.Certificate } ] } GridLayout { columns: 2 - visible: authModeCombo.currentValue === BobinkAuth.UserPass + visible: authModeCombo.currentValue === OpcUaAuth.UserPass Layout.fillWidth: true Label { |
