File indexing completed on 2024-05-19 05:37:49
0001 /* 0002 SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #pragma once 0008 0009 #include <plasma5support/service.h> 0010 0011 #include <QPointer> 0012 0013 #include "job.h" 0014 0015 class JobControl : public Plasma5Support::Service 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 JobControl(QObject *parent, NotificationManager::Job *job); 0021 0022 protected: 0023 Plasma5Support::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; 0024 0025 private: 0026 QPointer<NotificationManager::Job> m_job; 0027 };