summaryrefslogtreecommitdiffstats
path: root/src/opcua/client/qopcuatype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opcua/client/qopcuatype.cpp')
-rw-r--r--src/opcua/client/qopcuatype.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/opcua/client/qopcuatype.cpp b/src/opcua/client/qopcuatype.cpp
index 45e6a7c..4512b17 100644
--- a/src/opcua/client/qopcuatype.cpp
+++ b/src/opcua/client/qopcuatype.cpp
@@ -621,6 +621,29 @@ void QOpcUa::QQualifiedName::setName(const QString &name)
It can be used to provide multiple text strings in different languages for a value using an array of LocalizedText elements.
*/
+/*!
+ \qmltype LocalizedText
+ \inqmlmodule QtOpcUa
+ \brief Contains a text with associated locale.
+ \since QtOpcUa 5.12
+
+ The two members of this type contain the actual text and the locale of the text.
+*/
+
+/*!
+ \qmlproperty string LocalizedText::text
+
+ Textual content.
+*/
+
+/*!
+ \qmlproperty string LocalizedText::locale
+
+ Locale of the contained text.
+ This has to be in a modified ISO standard notation, for example \c en-US.
+ See OPC UA specification part 3, 8.4 for details.
+*/
+
class QOpcUa::QLocalizedTextData : public QSharedData
{
public: