mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
DB model classes: use explicit, nullptr, override
This commit is contained in:
committed by
Felix Kauselmann
parent
b5251f9416
commit
5fd5ff5b64
@ -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;
|
||||
|
Reference in New Issue
Block a user