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.
 
 
 
 
 
 

22 lines
601 B

/*
SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
SPDX-License-Identifier: LGPL-2.0-only
*/
#include "hotplugservice.h"
#include "hotplugengine.h"
#include "hotplugjob.h"
HotplugService::HotplugService(HotplugEngine *parent, const QString &source)
: Plasma::Service(parent)
, m_engine(parent)
{
setName(QStringLiteral("hotplug"));
setDestination(source);
}
Plasma::ServiceJob *HotplugService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
{
return new HotplugJob(m_engine, destination(), operation, parameters, this);
}