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.
24 lines
625 B
24 lines
625 B
/* |
|
SPDX-FileCopyrightText: 2008 Rob Scheepmaker <r.scheepmaker@student.utwente.nl> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-only |
|
*/ |
|
|
|
#include "jobcontrol.h" |
|
#include "jobaction.h" |
|
#include "kuiserverengine.h" |
|
|
|
using namespace NotificationManager; |
|
|
|
JobControl::JobControl(QObject *parent, Job *job) |
|
: Plasma::Service(parent) |
|
, m_job(job) |
|
{ |
|
setName(QStringLiteral("applicationjobs")); |
|
setDestination(KuiserverEngine::sourceName(job)); |
|
} |
|
|
|
Plasma::ServiceJob *JobControl::createJob(const QString &operation, QMap<QString, QVariant> ¶meters) |
|
{ |
|
return new JobAction(m_job, operation, parameters, this); |
|
}
|
|
|