Plasma5Support

hotplugservice.cpp
1/*
2 SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-only
5*/
6
7#include "hotplugservice.h"
8#include "hotplugengine.h"
9#include "hotplugjob.h"
10
11HotplugService::HotplugService(HotplugEngine *parent, const QString &source)
12 : Plasma5Support::Service(parent)
13 , m_engine(parent)
14{
15 setName(QStringLiteral("hotplug"));
16 setDestination(source);
17}
18
19Plasma5Support::ServiceJob *HotplugService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
20{
21 return new HotplugJob(m_engine, destination(), operation, parameters, this);
22}
This class is connected with solid, filter devices and provide signal with source for applet in Plasm...
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
Namespace for everything in libplasma.
Definition datamodel.cpp:15
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.