/* SPDX-FileCopyrightText: 2008 Rob Scheepmaker SPDX-License-Identifier: LGPL-2.0-only */ #pragma once #include "kuiserverengine.h" #include #include #include "job.h" namespace NotificationManager { class Job; } class JobAction : public Plasma5Support::ServiceJob { Q_OBJECT public: JobAction(NotificationManager::Job *job, const QString &operation, QMap ¶meters, QObject *parent = nullptr) : ServiceJob(KuiserverEngine::sourceName(job), operation, parameters, parent) , m_job(job) { } void start() override; private: QPointer m_job; };