Plasma5Support

powermanagementservice.h
1/*
2 SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <Plasma5Support/Service>
10#include <Plasma5Support/ServiceJob>
11
12using namespace Plasma5Support;
13
14class PowerManagementService : public Plasma5Support::Service
15{
17
18public:
19 explicit PowerManagementService(QObject *parent = nullptr);
20 ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters) override;
21};
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
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.