17 #ifndef UNITY_SHELL_SCOPES_OPTIONSELECTOROPTIONSINTERFACE_H
18 #define UNITY_SHELL_SCOPES_OPTIONSELECTOROPTIONSINTERFACE_H
20 #include <unity/SymbolExport.h>
21 #include <QAbstractListModel>
36 RoleOptionId = Qt::UserRole + 1,
42 Q_INVOKABLE
virtual void setChecked(
int index,
bool checked) = 0;
44 QHash<int, QByteArray> roleNames()
const override
46 QHash<int, QByteArray> roles;
47 roles[RoleOptionId] =
"id";
48 roles[RoleOptionLabel] =
"label";
49 roles[RoleOptionChecked] =
"checked";