File indexing completed on 2024-11-17 05:04:03
0001 /* 0002 SPDX-FileCopyrightText: 2016 Sebastian Kügler <sebas@kde.org> 0003 0004 Work sponsored by the LiMux project of the city of Munich: 0005 SPDX-FileCopyrightText: 2018 Kai Uwe Broulik <kde@broulik.de> 0006 0007 SPDX-FileCopyrightText: 2022 David Redondo <kde@david-redondo.de> 0008 SPDX-FileCopyrightText: 2023 Natalie Clarius <natalie.clarius@kde.org> 0009 0010 0011 SPDX-License-Identifier: GPL-2.0-or-later 0012 */ 0013 0014 #include "osdaction.h" 0015 0016 #include <KLocalizedString> 0017 0018 using namespace PowerDevil; 0019 0020 QList<OsdAction> OsdAction::availableActions() 0021 { 0022 return { 0023 {QStringLiteral("power-saver"), i18ndc("powerdevil", "power profile", "Power Save Mode"), QStringLiteral("battery-profile-powersave")}, 0024 {QStringLiteral("balanced"), i18ndc("powerdevil", "power profile", "Balanced Performance Mode"), QStringLiteral("speedometer")}, 0025 {QStringLiteral("performance"), i18ndc("powerdevil", "power profile", "Maximum Performance Mode"), QStringLiteral("battery-profile-performance")}, 0026 }; 0027 } 0028 0029 #include "moc_osdaction.cpp"