forked from qt-creator/qt-creator
Core: Add override to models
Change-Id: I89de84e2de0dcce759170d124a214a8d4c004130 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -103,8 +103,8 @@ public:
|
||||
CategoryModel(QObject *parent = 0);
|
||||
~CategoryModel();
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
void setPages(const QList<IOptionsPage*> &pages,
|
||||
const QList<IOptionsPageProvider *> &providers);
|
||||
@@ -251,7 +251,7 @@ public:
|
||||
{}
|
||||
|
||||
protected:
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
|
||||
};
|
||||
|
||||
bool CategoryFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
|
||||
|
||||
Reference in New Issue
Block a user