diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2018-08-27 13:09:59 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2018-09-17 13:43:57 +0000 |
commit | 7a0eca889996309c04aca65a2fceea2a45d1a343 (patch) | |
tree | 09bc7fa6483d3e7c955f85732559b209981c0684 /src/imports/opcua/opcuanode.cpp | |
parent | 2f92658d3da7350787985c82a38cbcaf491f5415 (diff) |
qml: Expose method node object node
For easy access to the properties of the function to call the target
node is exposed as node object instead of a string.
Change-Id: I3e5ed1b0f94576221a5eeaca70cd14dbc765377c
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/imports/opcua/opcuanode.cpp')
-rw-r--r-- | src/imports/opcua/opcuanode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imports/opcua/opcuanode.cpp b/src/imports/opcua/opcuanode.cpp index 3c959c7..edefaa3 100644 --- a/src/imports/opcua/opcuanode.cpp +++ b/src/imports/opcua/opcuanode.cpp @@ -293,6 +293,11 @@ const UniversalNode &OpcUaNode::resolvedNode() const return m_resolvedNode; } +QOpcUaNode *OpcUaNode::node() const +{ + return m_node; +} + void OpcUaNode::setAttributesToRead(QOpcUa::NodeAttributes attributes) { m_attributesToRead = attributes; |