1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include <private/opcuaoperandbase_p.h>
5#include <QLoggingCategory>
6
7QT_BEGIN_NAMESPACE
8
9Q_DECLARE_LOGGING_CATEGORY(QT_OPCUA_PLUGINS_QML)
10
11OpcUaOperandBase::OpcUaOperandBase(QObject *parent)
12 : QObject(parent)
13{
14}
15
16OpcUaOperandBase::~OpcUaOperandBase() = default;
17
18QVariant OpcUaOperandBase::toCppVariant(QOpcUaClient *client) const
19{
20 Q_UNUSED(client);
21 qCWarning(QT_OPCUA_PLUGINS_QML) << "Calling invalid base function of OpcUaOperandBase";
22 return QVariant();
23}
24
25QT_END_NAMESPACE
26

source code of qtopcua/src/declarative_opcua/opcuaoperandbase.cpp