From 6f5accfd98aada49f630eb5411de7dd26bd0db1e Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 3 Jun 2015 15:32:31 +0200 Subject: [PATCH] fakevim: s/Q_DECL_OVERRIDE/override/g Change-Id: I84c9d5df0b267c5039ce37e3ea4ddc1b83efc2a3 Reviewed-by: hjk --- src/plugins/fakevim/fakevimplugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index c720324923c..52905082cf3 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -931,18 +931,18 @@ public: : m_provider(const_cast(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(provider)) {} - IAssistProposal *perform(const AssistInterface *interface) Q_DECL_OVERRIDE + IAssistProposal *perform(const AssistInterface *interface) override { const QString &needle = m_provider->needle();