summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/textpropertyeditor_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-24 09:31:09 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-24 11:51:31 +0200
commit7f7ce6b17b24a3cc244cb0c6d5fe2afed278787d (patch)
tree58483963d8c4f9ccdc4b37356db0b903710fc246 /src/designer/src/lib/shared/textpropertyeditor_p.h
parent3e39be8e58952c6f314440e376cb7ce933c50f0a (diff)
Fix some clazy/Axivion warnings about Rule Of Three/Five
- Add missing destructors or copy/move constructors via Qt convenience macros - Remove deleted copy/move constructors for classes declared Q_OBJECT - Add Q_DISABLE_COPY_MOVE to RAI-like classes Pick-to: 6.5 Change-Id: I2f1d330ad28a89a35fb306fd9813fbb60a710756 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/textpropertyeditor_p.h')
-rw-r--r--src/designer/src/lib/shared/textpropertyeditor_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/designer/src/lib/shared/textpropertyeditor_p.h b/src/designer/src/lib/shared/textpropertyeditor_p.h
index d63ae5543..3d32e9d6e 100644
--- a/src/designer/src/lib/shared/textpropertyeditor_p.h
+++ b/src/designer/src/lib/shared/textpropertyeditor_p.h
@@ -31,8 +31,6 @@ namespace qdesigner_internal {
// corresponds to that of QLineEdit.
class QDESIGNER_SHARED_EXPORT TextPropertyEditor : public QWidget
{
- TextPropertyEditor(const TextPropertyEditor &);
- TextPropertyEditor& operator=(const TextPropertyEditor &);
Q_OBJECT
Q_PROPERTY(QString text READ text WRITE setText USER true)
public: