Solid

logindinhibitionargument.h
1/*
2 SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef LOGIND_INHIBITION_ARGUMENT_H
8#define LOGIND_INHIBITION_ARGUMENT_H
9
10#include "solid/power/power.h"
11/**
12 * The single responsibility of this class is to create arguments valid for
13 * logind Inhibit call.
14 */
15namespace Solid
16{
17class LogindInhibitionArgument
18{
19public:
20 static QString fromPowerState(Power::InhibitionTypes states);
21};
22}
23#endif // LOGIND_INHIBITION_ARGUMENT_H
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:08:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.