20 #ifndef UNITY_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H 21 #define UNITY_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H 23 #include <unity/SymbolExport.h> 25 #include <QtCore/QAbstractListModel> 51 m_roleNames.insert(RoleLabel,
"label");
52 m_roleNames.insert(RoleIcon,
"icon");
53 m_roleNames.insert(RoleClickable,
"clickable");
54 m_roleNames.insert(RoleHasSeparator,
"hasSeparator");
55 m_roleNames.insert(RoleIsPrivate,
"isPrivate");
78 QHash<int, QByteArray> roleNames()
const override {
85 QHash<int, QByteArray> m_roleNames;
94 #endif // UNITY_SHELL_LAUNCHER_QUICKLISTMODELINTERFACE_H Top-level namespace for all things Unity-related.
Definition: Version.h:37
Roles
The Roles supported by the model.
Definition: QuickListModelInterface.h:64
A model containing QuickList actions for an application in the launcher.
Definition: QuickListModelInterface.h:44