Add Q_DECL_OVERRIDE
This commit is contained in:
parent
4f21002603
commit
8ed916ef20
1 changed files with 3 additions and 3 deletions
|
@ -53,10 +53,10 @@ public:
|
|||
DanbooruPostModel(QObject *parent = 0);
|
||||
~DanbooruPostModel();
|
||||
|
||||
Q_INVOKABLE int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QVariant data(const QModelIndex &index, int role) const;
|
||||
Q_INVOKABLE int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE;
|
||||
void clear();
|
||||
QHash<int, QByteArray> roleNames() const;
|
||||
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
|
||||
|
||||
enum PostRoles {
|
||||
FileUrlRole = Qt::UserRole + 1001,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue