aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/plugins/designer/designercustomwidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/plugins/designer/designercustomwidgets.h')
-rw-r--r--sources/pyside6/plugins/designer/designercustomwidgets.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sources/pyside6/plugins/designer/designercustomwidgets.h b/sources/pyside6/plugins/designer/designercustomwidgets.h
index f88548044..2f1db1f31 100644
--- a/sources/pyside6/plugins/designer/designercustomwidgets.h
+++ b/sources/pyside6/plugins/designer/designercustomwidgets.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 _PY_DESIGNER_CUSTOM_WIDGETS_H_
-#define _PY_DESIGNER_CUSTOM_WIDGETS_H_
+#ifndef PY_DESIGNER_CUSTOM_WIDGETS_H_
+#define PY_DESIGNER_CUSTOM_WIDGETS_H_
#include <QtUiPlugin/QDesignerCustomWidgetCollectionInterface>
@@ -17,10 +17,12 @@ class PyDesignerCustomWidgets: public QObject,
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.PySide.PyDesignerCustomWidgetsInterface")
public:
+ Q_DISABLE_COPY_MOVE(PyDesignerCustomWidgets)
+
explicit PyDesignerCustomWidgets(QObject *parent = nullptr);
- ~PyDesignerCustomWidgets();
+ ~PyDesignerCustomWidgets() override;
QList<QDesignerCustomWidgetInterface *> customWidgets() const override;
};
-#endif // _PY_DESIGNER_CUSTOM_WIDGETS_H_
+#endif // PY_DESIGNER_CUSTOM_WIDGETS_H_