diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-08-14 03:00:39 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-08-14 03:00:39 +0200 |
commit | d7c3eaef4e7d33dadb25bcfd3fa33155ef46b082 (patch) | |
tree | 46af583b58629b5671158e2e7bd0185bc2016b5c /src | |
parent | 0be15acbde03dd6c57b3d8a67bd453b4605b5906 (diff) | |
parent | 518ffe2c1d10cf2086eaa3cacea64d153f93886b (diff) |
Merge remote-tracking branch 'origin/5.11' into dev
Change-Id: I584a13c97b63421ef2d7f9b741d8a6dae1e3f75a
Diffstat (limited to 'src')
-rw-r--r-- | src/opcua/client/qopcuaclient.cpp | 11 | ||||
-rw-r--r-- | src/opcua/client/qopcuatype.cpp | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/opcua/client/qopcuaclient.cpp b/src/opcua/client/qopcuaclient.cpp index 8763665..a1f7915 100644 --- a/src/opcua/client/qopcuaclient.cpp +++ b/src/opcua/client/qopcuaclient.cpp @@ -217,6 +217,17 @@ QOpcUaClient::~QOpcUaClient() /*! Connects to the OPC UA endpoint given in \a url. + + If the endpoint requires username and password, they must be included in \a url. + + \code + QUrl url("opc.tcp://localhost:4840"); + url.setUserName("user"); + url.setPassword("password"); + + m_client->connectToEndpoint(url); + \endcode + \sa disconnectFromEndpoint() */ void QOpcUaClient::connectToEndpoint(const QUrl &url) diff --git a/src/opcua/client/qopcuatype.cpp b/src/opcua/client/qopcuatype.cpp index dc838a4..37a2bb9 100644 --- a/src/opcua/client/qopcuatype.cpp +++ b/src/opcua/client/qopcuatype.cpp @@ -73,7 +73,7 @@ QT_BEGIN_NAMESPACE This enum contains the reference types specified in OPC-UA part 3, 7. They are used to filter for a certain reference type in \l QOpcUaNode::browseChildren - and for the reference type information in \a QOpcUaReferenceDescription. + and for the reference type information in \l QOpcUaReferenceDescription. \value Unspecified Not a valid reference type. \value References The abstract base type for all references. @@ -181,7 +181,7 @@ QT_BEGIN_NAMESPACE /*! \enum QOpcUa::UaStatusCode - Enumerates all status codes from https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.StatusCodes.csv + Enumerates all status codes from \l {https://opcfoundation.org/UA/schemas/1.03/Opc.Ua.StatusCodes.csv} \value Good \value BadUnexpectedError |