[plasma/powerdevil] /: Drop activity power settings KCM

Nicolas Fella null at kde.org
Sun Nov 5 15:15:44 GMT 2023


Git commit 14ea7f54467070d5187ed76016f5f24c45bb6e65 by Nicolas Fella.
Committed on 05/11/2023 at 16:13.
Pushed by nicolasfella into branch 'master'.

Drop activity power settings KCM

These settings are folded into the activities KCM

M  +0    -41   doc/kcm/index.docbook
M  +0    -1    kcmodule/CMakeLists.txt
D  +0    -19   kcmodule/activities/CMakeLists.txt
D  +0    -4    kcmodule/activities/Messages.sh
D  +0    -49   kcmodule/activities/activityWidget.ui
D  +0    -219  kcmodule/activities/activitypage.cpp
D  +0    -48   kcmodule/activities/activitypage.h
D  +0    -57   kcmodule/activities/activitywidget.cpp
D  +0    -44   kcmodule/activities/activitywidget.h
D  +0    -122  kcmodule/activities/kcm_powerdevilactivitiesconfig.json

https://invent.kde.org/plasma/powerdevil/-/commit/14ea7f54467070d5187ed76016f5f24c45bb6e65

diff --git a/doc/kcm/index.docbook b/doc/kcm/index.docbook
index 8b529935f..77424e02c 100644
--- a/doc/kcm/index.docbook
+++ b/doc/kcm/index.docbook
@@ -108,47 +108,6 @@ or after a given amount of time.
 </variablelist>
 </sect2>
 
-<sect2 id="activity-setting">
-<title>Activity Settings</title>
-<para>Here you can configure the Power Management settings per activity. The settings for each activity can be configured on its own tab.</para>
-
-<screenshot>
-<screeninfo>Activity Settings</screeninfo>
-  <mediaobject>
-    <imageobject>
-      <imagedata fileref="activity.png" format="PNG"/>
-    </imageobject>
-    <textobject>
-      <phrase>Activity Settings</phrase>
-    </textobject>
-    <caption>
-      <para>Activity Settings</para>
-    </caption>
-  </mediaobject>
-</screenshot>
-
-<variablelist>
-
-<varlistentry>
-<term>Don't use special settings</term>
-<listitem>
-<para>
-Use the settings defined on <guilabel>Energy Saving</guilabel> page.
-</para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
-<term>Define a special behavior</term>
-<listitem>
-<para>
-If this option is chosen, a special behavior for activity can be chosen. If this is a presentation activity, you can check the <guilabel>Never shutdown the screen</guilabel> and <guilabel>Never shutdown the computer or let it go to sleep</guilabel> boxes.
-</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</sect2>
-
 <sect2 id="advanced-settings">
 <title>Advanced Settings</title>
 <para>
