Plasma5Support

hotplugjob.h
1/*
2 SPDX-FileCopyrightText: 2011 Viranch Mehta <viranch.mehta@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-only
5*/
6
7#pragma once
8
9#include "hotplugengine.h"
10
11#include <Plasma5Support/ServiceJob>
12
13class HotplugJob : public Plasma5Support::ServiceJob
14{
16
17public:
18 HotplugJob(HotplugEngine *engine, const QString &destination, const QString &operation, QMap<QString, QVariant> &parameters, QObject *parent = nullptr)
19 : ServiceJob(destination, operation, parameters, parent)
20 , m_engine(engine)
21 , m_dest(destination)
22 {
23 }
24
25 void start() override;
26
27private:
28 HotplugEngine *m_engine;
29 QString m_dest;
30};
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
QVariantMap parameters() const
ServiceJob(const QString &destination, const QString &operation, const QVariantMap &parameters, QObject *parent=nullptr)
Default constructor.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.