File indexing completed on 2022-11-23 12:18:33

0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0002 // SPDX-FileCopyrightText: 2020-2021 Harald Sitter <sitter@kde.org>
0003 
0004 #pragma once
0005 
0006 #include <QObject>
0007 
0008 class SMARTMonitor;
0009 class Device;
0010 
0011 class SMARTNotifier : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     SMARTNotifier(SMARTMonitor *monitor, QObject *parent = nullptr);
0016 
0017 private Q_SLOTS:
0018     void onMaybeFailed();
0019 
0020 private:
0021     void maybeFailed(const Device *device);
0022 };