diff --git a/src/model/danboorupostmodel.h b/src/model/danboorupostmodel.h index b7e06da..7f56009 100644 --- a/src/model/danboorupostmodel.h +++ b/src/model/danboorupostmodel.h @@ -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 roleNames() const; + QHash roleNames() const Q_DECL_OVERRIDE; enum PostRoles { FileUrlRole = Qt::UserRole + 1001,