You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
525 B
27 lines
525 B
/* |
|
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; |
|
};
|
|
|