| 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 | |
| 7 | QT_BEGIN_NAMESPACE |
| 8 | |
| 9 | Q_DECLARE_LOGGING_CATEGORY(QT_OPCUA_PLUGINS_QML) |
| 10 | |
| 11 | OpcUaOperandBase::OpcUaOperandBase(QObject *parent) |
| 12 | : QObject(parent) |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | OpcUaOperandBase::~OpcUaOperandBase() = default; |
| 17 | |
| 18 | QVariant 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 | |
| 25 | QT_END_NAMESPACE |
| 26 |
