aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/plugins/uitools/customwidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/plugins/uitools/customwidgets.h')
-rw-r--r--sources/pyside6/plugins/uitools/customwidgets.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sources/pyside6/plugins/uitools/customwidgets.h b/sources/pyside6/plugins/uitools/customwidgets.h
index 47e2f73ed..f67a0847d 100644
--- a/sources/pyside6/plugins/uitools/customwidgets.h
+++ b/sources/pyside6/plugins/uitools/customwidgets.h
@@ -1,8 +1,8 @@
// Copyright (C) 2020 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 _PY_CUSTOM_WIDGETS_H_
-#define _PY_CUSTOM_WIDGETS_H_
+#ifndef PY_CUSTOM_WIDGETS_H_
+#define PY_CUSTOM_WIDGETS_H_
#include <shiboken.h>
@@ -18,8 +18,10 @@ class PyCustomWidgets: public QObject, public QDesignerCustomWidgetCollectionInt
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.PySide.PyCustomWidgetsInterface")
public:
+ Q_DISABLE_COPY_MOVE(PyCustomWidgets)
+
explicit PyCustomWidgets(QObject *parent = nullptr);
- ~PyCustomWidgets();
+ ~PyCustomWidgets() override;
QList<QDesignerCustomWidgetInterface*> customWidgets() const override;