forked from qt-creator/qt-creator
Use Q_DECL_OVERRIDE instead of QTC_OVERRIDE
This patch removes src/libs/utils/qtcoverride.h and uses Q_DECL_OVERRIDE from Qt 5 instead. Change-Id: I61ffa539648ffe996dc061eec7708c04580c0f09 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "cpptools_global.h"
|
||||
#include "semantichighlighter.h"
|
||||
|
||||
#include <utils/qtcoverride.h>
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
@@ -51,11 +50,11 @@ public:
|
||||
~BuiltinEditorDocumentProcessor();
|
||||
|
||||
// BaseEditorDocumentProcessor interface
|
||||
void run() QTC_OVERRIDE;
|
||||
void semanticRehighlight(bool force) QTC_OVERRIDE;
|
||||
CppTools::SemanticInfo recalculateSemanticInfo() QTC_OVERRIDE;
|
||||
BaseEditorDocumentParser *parser() QTC_OVERRIDE;
|
||||
bool isParserRunning() const QTC_OVERRIDE;
|
||||
void run() Q_DECL_OVERRIDE;
|
||||
void semanticRehighlight(bool force) Q_DECL_OVERRIDE;
|
||||
CppTools::SemanticInfo recalculateSemanticInfo() Q_DECL_OVERRIDE;
|
||||
BaseEditorDocumentParser *parser() Q_DECL_OVERRIDE;
|
||||
bool isParserRunning() const Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
void onParserFinished(CPlusPlus::Document::Ptr document, CPlusPlus::Snapshot snapshot);
|
||||
|
||||
Reference in New Issue
Block a user