Changeset View
Changeset View
Standalone View
Standalone View
applets/appmenu/plugin/appmenumodel.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
---|---|---|---|---|---|
48 | int rowCount(const QModelIndex &parent = QModelIndex()) const; | 48 | int rowCount(const QModelIndex &parent = QModelIndex()) const; | ||
49 | QHash<int, QByteArray> roleNames() const; | 49 | QHash<int, QByteArray> roleNames() const; | ||
50 | 50 | | |||
51 | void updateApplicationMenu(const QString &serviceName, const QString &menuObjectPath); | 51 | void updateApplicationMenu(const QString &serviceName, const QString &menuObjectPath); | ||
52 | 52 | | |||
53 | bool menuAvailable() const; | 53 | bool menuAvailable() const; | ||
54 | void setMenuAvailable(bool set); | 54 | void setMenuAvailable(bool set); | ||
55 | 55 | | |||
56 | signals: | ||||
57 | void requestActivateIndex(int index); | ||||
58 | | ||||
56 | private Q_SLOTS: | 59 | private Q_SLOTS: | ||
57 | void onActiveWindowChanged(WId id); | 60 | void onActiveWindowChanged(WId id); | ||
58 | void update(); | 61 | void update(); | ||
59 | 62 | | |||
60 | signals: | 63 | signals: | ||
61 | void menuAvailableChanged(); | 64 | void menuAvailableChanged(); | ||
62 | void modelNeedsUpdate(); | 65 | void modelNeedsUpdate(); | ||
63 | 66 | | |||
Show All 13 Lines |