forked from qt-creator/qt-creator
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:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user