forked from qt-creator/qt-creator
cpptools: s/Q_DECL_OVERRIDE/override/g
Change-Id: I1b239a666b6605035e0f9c140d940e8c260bafd3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -91,8 +91,8 @@ public:
|
||||
CppAssistProposalItem() :
|
||||
m_isOverloaded(false) {}
|
||||
|
||||
bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE;
|
||||
void applyContextualContent(TextEditorWidget *editorWidget, int basePosition) const Q_DECL_OVERRIDE;
|
||||
bool prematurelyApplies(const QChar &c) const override;
|
||||
void applyContextualContent(TextEditorWidget *editorWidget, int basePosition) const override;
|
||||
|
||||
bool isOverloaded() const { return m_isOverloaded; }
|
||||
void markAsOverloaded() { m_isOverloaded = true; }
|
||||
@@ -351,10 +351,10 @@ public:
|
||||
, m_typeOfExpression(typeOfExp)
|
||||
{}
|
||||
|
||||
void reset() Q_DECL_OVERRIDE {}
|
||||
int size() const Q_DECL_OVERRIDE { return m_functionSymbols.size(); }
|
||||
QString text(int index) const Q_DECL_OVERRIDE;
|
||||
int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
|
||||
void reset() override {}
|
||||
int size() const override { return m_functionSymbols.size(); }
|
||||
QString text(int index) const override;
|
||||
int activeArgument(const QString &prefix) const override;
|
||||
|
||||
private:
|
||||
QList<Function *> m_functionSymbols;
|
||||
@@ -439,8 +439,8 @@ public:
|
||||
, m_replaceDotForArrow(static_cast<CppAssistProposalModel *>(model)->m_replaceDotForArrow)
|
||||
{}
|
||||
|
||||
bool isCorrective() const Q_DECL_OVERRIDE { return m_replaceDotForArrow; }
|
||||
void makeCorrection(TextEditorWidget *editorWidget) Q_DECL_OVERRIDE;
|
||||
bool isCorrective() const override { return m_replaceDotForArrow; }
|
||||
void makeCorrection(TextEditorWidget *editorWidget) override;
|
||||
|
||||
private:
|
||||
bool m_replaceDotForArrow;
|
||||
|
||||
Reference in New Issue
Block a user