File indexing completed on 2024-04-28 04:00:49
0001 /* 0002 SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef SOLID_FD_POWER_NOTIFIER_H 0008 #define SOLID_FD_POWER_NOTIFIER_H 0009 0010 #include "backends/powernotifier.h" 0011 #include <QStringList> 0012 0013 namespace Solid 0014 { 0015 class FDPowerNotifier : public PowerNotifier 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit FDPowerNotifier(QObject *parent = nullptr); 0020 0021 private Q_SLOTS: 0022 void upowerPropertiesChanged(const QString &interface, const QVariantMap &changedProperties, const QStringList &invalidated); 0023 void login1Resuming(bool active); 0024 }; 0025 } 0026 0027 #endif // SOLID_FD_POWER_NOTIFIER_H