Changeset View
Changeset View
Standalone View
Standalone View
interfaces/notificationsmodel.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
63 | NotificationDbusInterface* getNotification(const QModelIndex& index) const; | 63 | NotificationDbusInterface* getNotification(const QModelIndex& index) const; | ||
64 | 64 | | |||
65 | Q_INVOKABLE bool isAnyDimissable() const; | 65 | Q_INVOKABLE bool isAnyDimissable() const; | ||
66 | QHash<int, QByteArray> roleNames() const override; | 66 | QHash<int, QByteArray> roleNames() const override; | ||
67 | 67 | | |||
68 | public Q_SLOTS: | 68 | public Q_SLOTS: | ||
69 | void dismissAll(); | 69 | void dismissAll(); | ||
70 | 70 | | |||
71 | | ||||
71 | private Q_SLOTS: | 72 | private Q_SLOTS: | ||
72 | void notificationAdded(const QString& id); | 73 | void notificationAdded(const QString& id); | ||
73 | void notificationRemoved(const QString& id); | 74 | void notificationRemoved(const QString& id); | ||
74 | void notificationUpdated(const QString& id); | 75 | void notificationUpdated(const QString& id); | ||
75 | void refreshNotificationList(); | 76 | void refreshNotificationList(); | ||
76 | void receivedNotifications(QDBusPendingCallWatcher* watcher); | 77 | void receivedNotifications(QDBusPendingCallWatcher* watcher); | ||
77 | void clearNotifications(); | 78 | void clearNotifications(); | ||
78 | 79 | | |||
Show All 12 Lines |