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:
@@ -47,7 +47,6 @@
|
||||
#include <cplusplus/ExpressionUnderCursor.h>
|
||||
|
||||
#include <utils/faketooltip.h>
|
||||
#include <utils/qtcoverride.h>
|
||||
|
||||
#include <QIcon>
|
||||
#include <QPainter>
|
||||
@@ -177,10 +176,10 @@ public:
|
||||
, m_currentArg(-1)
|
||||
{}
|
||||
|
||||
void reset() QTC_OVERRIDE {}
|
||||
int size() const QTC_OVERRIDE { return m_items.size(); }
|
||||
QString text(int index) const QTC_OVERRIDE;
|
||||
int activeArgument(const QString &prefix) const QTC_OVERRIDE;
|
||||
void reset() Q_DECL_OVERRIDE {}
|
||||
int size() const Q_DECL_OVERRIDE { return m_items.size(); }
|
||||
QString text(int index) const Q_DECL_OVERRIDE;
|
||||
int activeArgument(const QString &prefix) const Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
QVector<GLSL::Function *> m_items;
|
||||
|
||||
Reference in New Issue
Block a user