forked from Qortal/Brooklyn
28 lines
525 B
C
28 lines
525 B
C
|
/*
|
||
|
SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl>
|
||
|
|
||
|
SPDX-License-Identifier: LGPL-2.0-only
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <plasma/service.h>
|
||
|
|
||
|
#include <QPointer>
|
||
|
|
||
|
#include "job.h"
|
||
|
|
||
|
class JobControl : public Plasma::Service
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
JobControl(QObject *parent, NotificationManager::Job *job);
|
||
|
|
||
|
protected:
|
||
|
Plasma::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override;
|
||
|
|
||
|
private:
|
||
|
QPointer<NotificationManager::Job> m_job;
|
||
|
};
|