Plasma5Support

activityjob.h
1/*
2 SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-only
5*/
6
7#pragma once
8
9// plasma
10#include <Plasma5Support/ServiceJob>
11
12namespace KActivities
13{
14class Controller;
15} // namespace KActivities
16
17class ActivityJob : public Plasma5Support::ServiceJob
18{
20
21public:
22 ActivityJob(KActivities::Controller *controller,
23 const QString &id,
24 const QString &operation,
26 QObject *parent = nullptr);
27 ~ActivityJob() override;
28
29protected:
30 void start() override;
31
32private:
33 KActivities::Controller *m_activityController;
34 QString m_id;
35};
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
QVariantMap parameters() const
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.