Utils: Get rid of UTILS_DELETE_MOVE_AND_COPY

Use Q_DISABLE_COPY_MOVE, it exactly the same.

Change-Id: I574d52a0abdf9101f86054f881f6ce0cd498bb36
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-05-24 21:00:27 +02:00
parent 8a6c033ede
commit 7dd51acdfa
4 changed files with 1 additions and 37 deletions

View File

@@ -27,8 +27,6 @@
#include "textdocumentmanipulatorinterface.h"
#include <utils/declarationmacros.h>
QT_BEGIN_NAMESPACE
class QIcon;
class QString;
@@ -54,7 +52,7 @@ public:
AssistProposalItemInterface() = default;
virtual ~AssistProposalItemInterface() noexcept = default;
UTILS_DELETE_MOVE_AND_COPY(AssistProposalItemInterface)
Q_DISABLE_COPY_MOVE(AssistProposalItemInterface)
virtual QString text() const = 0;
virtual QString filterText() const { return text(); }