25
NotificationClient::NotificationClient(const QDBusConnection& connection, QObject *parent) : QObject(parent),
30
connect(&m_interface, &OrgFreedesktopNotificationsInterface::ActionInvoked, this, &NotificationClient::ActionInvoked);
31
connect(&m_interface, &OrgFreedesktopNotificationsInterface::NotificationClosed, this, &NotificationClient::NotificationClosed);
30
34
NotificationClient::~NotificationClient() {
34
37
NotificationID NotificationClient::sendNotification(Notification::Type ntype, Notification::Urgency urg, const QString &summary, const QString &body) {