17#ifndef UNITY_SHELL_SCOPES_SETTINGSMODELINTERFACE_H
18#define UNITY_SHELL_SCOPES_SETTINGSMODELINTERFACE_H
20#include <unity/SymbolExport.h>
22#include <QAbstractListModel>
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:32
int count
Integer representing the number of setting elements in the model.
Definition SettingsModelInterface.h:38
Roles
The roles supported by this model.
Definition SettingsModelInterface.h:57
Top-level namespace for all things Unity-related.
Definition Version.h:38