File indexing completed on 2024-04-21 05:45:11
0001 /* 0002 SPDX-FileCopyrightText: 2018 Harald Sitter <sitter@kde.org> 0003 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 */ 0005 0006 #pragma once 0007 0008 #include <QObject> 0009 0010 class KNotificationRestrictions; 0011 0012 class ScreenSaverInhibitor : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit ScreenSaverInhibitor(QObject *parent = nullptr); 0017 0018 private: 0019 KNotificationRestrictions *m_restriction = nullptr; 0020 };