17 #ifndef UNITY_SHELL_SCOPES_SETTINGSMODELINTERFACE_H 18 #define UNITY_SHELL_SCOPES_SETTINGSMODELINTERFACE_H 20 #include <unity/SymbolExport.h> 22 #include <QAbstractListModel> 38 Q_PROPERTY(
int count READ count NOTIFY countChanged)
43 : QAbstractListModel(parent)
51 virtual int count()
const = 0;
67 QHash<int, QByteArray> roleNames()
const override 69 QHash<int, QByteArray> roles;
70 roles[RoleSettingId] =
"settingId";
71 roles[RoleDisplayName] =
"displayName";
72 roles[RoleType] =
"type";
73 roles[RoleProperties] =
"properties";
74 roles[RoleValue] =
"value";
Definition: SettingsModelInterface.h:31
Top-level namespace for all things Unity-related.
Definition: Version.h:37
Roles
The roles supported by this model.
Definition: SettingsModelInterface.h:56