Changeset View
Changeset View
Standalone View
Standalone View
src/context/AppletModel.h
Show All 35 Lines | |||||
36 | public: | 36 | public: | ||
37 | enum Role | 37 | enum Role | ||
38 | { | 38 | { | ||
39 | Name, | 39 | Name, | ||
40 | Id, | 40 | Id, | ||
41 | Icon, | 41 | Icon, | ||
42 | Mainscript, | 42 | Mainscript, | ||
43 | Collapsed, | 43 | Collapsed, | ||
44 | PackagePath, | | |||
45 | ContentHeight | 44 | ContentHeight | ||
46 | }; | 45 | }; | ||
47 | Q_ENUM(Role) | 46 | Q_ENUM(Role) | ||
48 | 47 | | |||
49 | explicit AppletModel(AppletLoader *loader, QObject *parent = nullptr); | 48 | explicit AppletModel(AppletLoader *loader, QObject *parent = nullptr); | ||
50 | ~AppletModel() override; | 49 | ~AppletModel() override; | ||
51 | 50 | | |||
52 | int rowCount(const QModelIndex& parent) const override; | 51 | int rowCount(const QModelIndex& parent) const override; | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |