shift-shell/quicksettings/powermenu/powermenuutil.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
369 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2022 by Devin Lin <devin@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QObject>
#include <qqmlregistration.h>
class PowerMenuUtil : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
public:
PowerMenuUtil(QObject *parent = nullptr);
Q_INVOKABLE void openShutdownScreen();
};