forked from qt-creator/qt-creator
CodeAssistant: Replace virtual with QTC_OVERRIDE
Change-Id: I18ea4ea410ac811972447e9395f2eef76bda8084 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d087d0b66e
commit
91def5a8ff
@@ -46,7 +46,9 @@
|
||||
#include <texteditor/codeassist/genericproposal.h>
|
||||
#include <texteditor/codeassist/functionhintproposal.h>
|
||||
#include <cplusplus/ExpressionUnderCursor.h>
|
||||
|
||||
#include <utils/faketooltip.h>
|
||||
#include <utils/qtcoverride.h>
|
||||
|
||||
#include <QIcon>
|
||||
#include <QPainter>
|
||||
@@ -149,10 +151,10 @@ public:
|
||||
, m_currentArg(-1)
|
||||
{}
|
||||
|
||||
virtual void reset() {}
|
||||
virtual int size() const { return m_items.size(); }
|
||||
virtual QString text(int index) const;
|
||||
virtual int activeArgument(const QString &prefix) const;
|
||||
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;
|
||||
|
||||
private:
|
||||
QVector<GLSL::Function *> m_items;
|
||||
|
||||
Reference in New Issue
Block a user