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:
@@ -34,7 +34,6 @@
|
||||
|
||||
#include "qmljsscanner.h"
|
||||
|
||||
#include <utils/qtcoverride.h>
|
||||
#include <QStack>
|
||||
#include <QList>
|
||||
#include <QVector>
|
||||
@@ -324,8 +323,8 @@ public:
|
||||
void setIndentSize(int size);
|
||||
|
||||
protected:
|
||||
void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const QTC_OVERRIDE;
|
||||
void adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const QTC_OVERRIDE;
|
||||
void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const Q_DECL_OVERRIDE;
|
||||
void adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
int m_indentSize;
|
||||
|
||||
Reference in New Issue
Block a user