Changeset View
Changeset View
Standalone View
Standalone View
src/notifybypopup.h
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
|---|---|---|---|---|---|
| 45 | void update(KNotification *notification, KNotifyConfig *config) override; | 45 | void update(KNotification *notification, KNotifyConfig *config) override; | ||
| 46 | 46 | | |||
| 47 | private Q_SLOTS: | 47 | private Q_SLOTS: | ||
| 48 | // slot which gets called when DBus signals that some notification action was invoked | 48 | // slot which gets called when DBus signals that some notification action was invoked | ||
| 49 | void onNotificationActionInvoked(uint notificationId, const QString &actionKey); | 49 | void onNotificationActionInvoked(uint notificationId, const QString &actionKey); | ||
| 50 | // slot which gets called when DBus signals that some notification was closed | 50 | // slot which gets called when DBus signals that some notification was closed | ||
| 51 | void onNotificationClosed(uint, uint); | 51 | void onNotificationClosed(uint, uint); | ||
| 52 | 52 | | |||
| 53 | void onServerReply(QDBusPendingCallWatcher *callWatcher); | | |||
| 54 | | ||||
| 55 | void onServerCapabilitiesReceived(const QStringList &capabilities); | | |||
| 56 | | ||||
| 57 | private: | 53 | private: | ||
| 58 | // TODO KF6, replace current public notify/update | 54 | // TODO KF6, replace current public notify/update | ||
| 59 | void notify(KNotification *notification, const KNotifyConfig ¬ifyConfig); | 55 | void notify(KNotification *notification, const KNotifyConfig ¬ifyConfig); | ||
| 60 | void update(KNotification *notification, const KNotifyConfig ¬ifyConfig); | 56 | void update(KNotification *notification, const KNotifyConfig ¬ifyConfig); | ||
| 61 | 57 | | |||
| 62 | NotifyByPopupPrivate * const d; | 58 | NotifyByPopupPrivate * const d; | ||
| 63 | friend class NotifyByPopupPrivate; | 59 | friend class NotifyByPopupPrivate; | ||
| 64 | }; | 60 | }; | ||
| 65 | 61 | | |||
| 66 | #endif | 62 | #endif | ||