forked from qt-creator/qt-creator
Valgrind: Use override consistently
clang-tidy fixes from modernize-use-override check. Change-Id: I86854125710ee2a24f4b663546f87baafefb9679 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@ class DataModel : public QAbstractItemModel
|
||||
|
||||
public:
|
||||
DataModel();
|
||||
virtual ~DataModel();
|
||||
~DataModel() override;
|
||||
|
||||
virtual void setParseData(const ParseData *data);
|
||||
virtual const ParseData *parseData() const;
|
||||
@@ -53,13 +53,13 @@ public:
|
||||
/// By default it is the first event in the @c ParseData, i.e. 0.
|
||||
virtual int costEvent() const;
|
||||
|
||||
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
virtual int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
virtual QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
||||
virtual QModelIndex parent(const QModelIndex &child) const;
|
||||
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||
virtual QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||
QModelIndex parent(const QModelIndex &child) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const override;
|
||||
|
||||
QModelIndex indexForObject(const Function *function) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user