summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opcua/client/qopcuanode.cpp4
-rw-r--r--src/opcua/client/qopcuanode.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/opcua/client/qopcuanode.cpp b/src/opcua/client/qopcuanode.cpp
index c3ccb85..666165a 100644
--- a/src/opcua/client/qopcuanode.cpp
+++ b/src/opcua/client/qopcuanode.cpp
@@ -357,7 +357,7 @@ QVariant QOpcUaNode::attribute(QOpcUa::NodeAttribute attribute) const
\sa readValueAttribute() writeValueAttribute() valueAttributeError()
*/
-QVariant QOpcUaNode::value() const
+QVariant QOpcUaNode::valueAttribute() const
{
return attribute(QOpcUa::NodeAttribute::Value);
}
@@ -383,7 +383,7 @@ QOpcUa::UaStatusCode QOpcUaNode::attributeError(QOpcUa::NodeAttribute attribute)
/*!
Returns the error code for the node's Value attribute.
- The status code \l {QOpcUa::UaStatusCode} {Good} indicates a valid return value for \l value().
+ The status code \l {QOpcUa::UaStatusCode} {Good} indicates a valid return value for \l valueAttribute().
If there is no entry in the attribute cache, \l {QOpcUa::UaStatusCode} {BadNoEntryExists} is returned.
*/
QOpcUa::UaStatusCode QOpcUaNode::valueAttributeError() const
diff --git a/src/opcua/client/qopcuanode.h b/src/opcua/client/qopcuanode.h
index 9f4fde1..70d5886 100644
--- a/src/opcua/client/qopcuanode.h
+++ b/src/opcua/client/qopcuanode.h
@@ -72,7 +72,7 @@ public:
bool readAttributeRange(QOpcUa::NodeAttribute attribute, const QString &indexRange);
bool readValueAttribute();
QVariant attribute(QOpcUa::NodeAttribute attribute) const;
- QVariant value() const;
+ QVariant valueAttribute() const;
QOpcUa::UaStatusCode attributeError(QOpcUa::NodeAttribute attribute) const;
QOpcUa::UaStatusCode valueAttributeError() const;
QDateTime sourceTimestamp(QOpcUa::NodeAttribute attribute) const;