File indexing completed on 2024-05-12 05:37:19
0001 /* 0002 SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #include "notificationservice.h" 0008 #include "notificationaction.h" 0009 #include "notificationsengine.h" 0010 0011 NotificationService::NotificationService(NotificationsEngine *parent, const QString &source) 0012 : Plasma5Support::Service(parent) 0013 , m_notificationEngine(parent) 0014 { 0015 setName(QStringLiteral("notifications")); 0016 setDestination(source); 0017 } 0018 0019 Plasma5Support::ServiceJob *NotificationService::createJob(const QString &operation, QMap<QString, QVariant> ¶meters) 0020 { 0021 return new NotificationAction(m_notificationEngine, destination(), operation, parameters, this); 0022 }