17 #ifndef UNITY_SHELL_SCOPES_OPTIONSELECTOROPTIONSINTERFACE_H 18 #define UNITY_SHELL_SCOPES_OPTIONSELECTOROPTIONSINTERFACE_H 20 #include <unity/SymbolExport.h> 21 #include <QAbstractListModel> 38 RoleOptionId = Qt::UserRole + 1,
43 Q_INVOKABLE
virtual void setChecked(
int index,
bool checked) = 0;
45 QHash<int, QByteArray> roleNames()
const override 47 QHash<int, QByteArray> roles;
48 roles[RoleOptionId] =
"id";
49 roles[RoleOptionLabel] =
"label";
50 roles[RoleOptionChecked] =
"checked";
Definition: OptionSelectorOptionsInterface.h:30
Top-level namespace for all things Unity-related.
Definition: Version.h:37