DB model classes: use explicit, nullptr, override

This commit is contained in:
Igor Kushnir
2021-02-14 17:09:05 +02:00
committed by Felix Kauselmann
parent b5251f9416
commit 5fd5ff5b64
3 changed files with 10 additions and 10 deletions

View File

@ -19,14 +19,14 @@ class ReadingListModelProxy : public QSortFilterProxyModel
{
Q_OBJECT
public:
explicit ReadingListModelProxy(QObject *parent = 0);
explicit ReadingListModelProxy(QObject *parent = nullptr);
};
class ReadingListModel : public QAbstractItemModel
{
Q_OBJECT
public:
explicit ReadingListModel(QObject *parent = 0);
explicit ReadingListModel(QObject *parent = nullptr);
//QAbstractItemModel methods
int rowCount(const QModelIndex &parent = QModelIndex()) const override;