Changeset View
Changeset View
Standalone View
Standalone View
plugins/notifications/notificationsdbusinterface.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
47 | void clearNotifications(); | 47 | void clearNotifications(); | ||
48 | void dismissRequested(const QString& notification); | 48 | void dismissRequested(const QString& notification); | ||
49 | void replyRequested(Notification* noti); | 49 | void replyRequested(Notification* noti); | ||
50 | void addNotification(Notification* noti); | 50 | void addNotification(Notification* noti); | ||
51 | 51 | | |||
52 | public Q_SLOTS: | 52 | public Q_SLOTS: | ||
53 | Q_SCRIPTABLE QStringList activeNotifications(); | 53 | Q_SCRIPTABLE QStringList activeNotifications(); | ||
54 | Q_SCRIPTABLE void sendReply(const QString& replyId, const QString& message); | 54 | Q_SCRIPTABLE void sendReply(const QString& replyId, const QString& message); | ||
55 | Q_SCRIPTABLE void sendAction(const QString& key, const QString& action); | ||||
mtijink: I think `key` should be `replyId` or something like that. | |||||
55 | 56 | | |||
56 | Q_SIGNALS: | 57 | Q_SIGNALS: | ||
57 | Q_SCRIPTABLE void notificationPosted(const QString& publicId); | 58 | Q_SCRIPTABLE void notificationPosted(const QString& publicId); | ||
58 | Q_SCRIPTABLE void notificationRemoved(const QString& publicId); | 59 | Q_SCRIPTABLE void notificationRemoved(const QString& publicId); | ||
59 | Q_SCRIPTABLE void notificationUpdated(const QString& publicId); | 60 | Q_SCRIPTABLE void notificationUpdated(const QString& publicId); | ||
60 | Q_SCRIPTABLE void allNotificationsRemoved(); | 61 | Q_SCRIPTABLE void allNotificationsRemoved(); | ||
61 | 62 | | |||
62 | private /*methods*/: | 63 | private /*methods*/: | ||
Show All 13 Lines |
I think key should be replyId or something like that.