Plasma5Support

soliddevicejob.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 "soliddeviceengine.h"
10
11#include <Plasma5Support/ServiceJob>
12
13class SolidDeviceJob : public Plasma5Support::ServiceJob
14{
16
17public:
18 SolidDeviceJob(SolidDeviceEngine *engine,
19 const QString &destination,
20 const QString &operation,
22 QObject *parent = nullptr)
23 : ServiceJob(destination, operation, parameters, parent)
24 , m_engine(engine)
25 , m_dest(destination)
26 {
27 }
28
29 void start() override;
30
31private:
32 SolidDeviceEngine *m_engine;
33 QString m_dest;
34};
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.
This class evaluates the basic expressions given in the interface.
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.