summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-02-28 11:44:37 +0100
committerMarc Mutz <marc.mutz@qt.io>2024-02-28 17:11:27 +0100
commit473a3aa9d98ff41d4e5619352ae17e9dcce1b813 (patch)
treea4971eeed7ac906936944c331cd1a53167459539
parentf732f830f63dcfab03ee316ec6b79dd3512d5251 (diff)
DeclarativeOpcUA: Prefix header guards with module name
We should not export names that are not Q-prefixed. E.g. OPCUANODE_P_H could be in use by any other OpcUA library, too. Amends 6b7950698afa85e76bfe10a36829ec137faa300d. Pick-to: 6.7 6.6 Change-Id: I903c6f434a9c6410abf92406d2b47ee7e9c7dc85 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--src/declarative_opcua/opcuaattributecache_p.h6
-rw-r--r--src/declarative_opcua/opcuaattributevalue_p.h6
-rw-r--r--src/declarative_opcua/opcuaconnection_p.h6
-rw-r--r--src/declarative_opcua/opcuamethodargument_p.h6
-rw-r--r--src/declarative_opcua/opcuamethodnode_p.h6
-rw-r--r--src/declarative_opcua/opcuanode_p.h6
-rw-r--r--src/declarative_opcua/opcuanodeid_p.h6
-rw-r--r--src/declarative_opcua/opcuanodeidtype_p.h6
-rw-r--r--src/declarative_opcua/opcuapathresolver_p.h6
-rw-r--r--src/declarative_opcua/opcuarelativenodeid_p.h6
-rw-r--r--src/declarative_opcua/opcuarelativenodepath_p.h6
-rw-r--r--src/declarative_opcua/opcuavaluenode_p.h6
-rw-r--r--src/declarative_opcua/universalnode_p.h6
13 files changed, 39 insertions, 39 deletions
diff --git a/src/declarative_opcua/opcuaattributecache_p.h b/src/declarative_opcua/opcuaattributecache_p.h
index a42a00b..47356e3 100644
--- a/src/declarative_opcua/opcuaattributecache_p.h
+++ b/src/declarative_opcua/opcuaattributecache_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAATTRIBUTECACHE_P_H
-#define OPCUAATTRIBUTECACHE_P_H
+#ifndef QOPCUA_OPCUAATTRIBUTECACHE_P_H
+#define QOPCUA_OPCUAATTRIBUTECACHE_P_H
#include "qopcuatype.h"
#include <QtCore/qobject.h>
@@ -43,4 +43,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAATTRIBUTECACHE_P_H
+#endif // QOPCUA_OPCUAATTRIBUTECACHE_P_H
diff --git a/src/declarative_opcua/opcuaattributevalue_p.h b/src/declarative_opcua/opcuaattributevalue_p.h
index 4a3eb5a..8fc2c90 100644
--- a/src/declarative_opcua/opcuaattributevalue_p.h
+++ b/src/declarative_opcua/opcuaattributevalue_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAATTRIBUTEVALUE_P_H
-#define OPCUAATTRIBUTEVALUE_P_H
+#ifndef QOPCUA_OPCUAATTRIBUTEVALUE_P_H
+#define QOPCUA_OPCUAATTRIBUTEVALUE_P_H
#include <QObject>
#include <QVariant>
@@ -41,4 +41,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAATTRIBUTEVALUE_P_H
+#endif // QOPCUA_OPCUAATTRIBUTEVALUE_P_H
diff --git a/src/declarative_opcua/opcuaconnection_p.h b/src/declarative_opcua/opcuaconnection_p.h
index 70d3085..05754e7 100644
--- a/src/declarative_opcua/opcuaconnection_p.h
+++ b/src/declarative_opcua/opcuaconnection_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUACONNECTION_P_H
-#define OPCUACONNECTION_P_H
+#ifndef QOPCUA_OPCUACONNECTION_P_H
+#define QOPCUA_OPCUACONNECTION_P_H
#include <private/opcuareaditem_p.h>
#include <private/opcuaserverdiscovery_p.h>
@@ -108,4 +108,4 @@ friend class OpcUaServerDiscovery;
QT_END_NAMESPACE
-#endif // OPCUACONNECTION_P_H
+#endif // QOPCUA_OPCUACONNECTION_P_H
diff --git a/src/declarative_opcua/opcuamethodargument_p.h b/src/declarative_opcua/opcuamethodargument_p.h
index ac445a0..2556468 100644
--- a/src/declarative_opcua/opcuamethodargument_p.h
+++ b/src/declarative_opcua/opcuamethodargument_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAMETHODARGUMENT_P_H
-#define OPCUAMETHODARGUMENT_P_H
+#ifndef QOPCUA_OPCUAMETHODARGUMENT_P_H
+#define QOPCUA_OPCUAMETHODARGUMENT_P_H
#include "qopcuatype.h"
#include <QObject>
@@ -47,4 +47,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAMETHODARGUMENT_P_H
+#endif // QOPCUA_OPCUAMETHODARGUMENT_P_H
diff --git a/src/declarative_opcua/opcuamethodnode_p.h b/src/declarative_opcua/opcuamethodnode_p.h
index 45e7042..971a662 100644
--- a/src/declarative_opcua/opcuamethodnode_p.h
+++ b/src/declarative_opcua/opcuamethodnode_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAMETHODNODE_P_H
-#define OPCUAMETHODNODE_P_H
+#ifndef QOPCUA_OPCUAMETHODNODE_P_H
+#define QOPCUA_OPCUAMETHODNODE_P_H
#include <private/opcuanode_p.h>
#include <private/opcuamethodargument_p.h>
@@ -79,4 +79,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAMETHODNODE_P_H
+#endif // QOPCUA_OPCUAMETHODNODE_P_H
diff --git a/src/declarative_opcua/opcuanode_p.h b/src/declarative_opcua/opcuanode_p.h
index 7e8008f..2f436f3 100644
--- a/src/declarative_opcua/opcuanode_p.h
+++ b/src/declarative_opcua/opcuanode_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUANODE_P_H
-#define OPCUANODE_P_H
+#ifndef QOPCUA_OPCUANODE_P_H
+#define QOPCUA_OPCUANODE_P_H
#include <private/opcuaconnection_p.h>
#include <private/opcuanodeid_p.h>
@@ -159,4 +159,4 @@ protected:
QT_END_NAMESPACE
-#endif // OPCUANODE_P_H
+#endif // QOPCUA_OPCUANODE_P_H
diff --git a/src/declarative_opcua/opcuanodeid_p.h b/src/declarative_opcua/opcuanodeid_p.h
index 411cdbd..84fcd07 100644
--- a/src/declarative_opcua/opcuanodeid_p.h
+++ b/src/declarative_opcua/opcuanodeid_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUANODEID_P_H
-#define OPCUANODEID_P_H
+#ifndef QOPCUA_OPCUANODEID_P_H
+#define QOPCUA_OPCUANODEID_P_H
#include <private/opcuanodeidtype_p.h>
@@ -41,4 +41,4 @@ signals:
QT_END_NAMESPACE
-#endif // OPCUANODEID_P_H
+#endif // QOPCUA_OPCUANODEID_P_H
diff --git a/src/declarative_opcua/opcuanodeidtype_p.h b/src/declarative_opcua/opcuanodeidtype_p.h
index 5da1983..62618ea 100644
--- a/src/declarative_opcua/opcuanodeidtype_p.h
+++ b/src/declarative_opcua/opcuanodeidtype_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUANODEIDTYPE_P_H
-#define OPCUANODEIDTYPE_P_H
+#ifndef QOPCUA_OPCUANODEIDTYPE_P_H
+#define QOPCUA_OPCUANODEIDTYPE_P_H
#include <private/universalnode_p.h>
@@ -57,4 +57,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUANODEIDTYPE_P_H
+#endif // QOPCUA_OPCUANODEIDTYPE_P_H
diff --git a/src/declarative_opcua/opcuapathresolver_p.h b/src/declarative_opcua/opcuapathresolver_p.h
index 766e448..3e6341d 100644
--- a/src/declarative_opcua/opcuapathresolver_p.h
+++ b/src/declarative_opcua/opcuapathresolver_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAPATHRESOLVER_P_H
-#define OPCUAPATHRESOLVER_P_H
+#ifndef QOPCUA_OPCUAPATHRESOLVER_P_H
+#define QOPCUA_OPCUAPATHRESOLVER_P_H
#include <private/universalnode_p.h>
@@ -59,4 +59,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAPATHRESOLVER_P_H
+#endif // QOPCUA_OPCUAPATHRESOLVER_P_H
diff --git a/src/declarative_opcua/opcuarelativenodeid_p.h b/src/declarative_opcua/opcuarelativenodeid_p.h
index 8edf788..27792d7 100644
--- a/src/declarative_opcua/opcuarelativenodeid_p.h
+++ b/src/declarative_opcua/opcuarelativenodeid_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUARELATIVENODEID_P_H
-#define OPCUARELATIVENODEID_P_H
+#ifndef QOPCUA_OPCUARELATIVENODEID_P_H
+#define QOPCUA_OPCUARELATIVENODEID_P_H
#include <private/opcuanodeidtype_p.h>
@@ -66,4 +66,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUARELATIVENODEID_P_H
+#endif // QOPCUA_OPCUARELATIVENODEID_P_H
diff --git a/src/declarative_opcua/opcuarelativenodepath_p.h b/src/declarative_opcua/opcuarelativenodepath_p.h
index 997567d..b63c335 100644
--- a/src/declarative_opcua/opcuarelativenodepath_p.h
+++ b/src/declarative_opcua/opcuarelativenodepath_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUARELATIVENODEPATH_P_H
-#define OPCUARELATIVENODEPATH_P_H
+#ifndef QOPCUA_OPCUARELATIVENODEPATH_P_H
+#define QOPCUA_OPCUARELATIVENODEPATH_P_H
#include <QObject>
#include <qopcuatype.h>
@@ -71,4 +71,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUARELATIVENODEPATH_P_H
+#endif // QOPCUA_OPCUARELATIVENODEPATH_P_H
diff --git a/src/declarative_opcua/opcuavaluenode_p.h b/src/declarative_opcua/opcuavaluenode_p.h
index d24225b..0fde804 100644
--- a/src/declarative_opcua/opcuavaluenode_p.h
+++ b/src/declarative_opcua/opcuavaluenode_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef OPCUAVALUENODE_P_H
-#define OPCUAVALUENODE_P_H
+#ifndef QOPCUA_OPCUAVALUENODE_P_H
+#define QOPCUA_OPCUAVALUENODE_P_H
#include <private/opcuanode_p.h>
#include <private/opcuadatachangefilter_p.h>
@@ -80,4 +80,4 @@ private:
QT_END_NAMESPACE
-#endif // OPCUAVALUENODE_P_H
+#endif // QOPCUA_OPCUAVALUENODE_P_H
diff --git a/src/declarative_opcua/universalnode_p.h b/src/declarative_opcua/universalnode_p.h
index 10c55d3..3d29a67 100644
--- a/src/declarative_opcua/universalnode_p.h
+++ b/src/declarative_opcua/universalnode_p.h
@@ -1,8 +1,8 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#ifndef UNIVERSALNODE_P_H
-#define UNIVERSALNODE_P_H
+#ifndef QOPCUA_UNIVERSALNODE_P_H
+#define QOPCUA_UNIVERSALNODE_P_H
#include <QObject>
#include <private/qglobal_p.h>
@@ -101,4 +101,4 @@ private:
QT_END_NAMESPACE
-#endif // UNIVERSALNODE_P_H
+#endif // QOPCUA_UNIVERSALNODE_P_H