diff --git a/kcmodule/CMakeLists.txt b/kcmodule/CMakeLists.txt
index a4ece1cd1..8b0107397 100644
--- a/kcmodule/CMakeLists.txt
+++ b/kcmodule/CMakeLists.txt
@@ -6,6 +6,5 @@ include_directories (
 
 add_subdirectory(common)
 
-add_subdirectory(activities)
 add_subdirectory(global)
 add_subdirectory(profiles)
diff --git a/kcmodule/activities/CMakeLists.txt b/kcmodule/activities/CMakeLists.txt
deleted file mode 100644
index 57bccc319..000000000
--- a/kcmodule/activities/CMakeLists.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-add_definitions(-DTRANSLATION_DOMAIN=\"kcm_powerdevilactivitiesconfig\")
-
-set( kcm_powerdevil_activities_SRCS
-     ${CMAKE_CURRENT_BINARY_DIR}/../../daemon/powerdevil_debug.cpp
-     activitypage.cpp
-     activitywidget.cpp
-     ../common/ErrorOverlay.cpp
-)
-
-ki18n_wrap_ui(kcm_powerdevil_activities_SRCS
-    activityWidget.ui)
-
-kcoreaddons_add_plugin(kcm_powerdevilactivitiesconfig SOURCES ${kcm_powerdevil_activities_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
-kcmutils_generate_desktop_file(kcm_powerdevilactivitiesconfig)
-target_link_libraries(kcm_powerdevilactivitiesconfig
-     KF6::Activities
-     KF6::KCMUtils
-     powerdevilconfigcommonprivate
-)
diff --git a/kcmodule/activities/Messages.sh b/kcmodule/activities/Messages.sh
deleted file mode 100644
index ad73ecdcb..000000000
--- a/kcmodule/activities/Messages.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/sh
-$EXTRACTRC `find -name \*.ui -o -name \*.rc -o -name \*.kcfg` >> rc.cpp || exit 11
-$XGETTEXT `find -name \*.cpp -o -name \*.h` -o $podir/kcm_powerdevilactivitiesconfig.pot
-rm -f rc.cpp
diff --git a/kcmodule/activities/activityWidget.ui b/kcmodule/activities/activityWidget.ui
deleted file mode 100644
index ab5bda721..000000000
--- a/kcmodule/activities/activityWidget.ui
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>ActivityWidget</class>
- <widget class="QWidget" name="ActivityWidget">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>676</width>
-    <height>474</height>
-   </rect>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout_3">
-   <item>
-    <layout class="QVBoxLayout" name="verticalLayout_2">
-     <item>
-      <widget class="QCheckBox" name="inhibitScreenManagementCheckBox">
-       <property name="text">
-        <string>Never turn off the screen</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QCheckBox" name="inhibitSuspendCheckBox">
-       <property name="text">
-        <string>Never shut down the computer or let it go to sleep</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item>
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>268</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-  </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/kcmodule/activities/activitypage.cpp b/kcmodule/activities/activitypage.cpp
deleted file mode 100644
index 2200e59d0..000000000
--- a/kcmodule/activities/activitypage.cpp
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
- *   SPDX-FileCopyrightText: 2011 Dario Freddi <drf at kde.org>
- *   SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <kde at privat.broulik.de>
- *
- *   SPDX-License-Identifier: GPL-2.0-or-later
- */
-
-#include "activitypage.h"
-
-#include "activitywidget.h"
-
-#include <powerdevil_debug.h>
-
-#include <ErrorOverlay.h>
-
-#include <QScrollArea>
-#include <QVBoxLayout>
-
-#include <QTabWidget>
-
-#include <QDBusConnection>
-#include <QDBusConnectionInterface>
-#include <QDBusMessage>
-#include <QDBusReply>
-#include <QDBusServiceWatcher>
-
-#include <KAboutData>
-#include <KLocalizedString>
-#include <KMessageWidget>
-#include <KPluginFactory>
-#include <KSharedConfig>
-#include <QDebug>
-#include <QIcon>
-
-K_PLUGIN_CLASS_WITH_JSON(ActivityPage, "kcm_powerdevilactivitiesconfig.json")
-
-ActivityPage::ActivityPage(QObject *parent, const KPluginMetaData &data)
-    : KCModule(parent, data)
-    , m_activityConsumer(new KActivities::Consumer(this))
-{
-    setButtons(Apply | Help);
-
-    QVBoxLayout *lay = new QVBoxLayout();
-
-    // Message widget
-    m_messageWidget = new KMessageWidget(i18n("The activity service is running with bare functionalities.\n"
-                                              "Names and icons of the activities might not be available."),
-                                         widget());
-    m_messageWidget->setMessageType(KMessageWidget::Warning);
-    m_messageWidget->hide();
-
-    // Tab widget (must set size here since tabs are loaded after initial layout size is calculated)
-    m_tabWidget = new QTabWidget(widget());
-    m_tabWidget->setMinimumSize(400, 200);
-
-    lay->addWidget(m_messageWidget);
-    lay->addWidget(m_tabWidget);
-    widget()->setLayout(lay);
-
-    onActivityServiceStatusChanged(m_activityConsumer->serviceStatus());
-    connect(m_activityConsumer, &KActivities::Consumer::serviceStatusChanged, this, &ActivityPage::onActivityServiceStatusChanged);
-
-    QDBusServiceWatcher *watcher = new QDBusServiceWatcher("org.kde.Solid.PowerManagement",
-                                                           QDBusConnection::sessionBus(),
-                                                           QDBusServiceWatcher::WatchForRegistration | QDBusServiceWatcher::WatchForUnregistration,
-                                                           this);
-
-    connect(watcher, &QDBusServiceWatcher::serviceRegistered, this, &ActivityPage::onServiceRegistered);
-    connect(watcher, &QDBusServiceWatcher::serviceUnregistered, this, &ActivityPage::onServiceUnregistered);
-
-    if (QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.Solid.PowerManagement")) {
-        onServiceRegistered("org.kde.Solid.PowerManagement");
-    } else {
-        onServiceUnregistered("org.kde.Solid.PowerManagement");
-    }
-}
-
-ActivityPage::~ActivityPage()
-{
-}
-
-void ActivityPage::load()
-{
-    for (ActivityWidget *widget : std::as_const(m_activityWidgets)) {
-        widget->load();
-    }
-
-    setNeedsSave(false);
-}
-
-void ActivityPage::save()
-{
-    for (ActivityWidget *widget : std::as_const(m_activityWidgets)) {
-        widget->save();
-    }
-
-    setNeedsSave(false);
-
-    // Ask to refresh status
-    QDBusMessage call =
-        QDBusMessage::createMethodCall("org.kde.Solid.PowerManagement", "/org/kde/Solid/PowerManagement", "org.kde.Solid.PowerManagement", "refreshStatus");
-
-    // Perform call
-    QDBusConnection::sessionBus().asyncCall(call);
-}
-
-void ActivityPage::fillUi()
-{
-}
-
-void ActivityPage::onActivityServiceStatusChanged(KActivities::Consumer::ServiceStatus status)
-{
-    switch (status) {
-    case KActivities::Consumer::Unknown: // fall through
-    case KActivities::Consumer::NotRunning:
-        // Create error overlay, if not present
-        if (!m_errorOverlay) {
-            m_errorOverlay = new ErrorOverlay(widget(),
-                                              i18n("The activity service is not running.\n"
-                                                   "It is necessary to have the activity manager running "
-                                                   "to configure activity-specific power management behavior."),
-                                              widget());
-        }
-        break;
-    case KActivities::Consumer::Running:
-        if (m_previousServiceStatus != KActivities::Consumer::Running) {
-            if (m_errorOverlay) {
-                m_errorOverlay->deleteLater();
-                m_errorOverlay = nullptr;
-                if (QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.Solid.PowerManagement")) {
-                    onServiceRegistered("org.kde.Solid.PowerManagement");
-                } else {
-                    onServiceUnregistered("org.kde.Solid.PowerManagement");
-                }
-            }
-
-            populateTabs();
-        }
-
-        if (m_messageWidget->isVisible()) {
-            m_messageWidget->hide();
-        }
-
-        break;
-    }
-
-    m_previousServiceStatus = status;
-}
-
-void ActivityPage::populateTabs()
-{
-    if (m_activityConsumer->serviceStatus() != KActivities::Consumer::Running) {
-        return;
-    }
-
-    int index = 0;
-    const QStringList activities = m_activityConsumer->activities();
-    for (const QString &activity : activities) {
-        KActivities::Info *info = new KActivities::Info(activity, this);
-        const QString icon = info->icon();
-        const QString name = info->name();
-        qCDebug(POWERDEVIL) << activity << info->isValid() << info->availability();
-
-        QScrollArea *scrollArea = new QScrollArea(widget());
-        scrollArea->setFrameShape(QFrame::NoFrame);
-        scrollArea->setFrameShadow(QFrame::Plain);
-        scrollArea->setLineWidth(0);
-        scrollArea->setWidgetResizable(true);
-
-        ActivityWidget *activityWidget = new ActivityWidget(activity);
-        scrollArea->setWidget(activityWidget);
-
-        activityWidget->load();
-        m_activityWidgets.append(activityWidget);
-
-        connect(activityWidget, &ActivityWidget::changed, this, &KCModule::setNeedsSave);
-        if (!icon.isEmpty()) {
-            m_tabWidget->addTab(scrollArea, QIcon::fromTheme(icon), name);
-        } else {
-            m_tabWidget->addTab(scrollArea, name);
-        }
-
-        if (m_activityConsumer->currentActivity() == activity) {
-            m_tabWidget->setCurrentIndex(index);
-        }
-
-        ++index;
-    }
-}
-
-void ActivityPage::defaults()
-{
-    KCModule::defaults();
-}
-
-void ActivityPage::onServiceRegistered(const QString &service)
-{
-    Q_UNUSED(service);
-
-    if (m_errorOverlay) {
-        m_errorOverlay->deleteLater();
-        m_errorOverlay = nullptr;
-    }
-}
-
-void ActivityPage::onServiceUnregistered(const QString &service)
-{
-    Q_UNUSED(service);
-
-    if (m_errorOverlay) {
-        return;
-    }
-
-    m_errorOverlay = new ErrorOverlay(widget(), i18n("The Power Management Service appears not to be running."), widget());
-}
-
-#include "activitypage.moc"
-
-#include "moc_activitypage.cpp"
diff --git a/kcmodule/activities/activitypage.h b/kcmodule/activities/activitypage.h
deleted file mode 100644
index cadb42463..000000000
--- a/kcmodule/activities/activitypage.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- *   SPDX-FileCopyrightText: 2011 Dario Freddi <drf at kde.org>
- *
- *   SPDX-License-Identifier: GPL-2.0-or-later
- */
-
-#pragma once
-
-#include <KCModule>
-
-#include <KActivities/Consumer>
-
-class QTabWidget;
-
-class KMessageWidget;
-
-class ErrorOverlay;
-class ActivityWidget;
-
-class ActivityPage : public KCModule
-{
-    Q_OBJECT
-
-public:
-    ActivityPage(QObject *parent, const KPluginMetaData &data);
-    ~ActivityPage() override;
-    void fillUi();
-
-    void load() override;
-    void save() override;
-    void defaults() override;
-
-private Q_SLOTS:
-    void onActivityServiceStatusChanged(KActivities::Consumer::ServiceStatus status);
-    void onServiceRegistered(const QString &service);
-    void onServiceUnregistered(const QString &service);
-
-private:
-    void populateTabs();
-
-    QTabWidget *m_tabWidget = nullptr;
-
-    KActivities::Consumer *const m_activityConsumer;
-    QList<ActivityWidget *> m_activityWidgets;
-    ErrorOverlay *m_errorOverlay = nullptr;
-    KMessageWidget *m_messageWidget = nullptr;
-    KActivities::Consumer::ServiceStatus m_previousServiceStatus;
-};
diff --git a/kcmodule/activities/activitywidget.cpp b/kcmodule/activities/activitywidget.cpp
deleted file mode 100644
index 76d5c4235..000000000
--- a/kcmodule/activities/activitywidget.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- *   SPDX-FileCopyrightText: 2011 Dario Freddi <drf at kde.org>
- *
- *   SPDX-License-Identifier: GPL-2.0-or-later
- */
-
-#include "activitywidget.h"
-
-#include "ui_activityWidget.h"
-
-#include <KActivities/Consumer>
-#include <KConfigGroup>
-#include <QLayout>
-#include <Solid/Battery>
-#include <Solid/Device>
-
-ActivityWidget::ActivityWidget(const QString &activity, QWidget *parent)
-    : QWidget(parent)
-    , m_activitySettings(activity)
-    , m_ui(new Ui::ActivityWidget)
-    , m_activity(activity)
-    , m_activityConsumer(new KActivities::Consumer(this))
-{
-    m_ui->setupUi(this);
-
-    connect(m_ui->inhibitSuspendCheckBox, &QAbstractButton::toggled, this, &ActivityWidget::setChanged);
-    connect(m_ui->inhibitScreenManagementCheckBox, &QAbstractButton::toggled, this, &ActivityWidget::setChanged);
-}
-
-ActivityWidget::~ActivityWidget()
-{
-}
-
-void ActivityWidget::load()
-{
-    m_activitySettings.load();
-
-    m_ui->inhibitSuspendCheckBox->setChecked(m_activitySettings.inhibitSuspend());
-    m_ui->inhibitScreenManagementCheckBox->setChecked(m_activitySettings.inhibitScreenManagement());
-
-    Q_EMIT changed(false);
-}
-
-void ActivityWidget::save()
-{
-    m_activitySettings.setInhibitSuspend(m_ui->inhibitSuspendCheckBox->isChecked());
-    m_activitySettings.setInhibitScreenManagement(m_ui->inhibitScreenManagementCheckBox->isChecked());
-
-    m_activitySettings.save();
-}
-
-void ActivityWidget::setChanged()
-{
-    Q_EMIT changed(true);
-}
-
-#include "moc_activitywidget.cpp"
diff --git a/kcmodule/activities/activitywidget.h b/kcmodule/activities/activitywidget.h
deleted file mode 100644
index 84625af32..000000000
--- a/kcmodule/activities/activitywidget.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *   SPDX-FileCopyrightText: 2011 Dario Freddi <drf at kde.org>
- *
- *   SPDX-License-Identifier: GPL-2.0-or-later
- */
-
-#pragma once
-
-#include <PowerDevilActivitySettings.h>
-
-#include <QWidget>
-
-namespace KActivities
-{
-class Consumer;
-} // namespace KActivities
-
-namespace Ui
-{
-class ActivityWidget;
-}
-
-class ActivityWidget : public QWidget
-{
-    Q_OBJECT
-public:
-    explicit ActivityWidget(const QString &activity, QWidget *parent = nullptr);
-    ~ActivityWidget() override;
-
-public Q_SLOTS:
-    void load();
-    void save();
-
-    void setChanged();
-
-Q_SIGNALS:
-    void changed(bool changed);
-
-private:
-    PowerDevil::ActivitySettings m_activitySettings;
-    Ui::ActivityWidget *const m_ui;
-    QString m_activity;
-    KActivities::Consumer *const m_activityConsumer;
-};
diff --git a/kcmodule/activities/kcm_powerdevilactivitiesconfig.json b/kcmodule/activities/kcm_powerdevilactivitiesconfig.json
deleted file mode 100644
index 64423dcf2..000000000
--- a/kcmodule/activities/kcm_powerdevilactivitiesconfig.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
-    "KPlugin": {
-        "BugReportUrl": "https://bugs.kde.org/enter_bug.cgi?product=systemsettings&component=kcm_powerdevil",
-        "Description": "Per-Activity Power Management",
-        "Description[ar]": "إدارة طاقة لكل نشاط",
-        "Description[be]": "Асобнае кіраванне сілкаваннем для кожнага пакоя",
-        "Description[bg]": "Управление на захранването по дейност",
-        "Description[ca at valencia]": "Gestió de l'energia per activitat",
-        "Description[ca]": "Gestió d'energia per activitat",
-        "Description[cs]": "Správa napájení pro činnost",
-        "Description[de]": "Energieprofile pro Aktivität einzeln einrichten",
-        "Description[en_GB]": "Per-Activity Power Management",
-        "Description[eo]": "Por-Agado Potenca Administrado",
-        "Description[es]": "Gestión de energía por actividad",
-        "Description[eu]": "Jarduera araberako energia-kudeaketa",
-        "Description[fi]": "Aktiviteettikohtainen virranhallinta",
-        "Description[fr]": "Gestion de l'énergie par activité",
-        "Description[gl]": "Xestión da enerxía para cada actividade.",
-        "Description[he]": "ניהול צריכת חשמל לפי פעילות",
-        "Description[ia]": "Gestion de energia per activitate",
-        "Description[it]": "Gestione energetica per attività",
-        "Description[ja]": "アクティビティごとの電源管理",
-        "Description[ka]": "კვების მართვა თითოეული ქმედებისთვის",
-        "Description[ko]": "활동별 전원 관리",
-        "Description[lt]": "Atskirų veiklų energijos valdymas",
-        "Description[nl]": "Energiebeheer per activiteit instellen",
-        "Description[nn]": "Straumstyring per aktivitet",
-        "Description[pa]": "ਪ੍ਰੀ-ਐਕਟਵਿਟੀ ਪਾਵਰ ਇੰਤਜ਼ਾਮ",
-        "Description[pl]": "Zarządzanie energią w zależności od aktywności",
-        "Description[pt]": "Gestão de Energia por Actividades",
-        "Description[pt_BR]": "Gerenciamento de energia por atividade",
-        "Description[ru]": "Настройка параметров энергосбережения для комнат",
-        "Description[sk]": "Správa napájania podľa aktivity",
-        "Description[sl]": "Upravljanje z energijo glede na dejavnost",
-        "Description[sv]": "Strömhantering per aktivitet",
-        "Description[ta]": "தனிப்பட்ட செயல்பாடுகளுக்கான ஆற்றல் மேலாண் அமைப்புகள்",
-        "Description[tr]": "Etkinlik Başı Güç Yönetimi",
-        "Description[uk]": "Налаштування окремих параметрів керування живленням простору дій",
-        "Description[x-test]": "xxPer-Activity Power Managementxx",
-        "Description[zh_CN]": "每个活动的电源管理",
-        "Description[zh_TW]": "個別活動的電源管理",
-        "Icon": "preferences-desktop-activities",
-        "Name": "Activity Power Settings",
-        "Name[ar]": "إعدادات الطاقة للنشاط",
-        "Name[az]": "Otaqlar üçün enerji ayarları",
-        "Name[be]": "Налады сілкавання пакояў",
-        "Name[bg]": "Настройки на захранването на дейности",
-        "Name[ca at valencia]": "Configureu l'energia de l'activitat",
-        "Name[ca]": "Arranjament d'energia d'activitat",
-        "Name[cs]": "Nastavení aktivit napájení",
-        "Name[da]": "Strømindstillinger for aktivitet",
-        "Name[de]": "Energieeinstellungen für Aktivitäten",
-        "Name[el]": "Ρυθμίσεις ισχύος δραστηριοτήτων",
-        "Name[en_GB]": "Activity Power Settings",
-        "Name[eo]": "Agado-Potencaj Agordoj",
-        "Name[es]": "Preferencias de energía de las actividades",
-        "Name[eu]": "Jardueraren energia ezarpenak",
-        "Name[fi]": "Aktiviteetin virranhallinta-asetukset",
-        "Name[fr]": "Configuration des activités concernant l'énergie",
-        "Name[gl]": "Configuración de enerxía da actividade",
-        "Name[he]": "הגדרות צריכת חשמל של פעילות",
-        "Name[hu]": "Aktivitás energiakezelési beállításai",
-        "Name[ia]": "Preferentias de energia de activitate",
-        "Name[id]": "Pengaturan Aktivitas Daya",
-        "Name[it]": "Impostazioni di alimentazione delle attività",
-        "Name[ja]": "アクティビティの電源設定",
-        "Name[ka]": "აქტივობის ენერგიის მორგება",
-        "Name[ko]": "활동 전원 설정",
-        "Name[lt]": "Veiklos maitinimo nuostatos",
-        "Name[nl]": "Energie-instellingen voor activiteiten",
-        "Name[nn]": "Straumval for aktivitetar",
-        "Name[pa]": "ਐਕਟਵਿਟੀ ਪਾਵਰ ਸੈਟਿੰਗਾਂ",
-        "Name[pl]": "Ustawienia energii aktywności",
-        "Name[pt]": "Configuração de Energia das Actividades",
-        "Name[pt_BR]": "Configurações de energia da atividade",
-        "Name[ro]": "Configurări de alimentare pentru activitate",
-        "Name[ru]": "Настройка управления питанием для комнат",
-        "Name[sk]": "Nastavenia napájania aktivity",
-        "Name[sl]": "Nastavitve moči dejavnosti",
-        "Name[sv]": "Ströminställningar för aktiviteter",
-        "Name[ta]": "செயல்பாடுகளுக்கான ஆற்றல் அமைப்பு",
-        "Name[tr]": "Etkinlik Güç Ayarları",
-        "Name[uk]": "Параметри живлення у просторі дій",
-        "Name[x-test]": "xxActivity Power Settingsxx",
-        "Name[zh_CN]": "活动电源设置",
-        "Name[zh_TW]": "活動電源設定"
-    },
-    "X-DocPath": "kcontrol/powerdevil/index.html#activity-setting",
-    "X-KDE-Keywords": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior",
-    "X-KDE-Keywords[ar]": "نظام,النظام,طاقة,الطاقة,إدارة الطاقة,ادارة الطاقة, لابتوب,حاسوب محمول,محمول,سطوع,إضاءة,اضاءة,تعليق,علق,نم,نوم,أسبت,اسبت,اسبات,إسبات,أداء,اداء,الأداء,نشاط,جدث,أنشطة,أحداث,",
-    "X-KDE-Keywords[az]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior,sistem,güc,güc idarəetməsi,enerjiyə nəzarət,enerji,dizüstü komputer,batareya,dayandırılma,dəyişən cəryan şəbəkəsi,dayandırmaq,yuxu,parlaqlıq,işləmə gücü,enerjiyə qənaət,doldurma,boşalma,ekranın qaralması,ekranı kilidləmək,kilid ekranı,ekranı söndürmək,güc düyməsi,güc düyməlkəri,zəif batareya,taxmaq,çıxarmaq,fəaliyyət,fəaliyyətlər,iş sahəsi,iş otaqları,otaqlar,xüsusi davranışlar",
-    "X-KDE-Keywords[bg]": "енергия,захранване,лаптоп,монитор,хибернация,изключване,приспиване,яркост,натоварване,батерия,зареждане,заключване,дейности,работна среда,затъмняване,екран,разреждане,поведение",
-    "X-KDE-Keywords[ca at valencia]": "sistema,energia,gestió d'energia,avançat,corrent,portàtil,bateria,suspensió,AC,suspendre,hibernació,hiberna,lluminositat,rendiment,tapa,estalvi d'energia,carregant,càrrega,descàrrega,descarregant,enfosquiment de pantalla,adormir,bloqueig de pantalla,apagar la pantalla,apaga,botó d'encesa,botó d'apagat,bateria baixa,connecta,desconnecta,activitat,activitats,espai de treball,espais de treball,comportament especial",
-    "X-KDE-Keywords[ca]": "sistema,energia,gestió d'energia,avançat,corrent,portàtil,bateria,suspensió,AC,suspendre,hibernació,hiberna,lluminositat,rendiment,tapa,estalvi d'energia,carregant,càrrega,descàrrega,descarregant,enfosquiment de pantalla,adormir,bloqueig de pantalla,apagar la pantalla,apaga,botó d'encesa,botó d'apagat,bateria baixa,endolla,desendolla,activitat,activitats,espai de treball,espais de treball,comportament especial",
-    "X-KDE-Keywords[de]": "Notebook,Akku,Ruhezustand,Laden,Ausschalten",
-    "X-KDE-Keywords[el]": "σύστημα,ισχύς,διαχείριση ισχύος,ενέργεια,φορητός,μπαταρία,αναστολή,AC,αναστολή,αναστολή,νάρκη,νάρκη,λαμπρότητα,επίδοση,καπάκι,εξοικονόμηση ισχύος,φόρτιση,φόρτιση,αποφόρτιση,αποφόρτιση,οθόνη αμυδρού φωτός,ύπνωση,κλείδωμα οθόνης,κλείδωμα,σβήσιμο οθόνης,σβήσιμο,κουμπί εκκίνησης,κουμπιά εκκίνησης,χαμηλή στάθμη μπαταρίας,σύνδεση,αποσύνδεση,δραστηριότητα,δραστηριότητες,χώροι εργασίας,χώρος εργασίας,ειδική συμπεριφορά",
-    "X-KDE-Keywords[en_GB]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behaviour",
-    "X-KDE-Keywords[es]": "sistema,energía,gestión de energía,portátil,laptop,batería,suspensión,AC,CA,suspender,hibernación,hibernar,brillo,rendimiento,tapa,ahorro de energía,carga,cargar,descarga,descargar,oscurecer pantalla,dormir,bloquear pantalla,apagar pantalla,apagar,apagado,botón de encendido,botones de encendido,batería baja,enchufar,desenchufar,actividad,actividades,espacios de trabajo,espacio de trabajo,comportamiento especial",
-    "X-KDE-Keywords[eu]": "sistema,indarra,energia kudeaketa,energia,magalekoa,bateria,esekitzea,AC,eseki,esekitzen,hibernatzen,hibernatu,distira,performantzia, errendimendua,tapa,energia aurreztea,kargatzea,karga,deskarga,deskargatzea,pantaila moteltzea,lokartu,pantaila giltzatua,itzali pantaila,itzali,indar botoia,indar botoiak,bateria baxu,entxufatu,entxufea kendu, jarduera,jarduerak,languneak,langunea,jokabide berezia",
-    "X-KDE-Keywords[fi]": "järjestelmä,virta,virranhallinta,energia,kannettava,akku,lepotila,valmiustila,verkkovirta,lepo,valmius,kirkkaus,suorituskyky,kansi,virransäästö,lataus,näytön himmennys,lukitusnäyttö,lukitus,sammuta näyttö,sammuta,virtakytkin,virtakytkimet,heikko akkuteho,kytke virta,aktiviteetti,aktiviteetit,työtila,työtilat",
-    "X-KDE-Keywords[fr]": "système, énergie, gestion de l'énergie, énergie, portable, batterie, veille, AC, suspendre, suspension, hibernation, hiberner, luminosité, performance, écran de portable, économie d'énergie, chargement, charge, décharge, déchargement, réglage de l'écran, veille, verrouillage d'écran, extinction de l'écran, extinction, bouton de mise sous tension, boutons de mise sous tension, batterie faible, brancher, débrancher, activité, activités, espaces de travail, espace de travail, comportement particulier",
-    "X-KDE-Keywords[hu]": "rendszer,táp,energiakezelés,energia,laptop,akkumulátor,felfüggesztés,AC,felfüggeszt,felfüggesztés,hibernálás,hibernálás,fényesség,teljesítmény,fedél,energiatakarékosság,töltés,tölt,merít,merítés,kijelző elsötétítése,alvás,képernyőzárolás,zárképernyő,kijelző kikapcsolása,kikapcsolás,bekapcsológomb,bekapcsológombok,alacsony töltöttség,csatlakoztat,kihúz,aktivitás,aktivitások,munkaterek,munkatér,speciális működés",
-    "X-KDE-Keywords[ia]": "systema,energia,gestion de energia,energia,laptop,batteria,suspension,AC,suspende,suspender,hibernar,hiberna,brillantia,comportamento,coperculo,sparnio de energia,cargante,carga,discarga,discargante,schermo obscur,somno,bloca schermo,bloco de schermo,extingue schermo,extingue,button de actionar,buttones de actionar,batteria basse,inserer,distacca,activitate,activitates,spatios de travalio,spatio de travalio,comportamento special",
-    "X-KDE-Keywords[it]": "sistema,alimentazione,gestione dell'alimentazione,energia,computer portatile,batteria,sospensione,AC,sospendi,sospendere,ibernare,ibernazione,luminosità,prestazioni,coperchio,risparmio energetico,ricarica,carica,scaricare,scarica,oscuramento schermo,sospensione,blocco schermo,schermata di blocco,spegnimento schermo,spegnimento,pulsante di accensione,pulsanti di accensione,batteria scarica,collegare,scollegare,attività,aree di lavoro,area di lavoro,comportamento speciale",
-    "X-KDE-Keywords[ko]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior,시스템,전원,전원 관리,에너지,노트북,배터리,제한,절전,대기 모드,최대 절전 모드,밝기,성능,덮개,상판,절전,충전,방전,화면 어둡게,잠금 화면,화면 끄기,끄기,전원 단추,배터리 부족,활동,작업 공간",
-    "X-KDE-Keywords[nl]": "systeem,energie,energiebeheer,laptop,batterij,accu,onderbroken,AC,onderbreken,wordt onderbroken,slaapt,slapen,helderheid,presentatie,deksel,energiebesparing,wordt opgeladen,lading,ontladen,wordt ontladen,scherm dimmen,slaap,schermvergrendeling,scherm uitschakelen,uitschakelen,powerknop,powerknoppen,lage batterij,inpluggen,uitpluggen,activiteit,activiteiten,werkruimten,werkruimte,speciaal gedrag",
-    "X-KDE-Keywords[nn]": "system,straum,straumstyring,energi,laptop,berbar datamaskin,batteri,kvile,AC,ladar,kvilemodus,dvale,dvalemodus,lysstyrke,yting,lokket,straumsparing,lading,lade,lada,utlade,utlada,utlading,demp skjerm,lås skjerm,låseskjerm,skjermlås,slå av skjerm,slå av,straumknapp,straumknappar,lågt batteri,kopla til,kopla frå,aktivitet,aktivitetar,arbeidsområde,tilpass åtferd",
-    "X-KDE-Keywords[pl]": "system,zasilanie,zarządzanie energią,energia,laptop,bateria,uśpienie,AC,uśpij,usypianie,hibernowanie,hibernuj,jasność,wydajność,pokrywa,oszczędzanie energii,ładowanie,ładunek,rozładowywanie,rozładowywanie,przyciemnianie ekranu,usypianie,ekran blokady,ekran blokady,wyłącz ekran,przycisk zasilania,przyciski zasilania,niska bateria,podłącz,odłącz,aktywność,aktywności,przestrzenie prac,przestrzeń pracy,specjalne zachowanie",
-    "X-KDE-Keywords[pt]": "sistema,energia,gestão de energia,portátil,bateria,suspensão,AC,suspender,em suspensão,em hibernação,hibernar,brilho,performance,tampo,poupança de energia,a carregar,carga,descarga,em descarga,escurecer o ecrã,suspender,bloquear o ecrã,ecrã de bloqueio,desligar o ecrã,desligar,botão de energia,botões de energia,bateria fraca,ligar,desligar,actividade,actividades,áreas de trabalho,área de trabalho,comportamento especial",
-    "X-KDE-Keywords[pt_BR]": "sistema,energia,gerenciamento de energia,laptop,bateria,suspensão,CA,AC,suspender,suspendendo,hibernando,hibernar,brilho,desempenho,tampa,economia de energia,carregando,carga,descarregar,descarregando,escurecer tela,dormir,tela de bloqueio,bloquear tela,desligar tela,desligar,botão de ligar,botões de energia,bateria baixa,plugar,desplugar,atividade,atividades,espaço de trabalho,espaços de trabalho,comportamento especial",
-    "X-KDE-Keywords[ru]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior,системное,питание,управление питанием,энергопотребление,ноутбук,батарея,аккумулятор,крышка,гибернация,яркость,производительность,быстродействие,энергосбережение,зарядка,заряжать,разрядка,разряжать,приглушение экрана,сон,блокировка экрана,выключение экрана,включение экрана,кнопка питания,кнопки питания,низкий уровень заряда батареи,подключение к сети,отключение от сети,рабочие пространства,рабочее пространство,особое поведение",
-    "X-KDE-Keywords[sk]": "systém,napájanie,správa napájania,energia,notebook,batéria,uspatie,AC,uspať, uspatie,hibernácia,hibernovať,jas,výkon,veko,úspora energie, nabíjanie,nabiť,vybiť,vybíjanie,stmavenie obrazovky,spánok,uzamknutie obrazovky, uzamknutie obrazovky,vypnutie obrazovky,vypnutie,tlačidlo napájania,tlačidlá napájania,slabá batéria, pripojiť,odpojiť,aktivita,aktivity,pracovné priestory,pracovný priestor,špeciálne správanie",
-    "X-KDE-Keywords[sl]": "sistem,napajanje,upravljanje z energijo,energija,prenosnik,baterija,mirovanje,izmenični tok,umirjanje,upočasnjevanje,uspavanje,hibernacija,svetlost,izvajanje,pokrov,ohranjanje energije, polnenje,polnitev,prazni,praznenje,zatemnjen zaslon,spanje,zaklep zaslona,zaklepanje zaslona,ugasni zaslon,ugasni,gumb za zagon,gumbi za zagon,prazna baterija,priklop,priklop v vtičnico,dejavnost,dejavnosti,delovni prostori,prostori za delo,posebno obnašanje",
-    "X-KDE-Keywords[sv]": "system,kraft,krafthantering,energi,bärbar dator,batteri,viloläge,AC,gå till viloläge,dvala,ljusstyrka,prestanda,lock,spara ström,ladda,urladda,dämpa skärm,viloläge,lås skärm,stäng av skärm,stäng av,strömknapp,strömknappar,svagt batteri,koppla in, koppla ur,aktivitet,aktiviteter,arbetsytor,arbetsyta,specialbeteende",
-    "X-KDE-Keywords[ta]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior, கணினி, ஆற்றல், ஆற்றல் மேலாண்மை, ஆற்றல் நிர்வாகம், மடிக்கணினி, லாப்டாப், மின்கலம், பாட்டரி, தூக்கம், உறக்கம், இடைநிறுத்தம், மின், மின்சாரம், ஆழுறக்கம், ஹைபர்னேட், பிரகாசம், ஒளி, செயல்திறன், மூடி, ஆற்றல் சேமிப்பு, மின்னேற்றம், திரையை மங்கசெய், மங்கசெய், மங்கல், பூட்டு, திரையை பூட்டு, திரைபூட்டு, பூட்டுதிரை, திரையை அணை, அணை, முடக்கு, திரையை முடக்கு, பட்டன், கழற்று, செயல்பாடு, செயல்பாடுகள், செயல்பாட்டு, பணிமேடை, பணிமேடைகள், தனிப்பட்ட நடத்தை, தனிப்பட்ட பயன்முறை",
-    "X-KDE-Keywords[tr]": "sistem,güç,güç yönetimi,enerji,dizüstü,pil,askıya alma,AC,askıya al,askıya alınıyor,hazırda bekletiliyor, hazırda beklet,parlaklık,başarım,kapak,güç tasarrufu,şarj oluyor,şarj,şarj boşalıyor,boşalıyor,ekranı karart, uyut,ekranı kilitle,kilit ekranı,ekranı kapat,gücü kapat,güç düğmesi,güç düğmeleri,düşük pil,tak,çıkar, etkinlik,etkinlikler,çalışma alanları,çalışma alanı,özel davranış",
-    "X-KDE-Keywords[uk]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior,система,живлення,мережа,струм,керування,енергія,ноутбук,акумулятор,батарея,батареї,присипляння,призупинення,призупинка,яскравість,швидкодія,кришка,кришки,простір,дій,простори,активність,рівні,критичний,заряд,заряджання,межа,межа заряджання,обмеження,розряджання,розрядка,притлумлення,сон,блокування екрана,вимикання екрана,кнопка живлення,кнопки живлення,низький заряд,з'єднання,роз'єднання,простір дій,простори дій,робочі простори,робочий простір,спеціальна поведінка,особлива поведінка",
-    "X-KDE-Keywords[x-test]": "xxsystemxx,xxpowerxx,xxpower managementxx,xxenergyxx,xxlaptopxx,xxbatteryxx,xxsuspensionxx,xxACxx,xxsuspendxx,xxsuspendingxx,xxhibernatingxx,xxhibernatexx,xxbrightnessxx,xxperformancexx,xxlidxx,xxpower savingxx,xxchargingxx,xxchargexx,xxdischargexx,xxdischargingxx,xxdim screenxx,xxsleepxx,xxlock screenxx,xxlockscreenxx,xxturn screen offxx,xxturn offxx,xxpower buttonxx,xxpower buttonsxx,xxlow batteryxx,xxplugxx,xxunplugxx,xxactivityxx,xxactivitiesxx,xxworkspacesxx,xxworkspacexx,xxspecial behaviorxx",
-    "X-KDE-Keywords[zh_CN]": "system,power,power management,energy,laptop,battery,suspension,AC,suspend,suspending,hibernating,hibernate,brightness,performance,lid,power saving,charging,charge,discharge,discharging,dim screen,sleep,lock screen,lockscreen,turn screen off,turn off,power button,power buttons,low battery,plug,unplug,activity,activities,workspaces,workspace,special behavior,系统,电源,电源管理,能源,笔记本,电池,挂起,交流电,休眠,亮度,性能,性能模式,盖子,省电,省电模式,充电,放电,屏幕变暗,睡眠,锁屏,关闭屏幕,关闭,电源按钮,低电量,插入,插头,插座,拔出,活动,工作区,特殊行为",
-    "X-KDE-System-Settings-Parent-Category": "power-management",
-    "X-KDE-Weight": 50
-}


More information about the kde-doc-english mailing list