shift-shell/quicksettings/powermenu/powermenuutil.cpp

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

21 lines
377 B
C++
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2022 by Devin Lin <devin@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "powermenuutil.h"
2023-11-05 21:34:03 +00:00
#include <sessionmanagement.h>
PowerMenuUtil::PowerMenuUtil(QObject *parent)
: QObject{parent}
{
}
void PowerMenuUtil::openShutdownScreen()
{
2023-11-05 21:34:03 +00:00
SessionManagement sessionManagement;
sessionManagement.requestShutdown();
}