Commit 4ef5490a authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[accountsmodel] Expose roles enum to QML

parent 403a5a77
Pipeline #203612 passed with stage
in 1 minute and 13 seconds
......@@ -36,16 +36,17 @@ class KACCOUNTS_EXPORT AccountsModel : public QAbstractListModel
public:
enum Roles {
DisplayNameRole = Qt::DisplayRole,
IdRole = Qt::UserRole + 1,
ServicesRole,
EnabledRole,
CredentialsIdRole,
DisplayNameRole,
ProviderNameRole,
IconNameRole,
DataObjectRole,
ProviderDisplayNameRole,
};
Q_ENUM(Roles);
explicit AccountsModel(QObject *parent = nullptr);
~AccountsModel() override;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment