summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2018-09-21 07:52:29 +0200
committerRainer Keller <Rainer.Keller@qt.io>2018-09-21 10:29:03 +0000
commitcd690cc82b04c4285d2ec5a633ec596b71e5314d (patch)
tree9c748e6303006a2456629ca50ce55964389f2718 /src
parent1553f7bcf27fbf948d358d86cacd0e81dc029049 (diff)
Rename QOpcUaNode::value() to valueAttribute()
Change-Id: I85f90a6f7cec2ef3deed8b183c665098f1bab5b0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
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;