Plasma5Support

powermanagementservice.cpp
1/*
2 SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "powermanagementservice.h"
8#include "powermanagementjob.h"
9
10PowerManagementService::PowerManagementService(QObject *parent)
11 : Plasma5Support::Service(parent)
12{
13 setName(QStringLiteral("powermanagementservice"));
14}
15
16ServiceJob *PowerManagementService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
17{
18 return new PowerManagementJob(operation, parameters, this);
19}
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
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.