summaryrefslogtreecommitdiffstats
path: root/src/imports/opcua/opcuanode.cpp
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2018-08-27 13:09:59 +0200
committerRainer Keller <Rainer.Keller@qt.io>2018-09-17 13:43:57 +0000
commit7a0eca889996309c04aca65a2fceea2a45d1a343 (patch)
tree09bc7fa6483d3e7c955f85732559b209981c0684 /src/imports/opcua/opcuanode.cpp
parent2f92658d3da7350787985c82a38cbcaf491f5415 (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.cpp5
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;