Commit 6f5accfd authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

fakevim: s/Q_DECL_OVERRIDE/override/g



Change-Id: I84c9d5df0b267c5039ce37e3ea4ddc1b83efc2a3
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent e9d05d82
......@@ -931,18 +931,18 @@ public:
: m_provider(const_cast<FakeVimCompletionAssistProvider *>(provider))
{}
bool implicitlyApplies() const Q_DECL_OVERRIDE
bool implicitlyApplies() const override
{
return false;
}
bool prematurelyApplies(const QChar &c) const Q_DECL_OVERRIDE
bool prematurelyApplies(const QChar &c) const override
{
m_provider->appendNeedle(c);
return text() == m_provider->needle();
}
void applyContextualContent(TextEditorWidget *, int) const Q_DECL_OVERRIDE
void applyContextualContent(TextEditorWidget *, int) const override
{
QTC_ASSERT(m_provider->handler(), return);
m_provider->handler()->handleReplay(text().mid(m_provider->needle().size()));
......@@ -962,7 +962,7 @@ public:
loadContent(items);
}
bool supportsPrefixExpansion() const Q_DECL_OVERRIDE
bool supportsPrefixExpansion() const override
{
return false;
}
......@@ -975,7 +975,7 @@ public:
: m_provider(static_cast<const FakeVimCompletionAssistProvider *>(provider))
{}
IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE
IAssistProposal *perform(const AssistInterface *interface) override
{
const QString &needle = m_provider->needle();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment