forked from qt-creator/qt-creator
TextEditor: Remove copy and move in AssistProposalItemInterface
You should not not copy it anyway and it provides problems if you use move only data types. Change-Id: If9eab1ca265d89ccab9d947a534820da359d6054 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
|
||||
#include "textdocumentmanipulatorinterface.h"
|
||||
|
||||
#include <utils/declarationmacros.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QIcon;
|
||||
class QString;
|
||||
@@ -43,8 +45,11 @@ class TextEditorWidget;
|
||||
class TEXTEDITOR_EXPORT AssistProposalItemInterface
|
||||
{
|
||||
public:
|
||||
AssistProposalItemInterface() = default;
|
||||
virtual ~AssistProposalItemInterface() Q_DECL_NOEXCEPT = default;
|
||||
|
||||
UTILS_DELETE_MOVE_AND_COPY(AssistProposalItemInterface)
|
||||
|
||||
virtual QString text() const = 0;
|
||||
virtual bool implicitlyApplies() const = 0;
|
||||
virtual bool prematurelyApplies(const QChar &typedCharacter) const = 0;
|
||||
|
||||
Reference in New Issue
Block a user