File indexing completed on 2024-05-12 05:36:20
0001 /* 0002 * SPDX-FileCopyrightText: 2022 by Devin Lin <devin@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "powermenuutil.h" 0008 0009 #include <sessionmanagement.h> 0010 0011 PowerMenuUtil::PowerMenuUtil(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void PowerMenuUtil::openShutdownScreen() 0017 { 0018 SessionManagement sessionManagement; 0019 sessionManagement.requestShutdown(); 0020 }