Plasma5Support

appservice.cpp
1/*
2 SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-only
5*/
6
7#include "appservice.h"
8
9// own
10#include "appjob.h"
11
12AppService::AppService(AppSource *source)
13 : Plasma5Support::Service(source)
14 , m_source(source)
15{
16 setName(QStringLiteral("apps"));
17}
18
19AppService::~AppService()
20{
21}
22
23Plasma5Support::ServiceJob *AppService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
24{
25 return new AppJob(m_source, operation, parameters, this);
26}
App Source.
Definition appsource.h:19
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
Namespace for everything in libplasma.
Definition datamodel.cpp:15
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.