Plasma5Support

activityservice.cpp
1/*
2 SPDX-FileCopyrightText: 2010 Chani Armitage <chani@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "activityservice.h"
8#include "activityjob.h"
9
10ActivityService::ActivityService(KActivities::Controller *controller, const QString &source)
11 : m_activityController(controller)
12 , m_id(source)
13{
14 setName(QStringLiteral("activities"));
15}
16
17ServiceJob *ActivityService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
18{
19 return new ActivityJob(m_activityController, m_id, operation, parameters, this);
20}
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
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.