diff options
Diffstat (limited to 'examples/opcua/opcuaviewer/treeitem.cpp')
-rw-r--r-- | examples/opcua/opcuaviewer/treeitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/opcua/opcuaviewer/treeitem.cpp b/examples/opcua/opcuaviewer/treeitem.cpp index f1d6854..56b10a7 100644 --- a/examples/opcua/opcuaviewer/treeitem.cpp +++ b/examples/opcua/opcuaviewer/treeitem.cpp @@ -138,11 +138,11 @@ QVariant TreeItem::data(int column) return tr("Loading ..."); const QString typeId = mOpcNode->attribute(QOpcUa::NodeAttribute::DataType).toString(); - auto enumEntry = QOpcUa::ns0IDFromNodeId(typeId); + auto enumEntry = QOpcUa::namespace0IdFromNodeId(typeId); QString name; - if (enumEntry == QOpcUa::NodeIds::NS0::Unknown) + if (enumEntry == QOpcUa::NodeIds::Namespace0::Unknown) return typeId; - return QOpcUa::ns0IDName(enumEntry) + " (" + typeId + ")"; + return QOpcUa::namespace0IdName(enumEntry) + " (" + typeId + ")"; } else if (column == 4) { return mNodeId; } else if (column == 5) { |