diff --git a/src/accountsservice/usersmodel.h b/src/accountsservice/usersmodel.h index 554c3ac..e1f1a2b 100644 --- a/src/accountsservice/usersmodel.h +++ b/src/accountsservice/usersmodel.h @@ -67,12 +67,12 @@ class QT6ACCOUNTSSERVICE_EXPORT UsersModel : public QAbstractListModel explicit UsersModel(QObject *parent = nullptr); - QHash roleNames() const; + QHash roleNames() const override; - int rowCount(const QModelIndex &parent) const; + int rowCount(const QModelIndex &parent) const override; - QVariant data(const QModelIndex &index, int role) const; - bool setData(const QModelIndex &index, const QVariant &value, int role); + QVariant data(const QModelIndex &index, int role) const override; + bool setData(const QModelIndex &index, const QVariant &value, int role) override; UserAccount *userAccount(const QModelIndex &index) const;