Plasma5Support

activityservice.h
1/*
2 SPDX-FileCopyrightText: 2010 Chani Armitage <chani@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "activityengine.h"
10
11#include <Plasma5Support/Service>
12#include <Plasma5Support/ServiceJob>
13
14using namespace Plasma5Support;
15
16namespace KActivities
17{
18class Controller;
19} // namespace KActivities
20
21class ActivityService : public Plasma5Support::Service
22{
24
25public:
26 ActivityService(KActivities::Controller *controller, const QString &source);
27 ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters) override;
28
29private:
30 KActivities::Controller *m_activityController;
31 QString m_id;
32};
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
This class provides a generic API for write access to settings or services.
Definition service.h:78
Namespace for everything in libplasma.
Definition datamodel.cpp:15
Q_OBJECTQ_OBJECT
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.