Solid

wingenericinterface.h
1/*
2 SPDX-FileCopyrightText: 2013 Patrick von Reth <vonreth@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 WINGENERICINTERFACE_H
8#define WINGENERICINTERFACE_H
9
10#include "wininterface.h"
11#include <solid/devices/ifaces/genericinterface.h>
12namespace Solid
13{
14namespace Backends
15{
16namespace Win
17{
18class WinGenericInterface : public WinInterface, virtual public Solid::Ifaces::GenericInterface
19{
22public:
23 WinGenericInterface(WinDevice *device);
24
25 virtual QVariant property(const QString &key) const;
26
27 virtual QMap<QString, QVariant> allProperties() const;
28
29 virtual bool propertyExists(const QString &key) const;
30
32 void propertyChanged(const QMap<QString, int> &changes);
33 void conditionRaised(const QString &condition, const QString &reason);
34};
35}
36}
37}
38
39#endif // WINGENERICINTERFACE_H
Generic interface to deal with a device.
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.