Specify override on overriden methods in model.h
Let's use C++11 - the good parts ;-)
This commit is contained in:
parent
cf5ba0378a
commit
46c395e8ac
1 changed files with 6 additions and 6 deletions
|
@ -63,12 +63,12 @@ public:
|
|||
|
||||
explicit EffectModel(QObject *parent = 0);
|
||||
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
||||
QModelIndex parent(const QModelIndex &child) const;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
||||
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
|
||||
QModelIndex parent(const QModelIndex &child) const override;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
|
||||
QString serviceName(const QString &effectName);
|
||||
bool effectListContains(const QString &effectFilter, int source_row);
|
||||
|
||||
|
|
Loading…
Reference in a new issue