You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
524 B

/*
SPDX-FileCopyrightText: 2019 Kai Uwe Broulik <kde@broulik.de>
SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#include <QObject>
class QAction;
class GlobalShortcuts : public QObject
{
Q_OBJECT
public:
explicit GlobalShortcuts(QObject *parent = nullptr);
~GlobalShortcuts() override;
Q_INVOKABLE void showDoNotDisturbOsd(bool doNotDisturb) const;
Q_SIGNALS:
void toggleDoNotDisturbTriggered();
private:
QAction *m_toggleDoNotDisturbAction;
};