From 54596580fb616a4efdceec51fc98d7aabd876801 Mon Sep 17 00:00:00 2001 From: donghualin Date: Thu, 22 Sep 2022 05:29:20 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A0=8F=E4=B8=AD=E6=8E=A7=E5=88=B6=E4=B8=AD=E5=BF=83=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 控制中心设置任务栏插件已经移动到dde-control-center中,此处不再需要,删除 Log: 个性化任务栏插件移动到控制中心 Influence: 无 Task: https://pms.uniontech.com/task-view-130353.html Change-Id: I4d94f46fb1c6d6ad61f46334742f736dd7291245 --- plugins/dcc-dock-plugin/.tx/config | 10 - plugins/dcc-dock-plugin/CMakeLists.txt | 53 --- .../actions/icon_dock_32px.svg | 7 - .../dcc-dock-plugin/com_deepin_dde_dock.cpp | 102 ---- plugins/dcc-dock-plugin/com_deepin_dde_dock.h | 158 ------- plugins/dcc-dock-plugin/config_watcher.cpp | 91 ---- plugins/dcc-dock-plugin/config_watcher.h | 59 --- .../dde.dock.plugin.dconfig.json | 72 --- plugins/dcc-dock-plugin/dock_settings.json | 3 - plugins/dcc-dock-plugin/module_widget.cpp | 439 ------------------ plugins/dcc-dock-plugin/module_widget.h | 100 ---- plugins/dcc-dock-plugin/resources.qrc | 41 -- plugins/dcc-dock-plugin/settings_module.cpp | 151 ------ plugins/dcc-dock-plugin/settings_module.h | 91 ---- .../texts/dcc_dock_assistant_16px.svg | 15 - .../texts/dcc_dock_desktop_16px.svg | 7 - .../texts/dcc_dock_grandsearch_16px.svg | 9 - .../texts/dcc_dock_keyboard_16px.svg | 7 - .../texts/dcc_dock_notify_16px.svg | 7 - .../texts/dcc_dock_plug_in_16px.svg | 7 - .../texts/dcc_dock_power_16px.svg | 7 - .../texts/dcc_dock_systemmonitor_16px.svg | 9 - .../texts/dcc_dock_task_16px.svg | 7 - .../texts/dcc_dock_time_16px.svg | 9 - .../texts/dcc_dock_trash_16px.svg | 9 - .../dcc-dock-plugin/translate_generation.sh | 11 - .../translations/dcc-dock-plugin.ts | 173 ------- .../translations/dcc-dock-plugin_az.ts | 173 ------- .../translations/dcc-dock-plugin_bo.ts | 173 ------- .../translations/dcc-dock-plugin_ca.ts | 173 ------- .../translations/dcc-dock-plugin_cs.ts | 173 ------- .../translations/dcc-dock-plugin_de.ts | 173 ------- .../translations/dcc-dock-plugin_el.ts | 130 ------ .../translations/dcc-dock-plugin_en_US.ts | 175 ------- .../translations/dcc-dock-plugin_es.ts | 173 ------- .../translations/dcc-dock-plugin_fi.ts | 173 ------- .../translations/dcc-dock-plugin_fr.ts | 130 ------ .../translations/dcc-dock-plugin_hr.ts | 130 ------ .../translations/dcc-dock-plugin_hu.ts | 173 ------- .../translations/dcc-dock-plugin_it.ts | 173 ------- .../translations/dcc-dock-plugin_ms.ts | 130 ------ .../translations/dcc-dock-plugin_nl.ts | 173 ------- .../translations/dcc-dock-plugin_pl.ts | 173 ------- .../translations/dcc-dock-plugin_pt.ts | 173 ------- .../translations/dcc-dock-plugin_pt_BR.ts | 173 ------- .../translations/dcc-dock-plugin_ru.ts | 173 ------- .../translations/dcc-dock-plugin_sq.ts | 173 ------- .../translations/dcc-dock-plugin_tr.ts | 173 ------- .../translations/dcc-dock-plugin_ug.ts | 173 ------- .../translations/dcc-dock-plugin_uk.ts | 173 ------- .../translations/dcc-dock-plugin_zh_CN.ts | 173 ------- .../translations/dcc-dock-plugin_zh_HK.ts | 173 ------- .../translations/dcc-dock-plugin_zh_TW.ts | 173 ------- 53 files changed, 5982 deletions(-) delete mode 100644 plugins/dcc-dock-plugin/.tx/config delete mode 100644 plugins/dcc-dock-plugin/CMakeLists.txt delete mode 100644 plugins/dcc-dock-plugin/actions/icon_dock_32px.svg delete mode 100644 plugins/dcc-dock-plugin/com_deepin_dde_dock.cpp delete mode 100644 plugins/dcc-dock-plugin/com_deepin_dde_dock.h delete mode 100644 plugins/dcc-dock-plugin/config_watcher.cpp delete mode 100644 plugins/dcc-dock-plugin/config_watcher.h delete mode 100644 plugins/dcc-dock-plugin/dde.dock.plugin.dconfig.json delete mode 100644 plugins/dcc-dock-plugin/dock_settings.json delete mode 100644 plugins/dcc-dock-plugin/module_widget.cpp delete mode 100644 plugins/dcc-dock-plugin/module_widget.h delete mode 100644 plugins/dcc-dock-plugin/resources.qrc delete mode 100644 plugins/dcc-dock-plugin/settings_module.cpp delete mode 100644 plugins/dcc-dock-plugin/settings_module.h delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_assistant_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_desktop_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_grandsearch_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_keyboard_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_notify_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_plug_in_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_power_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_systemmonitor_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_task_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_time_16px.svg delete mode 100644 plugins/dcc-dock-plugin/texts/dcc_dock_trash_16px.svg delete mode 100755 plugins/dcc-dock-plugin/translate_generation.sh delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_az.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_bo.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ca.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_cs.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_de.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_el.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_en_US.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_es.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fi.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fr.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hr.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hu.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_it.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ms.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_nl.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pl.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt_BR.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ru.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_sq.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_tr.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ug.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_uk.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_CN.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_HK.ts delete mode 100644 plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_TW.ts diff --git a/plugins/dcc-dock-plugin/.tx/config b/plugins/dcc-dock-plugin/.tx/config deleted file mode 100644 index fa112435f..000000000 --- a/plugins/dcc-dock-plugin/.tx/config +++ /dev/null @@ -1,10 +0,0 @@ -[main] -host = https://www.transifex.com -minimum_perc = 80 -mode = developer - -[deepin-desktop-environment.dcc-dock-plugin] -file_filter = translations/dcc-dock-plugin_.ts -source_file = translations/dcc-dock-plugin.ts -source_lang = en -type = QT diff --git a/plugins/dcc-dock-plugin/CMakeLists.txt b/plugins/dcc-dock-plugin/CMakeLists.txt deleted file mode 100644 index 0c5144277..000000000 --- a/plugins/dcc-dock-plugin/CMakeLists.txt +++ /dev/null @@ -1,53 +0,0 @@ -cmake_minimum_required(VERSION 3.7) - -set(PLUGIN_NAME "dcc-dock-plugin") - -project(${PLUGIN_NAME}) - -set(CMAKE_AUTOMOC ON) - -file(GLOB_RECURSE SRCS - "*.h" - "*.cpp") - -find_package(Qt5 COMPONENTS Core Widgets DBus Svg LinguistTools REQUIRED) -find_package(DdeControlCenter REQUIRED) -find_package(PkgConfig REQUIRED) -find_package(DtkWidget REQUIRED) - -pkg_check_modules(DFrameworkDBus REQUIRED dframeworkdbus) -pkg_check_modules(QGSettings REQUIRED gsettings-qt) - -add_library(${PLUGIN_NAME} SHARED ${SRCS} resources.qrc) -set_target_properties(${PLUGIN_NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ./) -target_include_directories(${PLUGIN_NAME} PUBLIC - ../src - ../../frame/util - ${Qt5Widgets_INCLUDE_DIRS} - ${Qt5Svg_INCLUDE_DIRS} - ${DtkWidget_INCLUDE_DIRS} - ${DdeControlCenter_INCLUDE_DIR} - ${DFrameworkDBus_INCLUDE_DIRS} - ${QGSettings_INCLUDE_DIRS} - ${Qt5DBus_INCLUDE_DIRS} - ) -target_link_libraries(${PLUGIN_NAME} PRIVATE - ${Qt5Widgets_LIBRARIES} - ${Qt5Svg_LIBRARIES} - ${DtkWidget_LIBRARIES} - ${DdeControlCenter_LIBRARIES} - ${DFrameworkDBus_LIBRARIES} - ${QGSettings_LIBRARIES} - ${Qt5DBus_LIBRARIES} - ) - -file(GLOB TS_FILES "translations/*.ts") -qt5_add_translation(QM_FILES ${TS_FILES}) -add_custom_target(translations ALL DEPENDS ${QM_FILES}) -install(FILES ${QM_FILES} DESTINATION share/${PLUGIN_NAME}/translations) - -# dconfig -file(GLOB DCONFIG_FILES "dde.dock.plugin.dconfig.json") -dconfig_meta_files(APPID dde-control-center FILES ${DCONFIG_FILES}) - -install(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION lib/dde-control-center/modules) diff --git a/plugins/dcc-dock-plugin/actions/icon_dock_32px.svg b/plugins/dcc-dock-plugin/actions/icon_dock_32px.svg deleted file mode 100644 index a9aa35d8f..000000000 --- a/plugins/dcc-dock-plugin/actions/icon_dock_32px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - list2_icon/dock/normal - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/com_deepin_dde_dock.cpp b/plugins/dcc-dock-plugin/com_deepin_dde_dock.cpp deleted file mode 100644 index 67aca4e32..000000000 --- a/plugins/dcc-dock-plugin/com_deepin_dde_dock.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - * This file was generated by qdbusxml2cpp-fix version 0.8 - * Command line was: qdbusxml2cpp-fix -c Dock -p com_deepin_dde_dock com.deepin.dde.Dock.xml - * - * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd. - * - * This is an auto-generated file. - * This file may have been hand-edited. Look for HAND-EDIT comments - * before re-generating it. - */ - -#include "com_deepin_dde_dock.h" - -/* - * Implementation of interface class _Dock - */ - -class _DockPrivate -{ -public: - _DockPrivate() = default; - - // begin member variables - bool showInPrimary; - -public: - QMap m_processingCalls; - QMap> m_waittingCalls; -}; - -_Dock::_Dock(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent) - : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent) - , d_ptr(new _DockPrivate) -{ - connect(this, &_Dock::propertyChanged, this, &_Dock::onPropertyChanged); - -} - -_Dock::~_Dock() -{ - qDeleteAll(d_ptr->m_processingCalls.values()); - delete d_ptr; -} - -void _Dock::onPropertyChanged(const QString &propName, const QVariant &value) -{ - if (propName == QStringLiteral("showInPrimary")) - { - const bool &showInPrimary = qvariant_cast(value); - if (d_ptr->showInPrimary != showInPrimary) - { - d_ptr->showInPrimary = showInPrimary; - Q_EMIT ShowInPrimaryChanged(d_ptr->showInPrimary); - } - return; - } - - qWarning() << "property not handle: " << propName; - return; -} - -bool _Dock::showInPrimary() -{ - return qvariant_cast(internalPropGet("showInPrimary", &d_ptr->showInPrimary)); -} - -void _Dock::setShowInPrimary(bool value) -{ - - internalPropSet("showInPrimary", QVariant::fromValue(value), &d_ptr->showInPrimary); -} - -void _Dock::CallQueued(const QString &callName, const QList &args) -{ - if (d_ptr->m_waittingCalls.contains(callName)) - { - d_ptr->m_waittingCalls[callName] = args; - return; - } - if (d_ptr->m_processingCalls.contains(callName)) - { - d_ptr->m_waittingCalls.insert(callName, args); - } else { - QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args)); - connect(watcher, &QDBusPendingCallWatcher::finished, this, &_Dock::onPendingCallFinished); - d_ptr->m_processingCalls.insert(callName, watcher); - } -} - -void _Dock::onPendingCallFinished(QDBusPendingCallWatcher *w) -{ - w->deleteLater(); - const auto callName = d_ptr->m_processingCalls.key(w); - Q_ASSERT(!callName.isEmpty()); - if (callName.isEmpty()) - return; - d_ptr->m_processingCalls.remove(callName); - if (!d_ptr->m_waittingCalls.contains(callName)) - return; - const auto args = d_ptr->m_waittingCalls.take(callName); - CallQueued(callName, args); -} diff --git a/plugins/dcc-dock-plugin/com_deepin_dde_dock.h b/plugins/dcc-dock-plugin/com_deepin_dde_dock.h deleted file mode 100644 index f2b3d89b6..000000000 --- a/plugins/dcc-dock-plugin/com_deepin_dde_dock.h +++ /dev/null @@ -1,158 +0,0 @@ -/* - * This file was generated by qdbusxml2cpp-fix version 0.8 - * Command line was: qdbusxml2cpp-fix -c Dock -p com_deepin_dde_dock com.deepin.dde.Dock.xml - * - * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd. - * - * This is an auto-generated file. - * Do not edit! All changes made to it will be lost. - */ - -#ifndef COM_DEEPIN_DDE_DOCK_H -#define COM_DEEPIN_DDE_DOCK_H - -#include -#include -#include -#include -#include -#include -#include - -#include -#include - - -/* - * Proxy class for interface com.deepin.dde.Dock - */ -class _DockPrivate; -class _Dock : public DBusExtendedAbstractInterface -{ - Q_OBJECT - -public: - static inline const char *staticInterfaceName() - { return "com.deepin.dde.Dock"; } - -public: - explicit _Dock(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); - - ~_Dock(); - - Q_PROPERTY(bool showInPrimary READ showInPrimary WRITE setShowInPrimary NOTIFY ShowInPrimaryChanged) - bool showInPrimary(); - void setShowInPrimary(bool value); - -public Q_SLOTS: // METHODS - inline QDBusPendingReply GetLoadedPlugins() - { - QList argumentList; - return asyncCallWithArgumentList(QStringLiteral("GetLoadedPlugins"), argumentList); - } - - - - inline QDBusPendingReply<> ReloadPlugins() - { - QList argumentList; - return asyncCallWithArgumentList(QStringLiteral("ReloadPlugins"), argumentList); - } - - inline void ReloadPluginsQueued() - { - QList argumentList; - - CallQueued(QStringLiteral("ReloadPlugins"), argumentList); - } - - - inline QDBusPendingReply<> callShow() - { - QList argumentList; - return asyncCallWithArgumentList(QStringLiteral("callShow"), argumentList); - } - - inline void callShowQueued() - { - QList argumentList; - - CallQueued(QStringLiteral("callShow"), argumentList); - } - - - inline QDBusPendingReply getPluginKey(const QString &pluginName) - { - QList argumentList; - argumentList << QVariant::fromValue(pluginName); - return asyncCallWithArgumentList(QStringLiteral("getPluginKey"), argumentList); - } - - - - inline QDBusPendingReply getPluginVisible(const QString &pluginName) - { - QList argumentList; - argumentList << QVariant::fromValue(pluginName); - return asyncCallWithArgumentList(QStringLiteral("getPluginVisible"), argumentList); - } - - - - inline QDBusPendingReply<> resizeDock(int offset, bool dragging) - { - QList argumentList; - argumentList << QVariant::fromValue(offset) << QVariant::fromValue(dragging); - return asyncCallWithArgumentList(QStringLiteral("resizeDock"), argumentList); - } - - inline void resizeDockQueued(int offset, bool dragging) - { - QList argumentList; - argumentList << QVariant::fromValue(offset) << QVariant::fromValue(dragging); - - CallQueued(QStringLiteral("resizeDock"), argumentList); - } - - - inline QDBusPendingReply<> setPluginVisible(const QString &pluginName, bool visible) - { - QList argumentList; - argumentList << QVariant::fromValue(pluginName) << QVariant::fromValue(visible); - return asyncCallWithArgumentList(QStringLiteral("setPluginVisible"), argumentList); - } - - inline void setPluginVisibleQueued(const QString &pluginName, bool visible) - { - QList argumentList; - argumentList << QVariant::fromValue(pluginName) << QVariant::fromValue(visible); - - CallQueued(QStringLiteral("setPluginVisible"), argumentList); - } - - - -Q_SIGNALS: // SIGNALS - void pluginVisibleChanged(const QString &in0, bool in1); - // begin property changed signals - void ShowInPrimaryChanged(bool value) const; - -public Q_SLOTS: - void CallQueued(const QString &callName, const QList &args); - -private Q_SLOTS: - void onPendingCallFinished(QDBusPendingCallWatcher *w); - void onPropertyChanged(const QString &propName, const QVariant &value); - -private: - _DockPrivate *d_ptr; -}; - -namespace com { - namespace deepin { - namespace dde { - typedef ::_Dock Dock; - } - } -} -#endif diff --git a/plugins/dcc-dock-plugin/config_watcher.cpp b/plugins/dcc-dock-plugin/config_watcher.cpp deleted file mode 100644 index 3363bf491..000000000 --- a/plugins/dcc-dock-plugin/config_watcher.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include "config_watcher.h" -#include "utils.h" - -#include -#include -#include -#include -#include -#include - -#include - -using namespace dcc_dock_plugin; - -DCORE_USE_NAMESPACE -/** - * @brief GSettingWatcher::GSettingWatcher 用于监听处于 \a baseSchemasId + "." + \a module 配置下的配置项内容变化,并将变化应用到绑定的控件上 - */ -ConfigWatcher::ConfigWatcher(const QString &fileName, QObject *parent) - : QObject(parent) - , m_config(new DConfig(fileName, QString(), this)) -{ - if (m_config->isValid()) { - connect(m_config, &DConfig::valueChanged, this, &ConfigWatcher::onStatusModeChanged); - } else { - qWarning() << "config parse failed:" << fileName; - } -} - -ConfigWatcher::~ConfigWatcher() -{ - m_map.clear(); -} - -void ConfigWatcher::bind(const QString &key, QWidget *binder) -{ - m_map.insert(key, binder); - - setStatus(key, binder); - // 自动解绑 - connect(binder, &QObject::destroyed, this, [=] { - m_map.remove(m_map.key(binder), binder); - }); -} - -void ConfigWatcher::setStatus(const QString &key, QWidget *binder) -{ - if (!binder || !m_config->isValid() || !m_config->keyList().contains(key)) - return; - - const QString setting = m_config->value(key).toString(); - - if ("Enabled" == setting) { - binder->setEnabled(true); - } else if ("Disabled" == setting) { - binder->setEnabled(false); - } - - binder->setVisible("Hidden" != setting); -} - -void ConfigWatcher::onStatusModeChanged(const QString &key) -{ - if (!m_map.isEmpty() && m_map.contains(key)) { - for (auto it = m_map.begin(); it != m_map.end(); ++it) { - if (key == it.key()) { - setStatus(key, it.value()); - } - } - } -} diff --git a/plugins/dcc-dock-plugin/config_watcher.h b/plugins/dcc-dock-plugin/config_watcher.h deleted file mode 100644 index c8b2a2d63..000000000 --- a/plugins/dcc-dock-plugin/config_watcher.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef GSETTINGWATCHER_H -#define GSETTINGWATCHER_H - -#include - -#include -#include -#include - -class QGSettings; -class QListView; -class QStandardItem; - -DCORE_BEGIN_NAMESPACE -class DConfig; -DCORE_END_NAMESPACE - -namespace dcc_dock_plugin { -class ConfigWatcher : public QObject -{ - Q_OBJECT - -public: - ConfigWatcher(const QString &fileName, QObject *parent = nullptr); - ~ConfigWatcher(); - - void bind(const QString &key, QWidget *binder); - -private: - void setStatus(const QString &key, QWidget *binder); - void onStatusModeChanged(const QString &key); - -private: - QMultiHash m_map; - DTK_CORE_NAMESPACE::DConfig *m_config; -}; -} - -#endif // GSETTINGWATCHER_H diff --git a/plugins/dcc-dock-plugin/dde.dock.plugin.dconfig.json b/plugins/dcc-dock-plugin/dde.dock.plugin.dconfig.json deleted file mode 100644 index 2400142eb..000000000 --- a/plugins/dcc-dock-plugin/dde.dock.plugin.dconfig.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "magic":"dsg.config.meta", - "version":"1.0", - "contents":{ - "Control-Center_Dock_Model":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"Model", - "name[zh_CN]":"模式", - "description[zh_CN]":"此配置为模式选择功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - }, - "Control-Center_Dock_Location":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"Location", - "name[zh_CN]":"位置", - "description[zh_CN]":"此配置为位置选择功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - }, - "Control-Center_Dock_State":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"State", - "name[zh_CN]":"状态", - "description[zh_CN]":"此配置为状态选择功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - }, - "Control-Center_Dock_Size":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"Size", - "name[zh_CN]":"调整大小", - "description[zh_CN]":"此配置为调整大小功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - }, - "Control-Center_Dock_Multi-screen":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"Multi-screen", - "name[zh_CN]":"多屏显示设置", - "description[zh_CN]":"此配置为多屏显示设置项功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - }, - "Control-Center_Dock_Plugins":{ - "value":"Enabled", - "serial":0, - "flags":"", - "name":"Plugins", - "name[zh_CN]":"插件", - "description[zh_CN]":"此配置为插件显示功能的是否启用,默认为启用;当配置为启用时,该设置项可以设置;当配置为禁用时,该设置项置灰;当配置为隐藏时,该设置项隐藏;", - "description":"", - "permissions":"readwrite", - "visibility":"public" - } - } -} \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/dock_settings.json b/plugins/dcc-dock-plugin/dock_settings.json deleted file mode 100644 index dbc6b7b2e..000000000 --- a/plugins/dcc-dock-plugin/dock_settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "api" : "1.0.0" -} \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/module_widget.cpp b/plugins/dcc-dock-plugin/module_widget.cpp deleted file mode 100644 index 89c4df202..000000000 --- a/plugins/dcc-dock-plugin/module_widget.cpp +++ /dev/null @@ -1,439 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include "module_widget.h" -#include "utils.h" - -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -DWIDGET_USE_NAMESPACE - -enum DisplayMode { - Fashion = 0, - Efficient = 1, -}; - -enum HideMode { - KeepShowing = 0, - KeepHidden = 1, - SmartHide = 3, -}; - -enum Position { - Top = 0, - Right = 1, - Bottom = 2, - Left = 3, -}; - -#ifdef USE_AM -static const QString serviceName = QString("org.deepin.dde.daemon.Dock1"); -static const QString servicePath = QString("org.deepin.dde.daemon.Dock1"); -#else -static const QString serviceName = QString("com.deepin.dde.daemon.Dock"); -static const QString servicePath = QString("/com/deepin/dde/daemon/Dock"); -#endif - -ModuleWidget::ModuleWidget(QWidget *parent) - : QScrollArea(parent) - , m_modeComboxWidget(new ComboxWidget(this)) - , m_positionComboxWidget(new ComboxWidget(this)) - , m_stateComboxWidget(new ComboxWidget(this)) - , m_screenSettingComboxWidget(new ComboxWidget(this)) - , m_pluginTips(new DTipLabel(tr("Select which icons appear in the Dock"), this)) - , m_pluginView(new DListView(this)) - , m_pluginModel(new QStandardItemModel(this)) - , m_daemonDockInter(new DBusDock(serviceName, servicePath, QDBusConnection::sessionBus(), this)) - , m_dockInter(new DBusInter("com.deepin.dde.Dock", "/com/deepin/dde/Dock", QDBusConnection::sessionBus(), this)) - , m_dconfigWatcher(new ConfigWatcher("dde.dock.plugin.dconfig", this)) - , m_sliderPressed(false) -{ - //~ contents_path /personalization/Dock - //~ child_page Dock - m_pluginAreaTitle = new TitleLabel(tr("Plugin Area"), this); - - //~ contents_path /personalization/Dock - //~ child_page Dock - m_sizeSlider = new TitledSliderItem(tr("Size"), this); - - //~ contents_path /personalization/Dock - //~ child_page Dock - m_screenSettingTitle = new TitleLabel(tr("Multiple Displays"), this); - - // 异步,否则频繁调用可能会导致卡顿 - m_daemonDockInter->setSync(false); - initUI(); - - connect(m_dockInter, &DBusInter::pluginVisibleChanged, this, &ModuleWidget::updateItemCheckStatus); -} - -ModuleWidget::~ModuleWidget() -{ -} - -void ModuleWidget::initUI() -{ - setBackgroundRole(QPalette::Base); - setFrameShape(QFrame::NoFrame); - setWidgetResizable(true); - setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - - QVBoxLayout *layout = new QVBoxLayout; - layout->setContentsMargins(10, 10, 10, 10); - layout->setSpacing(10); - - static QMap g_modeMap = {{tr("Fashion mode"), Fashion} - , {tr("Efficient mode"), Efficient}}; - // 模式 - if (Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "modeVisible", true).toBool()) { - //~ contents_path /personalization/Dock - //~ child_page Dock - m_modeComboxWidget->setTitle(tr("Mode")); - m_modeComboxWidget->addBackground(); - m_modeComboxWidget->setComboxOption(QStringList() << tr("Fashion mode") << tr("Efficient mode")); - m_modeComboxWidget->setCurrentText(g_modeMap.key(m_daemonDockInter->displayMode())); - connect(m_modeComboxWidget, &ComboxWidget::onSelectChanged, this, [ = ] (const QString &text) { - m_daemonDockInter->setDisplayMode(g_modeMap.value(text)); - }); - connect(m_daemonDockInter, &DBusDock::DisplayModeChanged, this, [ = ] (int value) { - DisplayMode mode = static_cast(value); - if (g_modeMap.key(mode) == m_modeComboxWidget->comboBox()->currentText()) - return; - - m_modeComboxWidget->setCurrentText(g_modeMap.key(mode)); - }); - layout->addWidget(m_modeComboxWidget); - m_dconfigWatcher->bind("Control-Center_Dock_Model", m_modeComboxWidget); - } else { - m_modeComboxWidget->setVisible(false); - } - - if (Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "locationVisible", true).toBool()) { - // 位置 - static QMap g_positionMap = {{tr("Top"), Top} - , {tr("Bottom"), Bottom} - , {tr("Left"), Left} - , {tr("Right"), Right}}; - - //~ contents_path /personalization/Dock - //~ child_page Dock - m_positionComboxWidget->setTitle(tr("Location")); - m_positionComboxWidget->addBackground(); - m_positionComboxWidget->setComboxOption(QStringList() << tr("Top") << tr("Bottom") << tr("Left") << tr("Right")); - m_positionComboxWidget->setCurrentText(g_positionMap.key(m_daemonDockInter->position())); - connect(m_positionComboxWidget, &ComboxWidget::onSelectChanged, this, [ = ] (const QString &text) { - m_daemonDockInter->setPosition(g_positionMap.value(text)); - }); - connect(m_daemonDockInter, &DBusDock::PositionChanged, this, [ = ] (int position) { - Position pos = static_cast(position); - if (g_positionMap.key(pos) == m_positionComboxWidget->comboBox()->currentText()) - return; - - m_positionComboxWidget->setCurrentText(g_positionMap.key(pos)); - }); - layout->addWidget(m_positionComboxWidget); - m_dconfigWatcher->bind("Control-Center_Dock_Location", m_positionComboxWidget); - } else { - m_positionComboxWidget->setVisible(false); - } - - // 状态 - if (Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "statusVisible", true).toBool()) { - static QMap g_stateMap = {{tr("Keep shown"), KeepShowing} - , {tr("Keep hidden"), KeepHidden} - , {tr("Smart hide"), SmartHide}}; - - //~ contents_path /personalization/Dock - //~ child_page Dock - m_stateComboxWidget->setTitle(tr("Status")); - m_stateComboxWidget->addBackground(); - m_stateComboxWidget->setComboxOption(QStringList() << tr("Keep shown") << tr("Keep hidden") << tr("Smart hide")); - m_stateComboxWidget->setCurrentText(g_stateMap.key(m_daemonDockInter->hideMode())); - connect(m_stateComboxWidget, &ComboxWidget::onSelectChanged, this, [ = ] (const QString &text) { - m_daemonDockInter->setHideMode(g_stateMap.value(text)); - }); - connect(m_daemonDockInter, &DBusDock::HideModeChanged, this, [ = ] (int value) { - HideMode mode = static_cast(value); - if (g_stateMap.key(mode) == m_stateComboxWidget->comboBox()->currentText()) - return; - - m_stateComboxWidget->setCurrentText(g_stateMap.key(mode)); - }); - layout->addWidget(m_stateComboxWidget); - m_dconfigWatcher->bind("Control-Center_Dock_State", m_stateComboxWidget); - } else { - m_stateComboxWidget->setVisible(false); - } - - // 高度调整控件 - m_sizeSlider->addBackground(); - m_sizeSlider->slider()->setRange(40, 100); - QStringList ranges; - ranges << tr("Small") << "" << tr("Large"); - m_sizeSlider->setAnnotations(ranges); - connect(m_daemonDockInter, &DBusDock::DisplayModeChanged, this, &ModuleWidget::updateSliderValue); - connect(m_daemonDockInter, &DBusDock::WindowSizeFashionChanged, this, &ModuleWidget::updateSliderValue); - connect(m_daemonDockInter, &DBusDock::WindowSizeEfficientChanged, this, &ModuleWidget::updateSliderValue); - connect(m_sizeSlider->slider(), &DSlider::sliderMoved, m_sizeSlider->slider(), &DSlider::valueChanged); - connect(m_sizeSlider->slider(), &DSlider::valueChanged, this, [ = ] (int value) { - m_dockInter->resizeDock(value, true); - }); - connect(m_sizeSlider->slider(), &DSlider::sliderPressed, m_dockInter, [ = ] { - m_daemonDockInter->blockSignals(true); - m_sliderPressed = true; - }); - connect(m_sizeSlider->slider(), &DSlider::sliderReleased, m_dockInter, [ = ] { - m_daemonDockInter->blockSignals(false); - m_sliderPressed = false; - - // 松开手后通知dock拖拽状态接触 - QTimer::singleShot(0, this, [ = ] { - int offset = m_sizeSlider->slider()->value(); - m_dockInter->resizeDock(offset, false); - }); - }); - - updateSliderValue(); - m_dconfigWatcher->bind("Control-Center_Dock_Size", m_sizeSlider); - - layout->addWidget(m_sizeSlider); - - // 多屏显示设置 - if (QDBusConnection::sessionBus().interface()->isServiceRegistered("com.deepin.dde.Dock") - && QApplication::screens().size() > 1 - && !isCopyMode() - && Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "multiscreenVisible", true).toBool()) { - static QMap g_screenSettingMap = {{tr("On screen where the cursor is"), false} - , {tr("Only on main screen"), true}}; - - layout->addSpacing(10); - layout->addWidget(m_screenSettingTitle); - m_screenSettingComboxWidget->setTitle(tr("Show Dock")); - m_screenSettingComboxWidget->addBackground(); - m_screenSettingComboxWidget->setComboxOption(QStringList() << tr("On screen where the cursor is") << tr("Only on main screen")); - m_screenSettingComboxWidget->setCurrentText(g_screenSettingMap.key(m_dockInter->showInPrimary())); - connect(m_screenSettingComboxWidget, &ComboxWidget::onSelectChanged, this, [ = ] (const QString &text) { - m_dockInter->setShowInPrimary(g_screenSettingMap.value(text)); - }); - connect(qApp, &QApplication::screenAdded, this, [ = ] { - m_screenSettingTitle->setVisible(qApp->screens().count() > 1); - m_screenSettingComboxWidget->setVisible(qApp->screens().count() > 1); - }); - connect(qApp, &QApplication::screenRemoved, this, [ = ] { - m_screenSettingTitle->setVisible(qApp->screens().count() > 1); - m_screenSettingComboxWidget->setVisible(qApp->screens().count() > 1); - }); - - // 这里不会生效,但实际场景中也不存在有其他可配置的地方,可以不用处理 - connect(m_dockInter, &DBusInter::ShowInPrimaryChanged, this, [ = ] (bool showInPrimary) { - if (m_screenSettingComboxWidget->comboBox()->currentText() == g_screenSettingMap.key(showInPrimary)) - return; - - m_screenSettingComboxWidget->blockSignals(true); - m_screenSettingComboxWidget->setCurrentText(g_screenSettingMap.key(showInPrimary)); - m_screenSettingComboxWidget->blockSignals(false); - }); - layout->addWidget(m_screenSettingComboxWidget); - m_dconfigWatcher->bind("Control-Center_Dock_Multi-screen", m_screenSettingTitle); - m_dconfigWatcher->bind("Control-Center_Dock_Multi-screen", m_screenSettingComboxWidget); - } else { - m_screenSettingTitle->setVisible(false); - m_screenSettingComboxWidget->setVisible(false); - } - - // 插件区域 - QDBusPendingReply reply = m_dockInter->GetLoadedPlugins(); - QStringList plugins = reply.value(); - if (reply.error().type() != QDBusError::ErrorType::NoError - || !Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "hideVisible", true).toBool()) { - m_pluginAreaTitle->setVisible(false); - m_pluginTips->setVisible(false); - m_pluginView->setVisible(false); - qWarning() << "dbus call failed, method: 'GetLoadedPlugins()'"; - } else { - const QMap &pluginIconMap = {{"AiAssistant", "dcc_dock_assistant"} - , {"show-desktop", "dcc_dock_desktop"} - , {"onboard", "dcc_dock_keyboard"} - , {"notifications", "dcc_dock_notify"} - , {"shutdown", "dcc_dock_power"} - , {"multitasking", "dcc_dock_task"} - , {"datetime", "dcc_dock_time"} - , {"system-monitor", "dcc_dock_systemmonitor"} - , {"grand-search", "dcc_dock_grandsearch"} - , {"trash", "dcc_dock_trash"}}; - if (plugins.size() != 0) { - layout->addSpacing(10); - layout->addWidget(m_pluginAreaTitle); - m_dconfigWatcher->bind("Control-Center_Dock_Plugins", m_pluginAreaTitle); - - DFontSizeManager::instance()->bind(m_pluginTips, DFontSizeManager::T8); - m_pluginTips->adjustSize(); - m_pluginTips->setWordWrap(true); - m_pluginTips->setContentsMargins(10, 5, 10, 5); - m_pluginTips->setAlignment(Qt::AlignLeft); - layout->addWidget(m_pluginTips); - m_dconfigWatcher->bind("Control-Center_Dock_Plugins", m_pluginTips); - - m_pluginView->setAccessibleName("pluginList"); - m_pluginView->setBackgroundType(DStyledItemDelegate::BackgroundType::ClipCornerBackground); - m_pluginView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - m_pluginView->setSelectionMode(QListView::SelectionMode::NoSelection); - m_pluginView->setEditTriggers(DListView::NoEditTriggers); - m_pluginView->setFrameShape(DListView::NoFrame); - m_pluginView->setViewportMargins(0, 0, 0, 0); - m_pluginView->setItemSpacing(1); - - QMargins itemMargins(m_pluginView->itemMargins()); - itemMargins.setLeft(14); - m_pluginView->setItemMargins(itemMargins); - - m_pluginView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); - QScroller *scroller = QScroller::scroller(m_pluginView->viewport()); - QScrollerProperties sp; - sp.setScrollMetric(QScrollerProperties::VerticalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff); - scroller->setScrollerProperties(sp); - - m_pluginView->setModel(m_pluginModel); - - layout->addWidget(m_pluginView); - m_dconfigWatcher->bind("Control-Center_Dock_Plugins", m_pluginView); - - for (auto name : plugins) { - DStandardItem *item = new DStandardItem(name); - item->setFontSize(DFontSizeManager::T8); - QSize size(16, 16); - - // 插件图标 - auto leftAction = new DViewItemAction(Qt::AlignVCenter, size, size, true); - leftAction->setIcon(QIcon::fromTheme(pluginIconMap.value(m_dockInter->getPluginKey(name), "dcc_dock_plug_in"))); - item->setActionList(Qt::Edge::LeftEdge, {leftAction}); - - auto rightAction = new DViewItemAction(Qt::AlignVCenter, size, size, true); - bool visible = m_dockInter->getPluginVisible(name); - auto checkstatus = visible ? DStyle::SP_IndicatorChecked : DStyle::SP_IndicatorUnchecked ; - auto checkIcon = qobject_cast(style())->standardIcon(checkstatus); - rightAction->setIcon(checkIcon); - item->setActionList(Qt::Edge::RightEdge, {rightAction}); - m_pluginModel->appendRow(item); - - connect(rightAction, &DViewItemAction::triggered, this, [ = ] { - bool checked = m_dockInter->getPluginVisible(name); - m_dockInter->setPluginVisible(name, !checked); - updateItemCheckStatus(name, !checked); - }); - } - // 固定大小,防止滚动 - int lineHeight = m_pluginView->visualRect(m_pluginView->indexAt(QPoint(0, 0))).height(); - m_pluginView->setMinimumHeight(lineHeight * plugins.size() + 10); - } else { - m_pluginAreaTitle->setVisible(false); - m_pluginTips->setVisible(false); - m_pluginView->setVisible(false); - } - } - - // 支持在触摸屏上滚动 - QScroller::grabGesture(this->window(), QScroller::LeftMouseButtonGesture); - QScroller *scroller = QScroller::scroller(this->window()); - QScrollerProperties sp; - sp.setScrollMetric(QScrollerProperties::VerticalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff); - scroller->setScrollerProperties(sp); - - // 保持内容正常铺满 - layout->addStretch(); - - // 界面内容过多时可滚动查看 - QWidget *widget = new QWidget; - widget->setLayout(layout); - setWidget(widget); -} - -/**判断屏幕是否为复制模式的依据,第一个屏幕的X和Y值是否和其他的屏幕的X和Y值相等 - * 对于复制模式,这两个值肯定是相等的,如果不是复制模式,这两个值肯定不等,目前支持双屏 - * @brief DisplayManager::isCopyMode - * @return - */ -bool ModuleWidget::isCopyMode() -{ - QList screens = qApp->screens(); - if (screens.size() < 2) - return false; - - // 在多个屏幕的情况下,如果所有屏幕的位置的X和Y值都相等,则认为是复制模式 - QRect screenRect = screens[0]->availableGeometry(); - for (int i = 1; i < screens.size(); i++) { - QRect rect = screens[i]->availableGeometry(); - if (screenRect.x() != rect.x() || screenRect.y() != rect.y()) - return false; - } - - return true; -} - -void ModuleWidget::updateSliderValue() -{ - auto displayMode = m_daemonDockInter->displayMode(); - - m_sizeSlider->slider()->blockSignals(true); - if (displayMode == DisplayMode::Fashion) { - if (int(m_daemonDockInter->windowSizeFashion()) != m_sizeSlider->slider()->value()) - m_sizeSlider->slider()->setValue(int(m_daemonDockInter->windowSizeFashion())); - } else if (displayMode == DisplayMode::Efficient) { - if (int(m_daemonDockInter->windowSizeEfficient()) != m_sizeSlider->slider()->value()) - m_sizeSlider->slider()->setValue(int(m_daemonDockInter->windowSizeEfficient())); - } - m_sizeSlider->slider()->blockSignals(false); -} - -void ModuleWidget::updateItemCheckStatus(const QString &name, bool visible) -{ - for (int i = 0; i < m_pluginModel->rowCount(); ++i) { - auto item = static_cast(m_pluginModel->item(i)); - if (item->text() != name || item->actionList(Qt::Edge::RightEdge).size() < 1) - continue; - - auto action = item->actionList(Qt::Edge::RightEdge).first(); - auto checkstatus = visible ? DStyle::SP_IndicatorChecked : DStyle::SP_IndicatorUnchecked ; - auto icon = qobject_cast(style())->standardIcon(checkstatus); - action->setIcon(icon); - m_pluginView->update(item->index()); - break; - } -} diff --git a/plugins/dcc-dock-plugin/module_widget.h b/plugins/dcc-dock-plugin/module_widget.h deleted file mode 100644 index 50fd9103b..000000000 --- a/plugins/dcc-dock-plugin/module_widget.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef MODULE_WIDGET_H -#define MODULE_WIDGET_H - -#ifdef USE_AM -#include "dockinterface.h" -#else -#include -#endif - -#include - -#include - -#include "com_deepin_dde_dock.h" -#include "config_watcher.h" - -namespace dcc { -namespace widgets { -class ComboxWidget; -class TitledSliderItem; -} -} - -DWIDGET_BEGIN_NAMESPACE -class DListView; -class DTipLabel; -DWIDGET_END_NAMESPACE - -class TitleLabel; -class QStandardItemModel; - -using namespace dcc::widgets; -using namespace dcc_dock_plugin; - -#ifdef USE_AM -using DBusDock = org::deepin::dde::daemon::DdeDock; -#else -using DBusDock = com::deepin::dde::daemon::Dock; -#endif - -using DBusInter = com::deepin::dde::Dock; - -class ModuleWidget : public QScrollArea -{ - Q_OBJECT -public: - explicit ModuleWidget(QWidget *parent = nullptr); - ~ ModuleWidget(); - -private: - void initUI(); - bool isCopyMode(); - -private Q_SLOTS: - void updateSliderValue(); - void updateItemCheckStatus(const QString &name, bool visible); - -private: - ComboxWidget *m_modeComboxWidget; - ComboxWidget *m_positionComboxWidget; - ComboxWidget *m_stateComboxWidget; - - TitledSliderItem *m_sizeSlider; - - TitleLabel *m_screenSettingTitle; - ComboxWidget *m_screenSettingComboxWidget; - - TitleLabel *m_pluginAreaTitle; - DTK_WIDGET_NAMESPACE::DTipLabel *m_pluginTips; - DTK_WIDGET_NAMESPACE::DListView *m_pluginView; - QStandardItemModel *m_pluginModel; - - DBusDock *m_daemonDockInter; - DBusInter *m_dockInter; - ConfigWatcher *m_dconfigWatcher; - - bool m_sliderPressed; -}; - -#endif // MODULE_WIDGET_H diff --git a/plugins/dcc-dock-plugin/resources.qrc b/plugins/dcc-dock-plugin/resources.qrc deleted file mode 100644 index b56db9a9e..000000000 --- a/plugins/dcc-dock-plugin/resources.qrc +++ /dev/null @@ -1,41 +0,0 @@ - - - actions/icon_dock_32px.svg - texts/dcc_dock_time_16px.svg - texts/dcc_dock_assistant_16px.svg - texts/dcc_dock_desktop_16px.svg - texts/dcc_dock_keyboard_16px.svg - texts/dcc_dock_notify_16px.svg - texts/dcc_dock_plug_in_16px.svg - texts/dcc_dock_power_16px.svg - texts/dcc_dock_task_16px.svg - texts/dcc_dock_trash_16px.svg - texts/dcc_dock_grandsearch_16px.svg - texts/dcc_dock_systemmonitor_16px.svg - - - translations/dcc-dock-plugin.ts - translations/dcc-dock-plugin_bo.ts - translations/dcc-dock-plugin_az.ts - translations/dcc-dock-plugin_cs.ts - translations/dcc-dock-plugin_fi.ts - translations/dcc-dock-plugin_hu.ts - translations/dcc-dock-plugin_nl.ts - translations/dcc-dock-plugin_pt.ts - translations/dcc-dock-plugin_sq.ts - translations/dcc-dock-plugin_ug.ts - translations/dcc-dock-plugin_uk.ts - translations/dcc-dock-plugin_zh_CN.ts - translations/dcc-dock-plugin_zh_HK.ts - translations/dcc-dock-plugin_zh_TW.ts - translations/dcc-dock-plugin_de.ts - translations/dcc-dock-plugin_ca.ts - translations/dcc-dock-plugin_es.ts - translations/dcc-dock-plugin_hr.ts - translations/dcc-dock-plugin_it.ts - translations/dcc-dock-plugin_pl.ts - translations/dcc-dock-plugin_pt_BR.ts - translations/dcc-dock-plugin_ru.ts - translations/dcc-dock-plugin_en_US.ts - - diff --git a/plugins/dcc-dock-plugin/settings_module.cpp b/plugins/dcc-dock-plugin/settings_module.cpp deleted file mode 100644 index 9483ab447..000000000 --- a/plugins/dcc-dock-plugin/settings_module.cpp +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include "settings_module.h" -#include "module_widget.h" -#include "config_watcher.h" - -#include - -#include -#include - -DWIDGET_USE_NAMESPACE -DCORE_USE_NAMESPACE - -SettingsModule::SettingsModule() - : QObject() - , ModuleInterface() - , m_moduleWidget(nullptr) - , m_config(new DConfig("dde.dock.plugin.dconfig", QString(), this)) -{ - QTranslator *translator = new QTranslator(this); - translator->load(QString("/usr/share/dcc-dock-plugin/translations/dcc-dock-plugin_%1.qm").arg(QLocale::system().name())); - QCoreApplication::installTranslator(translator); -} - -SettingsModule::~SettingsModule() -{ - -} - -void SettingsModule::initialize() -{ - -} - -void SettingsModule::active() -{ - m_moduleWidget = new ModuleWidget; - - m_frameProxy->pushWidget(this, m_moduleWidget); - m_moduleWidget->setVisible(true); -} - -QStringList SettingsModule::availPage() const -{ - return QStringList() << "Dock"; -} - -const QString SettingsModule::displayName() const -{ - return tr("Dock"); -} - -QIcon SettingsModule::icon() const -{ - return QIcon::fromTheme("icon_dock"); -} - -QString SettingsModule::translationPath() const -{ - return QString(":/translations/dcc-dock-plugin_%1.ts"); -} - -QString SettingsModule::path() const -{ - return PERSONALIZATION; -} - -QString SettingsModule::follow() const -{ - return "10"; -} - -const QString SettingsModule::name() const -{ - return QStringLiteral("Dock"); -} - -void SettingsModule::showPage(const QString &pageName) -{ - Q_UNUSED(pageName); -} - -void SettingsModule::addChildPageTrans() const -{ - if (!m_frameProxy) - return; - - m_frameProxy->addChildPageTrans("Dock", tr("Dock")); -} - -void SettingsModule::initSearchData() -{ - onStatusChanged(); - - if (m_config->isValid()) - connect(m_config, &DConfig::valueChanged, this, &SettingsModule::onStatusChanged); -} - -void SettingsModule::preInitialize(bool sync, FrameProxyInterface::PushType) -{ - Q_UNUSED(sync); - addChildPageTrans(); - initSearchData(); -} - -void SettingsModule::onStatusChanged() -{ - if (!m_frameProxy) - return; - - // 模块名称 - const QString &module = m_frameProxy->moduleDisplayName(PERSONALIZATION); - - // 子模块名称 - const QString &dock = tr("Dock"); - - // 二级菜单显示状态设置 - m_frameProxy->setWidgetVisible(module, dock, true); - - auto visibleState = [ = ](const QString &key) { - return (m_config->value(QString("%1").arg(key)).toString() == "Enabled"); - }; - - // 三级菜单显示状态设置 - m_frameProxy->setDetailVisible(module, dock, tr("Mode"), visibleState("Control-Center_Dock_Model")); - m_frameProxy->setDetailVisible(module, dock, tr("Location"), visibleState("Control-Center_Dock_Location")); - m_frameProxy->setDetailVisible(module, dock, tr("Status"), visibleState("Control-Center_Dock_State")); - m_frameProxy->setDetailVisible(module, dock, tr("Size"), visibleState("Control-Center_Dock_Size")); - m_frameProxy->setDetailVisible(module, dock, tr("Show Dock"), visibleState("Control-Center_Dock_Multi-screen")); - m_frameProxy->setDetailVisible(module, dock, tr("Plugin Area"), visibleState("Control-Center_Dock_Plugins")); - m_frameProxy->updateSearchData(module); -} diff --git a/plugins/dcc-dock-plugin/settings_module.h b/plugins/dcc-dock-plugin/settings_module.h deleted file mode 100644 index 148809fca..000000000 --- a/plugins/dcc-dock-plugin/settings_module.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (C) 2011 ~ 2021 Uniontech Technology Co., Ltd. - * - * Author: fanpengcheng - * - * Maintainer: fanpengcheng - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef SETTINGSMODULE_H -#define SETTINGSMODULE_H - -#include - -#include - -#include "interface/namespace.h" -#include "interface/moduleinterface.h" -#include "interface/frameproxyinterface.h" - -namespace DCC_NAMESPACE { - class ModuleInterface; - class FrameProxyInterface; -} - -using namespace DCC_NAMESPACE; - -DCORE_BEGIN_NAMESPACE -class DConfig; -DCORE_END_NAMESPACE - -class ModuleWidget; -class SettingsModule : public QObject, public ModuleInterface -{ - Q_OBJECT - - Q_PLUGIN_METADATA(IID ModuleInterface_iid FILE "dock_settings.json") - Q_INTERFACES(DCC_NAMESPACE::ModuleInterface) - -public: - explicit SettingsModule(); - - ~SettingsModule() Q_DECL_OVERRIDE; - - void initialize() Q_DECL_OVERRIDE; - - QStringList availPage() const Q_DECL_OVERRIDE; - - const QString displayName() const Q_DECL_OVERRIDE; - - QIcon icon() const Q_DECL_OVERRIDE; - - QString translationPath() const Q_DECL_OVERRIDE; - - QString path() const Q_DECL_OVERRIDE; - - QString follow() const Q_DECL_OVERRIDE; - - const QString name() const Q_DECL_OVERRIDE; - - void showPage(const QString &pageName) Q_DECL_OVERRIDE; - - void addChildPageTrans() const Q_DECL_OVERRIDE; - - void initSearchData() Q_DECL_OVERRIDE; - - void preInitialize(bool sync = false,FrameProxyInterface::PushType = FrameProxyInterface::PushType::Normal) Q_DECL_OVERRIDE; - -private: - void onStatusChanged(); - -public Q_SLOTS: - void active() Q_DECL_OVERRIDE; - -private: - ModuleWidget *m_moduleWidget; - DTK_CORE_NAMESPACE::DConfig *m_config; -}; - -#endif // SETTINGSMODULE_H diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_assistant_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_assistant_16px.svg deleted file mode 100644 index 7c2010bf1..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_assistant_16px.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - icon/dock/assistant - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_desktop_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_desktop_16px.svg deleted file mode 100644 index c0fa9ab19..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_desktop_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock/desktop - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_grandsearch_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_grandsearch_16px.svg deleted file mode 100644 index b1e0e65ba..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_grandsearch_16px.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - icon/dock-set/search - - - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_keyboard_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_keyboard_16px.svg deleted file mode 100644 index d9c5718b2..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_keyboard_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock/keyboard - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_notify_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_notify_16px.svg deleted file mode 100644 index fba759921..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_notify_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock/notify - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_plug_in_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_plug_in_16px.svg deleted file mode 100644 index 5ab6bf7fd..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_plug_in_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock/plug-in2 - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_power_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_power_16px.svg deleted file mode 100644 index 66aea8e7c..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_power_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock-set/power - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_systemmonitor_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_systemmonitor_16px.svg deleted file mode 100644 index 50ee6bb28..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_systemmonitor_16px.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - icon/dock-set/monitor - - - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_task_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_task_16px.svg deleted file mode 100644 index 0537c2347..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_task_16px.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - icon/dock/task - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_time_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_time_16px.svg deleted file mode 100644 index da813d6f9..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_time_16px.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - icon/dock/time - - - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/texts/dcc_dock_trash_16px.svg b/plugins/dcc-dock-plugin/texts/dcc_dock_trash_16px.svg deleted file mode 100644 index 05ce6decf..000000000 --- a/plugins/dcc-dock-plugin/texts/dcc_dock_trash_16px.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - icon/dock/trash - - - - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translate_generation.sh b/plugins/dcc-dock-plugin/translate_generation.sh deleted file mode 100755 index c9080923b..000000000 --- a/plugins/dcc-dock-plugin/translate_generation.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# this file is used to auto-generate .qm file from .ts file. -# author: shibowen at linuxdeepin.com - -ts_list=(`ls translations/*.ts`) - -for ts in "${ts_list[@]}" -do - printf "\nprocess ${ts}\n" - lrelease "${ts}" -done diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin.ts deleted file mode 100644 index e2d1a109c..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Size - Dock - /personalization/Dock - - - - Multiple Displays - Multiple Displays - Dock - /personalization/Dock - - - - Plugin Area - Plugin Area - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Select which icons appear in the Dock - - - - - Fashion mode - Fashion mode - - - - - Efficient mode - Efficient mode - - - - Mode - Mode - Dock - /personalization/Dock - - - - - Top - Top - - - - - Bottom - Bottom - - - - - Left - Left - - - - - Right - Right - - - - Location - Location - Dock - /personalization/Dock - - - - - Keep shown - Keep shown - - - - - Keep hidden - Keep hidden - - - - - Smart hide - Smart hide - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Small - - - - Large - Large - - - - - On screen where the cursor is - On screen where the cursor is - - - - - Only on main screen - Only on main screen - - - - Show Dock - Show Dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Mode - - - - Location - Location - - - - Status - Status - - - - Size - Size - - - - Show Dock - Show Dock - - - - Plugin Area - Plugin Area - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_az.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_az.ts deleted file mode 100644 index bb5921a3e..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_az.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Ölçü - Dock - /personalization/Dock - - - - Multiple Displays - Çoxsaylı ekran - Dock - /personalization/Dock - - - - Plugin Area - Plaqin sahəsi - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Dok paneldə görünəcək nişanları seçin - - - - - Fashion mode - Müasir rejim - - - - - Efficient mode - Səmərəli rejim - - - - Mode - Rejim - Dock - /personalization/Dock - - - - - Top - Yuxarıda - - - - - Bottom - Aşağıda - - - - - Left - Sol - - - - - Right - Sağ - - - - Location - Yerləşmə - Dock - /personalization/Dock - - - - - Keep shown - Görünsün - - - - - Keep hidden - Gizli qalsın - - - - - Smart hide - Ağıllı gizlənmə - - - - Status - Vəziyyəti - Dock - /personalization/Dock - - - - Small - Kiçik - - - - Large - Geniş - - - - - On screen where the cursor is - Kursorun olduğu ekranda - - - - - Only on main screen - Yalnız əsas ekranda - - - - Show Dock - Dok paneli göstərmək - - - - SettingsModule - - - - - Dock - Dok panel - - - - Mode - Rejim - - - - Location - Yerləşmə - - - - Status - Vəziyyəti - - - - Size - Ölçü - - - - Show Dock - Dok paneli göstərmək - - - - Plugin Area - Plaqin sahəsi - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_bo.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_bo.ts deleted file mode 100644 index 86105e4c8..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_bo.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - ཆེ་ཆུང་། - Dock - /personalization/Dock - - - - Multiple Displays - བརྙན་མང་མངོན་སྟོན་སྒྲིག་འགོད། - Dock - /personalization/Dock - - - - Plugin Area - ལྷུ་ལག་ཁུལ་ཁོངས། - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - ལས་འགན་ཚན་བྱང་གི་ལྷུ་ལག་ཁུལ་དུ་མངོན་པའི་པར་རིས་འདེམས་པ། - - - - - Fashion mode - དར་སྲོལ་དཔེ་རྣམ། - - - - - Efficient mode - ལས་ཆོད་ཆེ་བའི་དཔེ་རྣམ། - - - - Mode - དཔེ་རྣམ། - Dock - /personalization/Dock - - - - - Top - གོང་། - - - - - Bottom - འོག - - - - - Left - གཡོན། - - - - - Right - གཡས། - - - - Location - གནས་ས། - Dock - /personalization/Dock - - - - - Keep shown - རྟག་ཏུ་མངོན་པ། - - - - - Keep hidden - རྟག་ཏུ་ཡིབ་པ། - - - - - Smart hide - རིག་ནུས་གབ་ཡིབ། - - - - Status - རྣམ་པ། - Dock - /personalization/Dock - - - - Small - ཆུང་ངུ། - - - - Large - ཆེ་བ། - - - - - On screen where the cursor is - ཙི་གུའི་གནས་ཡུལ་ལྟར་མངོན་པ། - - - - - Only on main screen - བརྙན་ཡོལ་ཨ་མ་ཁོ་ན་མངོན་པ། - - - - Show Dock - ལས་འགན་ཚན་བྱང་གི་གནས་ས། - - - - SettingsModule - - - - - Dock - ལས་འགན་ཚན་བྱང་། - - - - Mode - དཔེ་རྣམ། - - - - Location - གནས་ས། - - - - Status - རྣམ་པ། - - - - Size - ཆེ་ཆུང་། - - - - Show Dock - ལས་འགན་ཚན་བྱང་གི་གནས་ས། - - - - Plugin Area - ལྷུ་ལག་ཁུལ་ཁོངས། - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ca.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ca.ts deleted file mode 100644 index 14bee9c98..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ca.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Mida - Dock - /personalization/Dock - - - - Multiple Displays - Pantalles múltiples - Dock - /personalization/Dock - - - - Plugin Area - Àrea de connectors - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Seleccioneu quines icones apareixen a l'acoblador. - - - - - Fashion mode - Mode de moda - - - - - Efficient mode - Mode eficient - - - - Mode - Mode - Dock - /personalization/Dock - - - - - Top - Dalt - - - - - Bottom - A baix - - - - - Left - A l'esquerra - - - - - Right - A la dreta - - - - Location - Ubicació - Dock - /personalization/Dock - - - - - Keep shown - Mantén-lo visible - - - - - Keep hidden - Mantén-lo amagat - - - - - Smart hide - Ocultació intel·ligent - - - - Status - Estat - Dock - /personalization/Dock - - - - Small - petit - - - - Large - gros - - - - - On screen where the cursor is - A la pantalla el cursor és - - - - - Only on main screen - Només a la pantalla principal - - - - Show Dock - Mostra l'acoblador - - - - SettingsModule - - - - - Dock - Acoblador - - - - Mode - Mode - - - - Location - Ubicació - - - - Status - Estat - - - - Size - Mida - - - - Show Dock - Mostra l'acoblador - - - - Plugin Area - Àrea de connectors - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_cs.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_cs.ts deleted file mode 100644 index a85e3d002..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_cs.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Velikost - Dock - /personalization/Dock - - - - Multiple Displays - Více displejů - Dock - /personalization/Dock - - - - Plugin Area - Oblast pluginu - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Vyberte, které ikony se zobrazí v panelu - - - - - Fashion mode - Líbivý režim - - - - - Efficient mode - Nenáročný režim - - - - Mode - Režim - Dock - /personalization/Dock - - - - - Top - Nahoře - - - - - Bottom - Dole - - - - - Left - Vlevo - - - - - Right - Vpravo - - - - Location - Umístění - Dock - /personalization/Dock - - - - - Keep shown - Ponechat zobrazený - - - - - Keep hidden - Ponechat skrytý - - - - - Smart hide - Chytré skrývání - - - - Status - Stav - Dock - /personalization/Dock - - - - Small - Malý - - - - Large - Velký - - - - - On screen where the cursor is - Na obrazovce, na které se nachází ukazatel - - - - - Only on main screen - Pouze na hlavní obrazovce - - - - Show Dock - Zobrazit panel - - - - SettingsModule - - - - - Dock - Panel - - - - Mode - Režim - - - - Location - Umístění - - - - Status - Stav - - - - Size - Velikost - - - - Show Dock - Zobrazit panel - - - - Plugin Area - Oblast pluginu - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_de.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_de.ts deleted file mode 100644 index 957533edd..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_de.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Größe - Dock - /personalization/Dock - - - - Multiple Displays - Mehrfachbildschirm - Dock - /personalization/Dock - - - - Plugin Area - Pluginbereich - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Wählen Sie aus, welche Symbole im Dock erscheinen sollen - - - - - Fashion mode - Design-Modus - - - - - Efficient mode - Leistungs-Modus - - - - Mode - Modus - Dock - /personalization/Dock - - - - - Top - Oben - - - - - Bottom - Unten - - - - - Left - Links - - - - - Right - Rechts - - - - Location - Standort - Dock - /personalization/Dock - - - - - Keep shown - Angezeigt lassen - - - - - Keep hidden - Ausgeblendet lassen - - - - - Smart hide - Intelligentes Ausblenden - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Klein - - - - Large - Groß - - - - - On screen where the cursor is - Auf dem Bildschirm, wo sich der Zeiger befindet - - - - - Only on main screen - Nur auf dem Hauptbildschirm - - - - Show Dock - Dock anzeigen - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Modus - - - - Location - Standort - - - - Status - Status - - - - Size - Größe - - - - Show Dock - Dock anzeigen - - - - Plugin Area - Pluginbereich - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_el.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_el.ts deleted file mode 100644 index c99a7eb0f..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_el.ts +++ /dev/null @@ -1,130 +0,0 @@ - - - ModuleWidget - - - Size - Μέγεθος - - - - Multiple Displays - Πολλαπλές Οθόνες - - - - Plugin Area - - - - - Select which icons appear in the Dock - - - - - - Fashion mode - Μοντέρνα λειτουργία - - - - - Efficient mode - Αποτελεσματική λειτουργία - - - - Mode - Λειτουργία - - - - - Top - Πάνω μέρος - - - - - Bottom - Κάτω μέρος - - - - - Left - Αριστερά - - - - - Right - Δεξιά - - - - Location - Τοποθεσία - - - - - Keep shown - - - - - - Keep hidden - Κρατήστε κρυφό - - - - - Smart hide - Έξυπνη απόκρυψη - - - - Status - Κατάσταση - - - - Small - Μικρό - - - - Large - Μεγάλο - - - - - On screen where the cursor is - Στην οθόνη όπου βρίσκεται ο κέρσορας - - - - - Only on main screen - Μόνο στην κύρια οθόνη - - - - Show Dock - - - - - SettingsModule - - - Dock - Προσθήκη στην γραμμή εργασιών - /personalization/Dock - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_en_US.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_en_US.ts deleted file mode 100644 index adf44cd9a..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_en_US.ts +++ /dev/null @@ -1,175 +0,0 @@ - - - - - ModuleWidget - - - Size - Size - Dock - /personalization/Dock - - - - Multiple Displays - Multiple Displays - Dock - /personalization/Dock - - - - Plugin Area - Plugin Area - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Select which icons appear in the Dock - - - - - Fashion mode - Fashion mode - - - - - Efficient mode - Efficient mode - - - - Mode - Mode - Dock - /personalization/Dock - - - - - Top - Top - - - - - Bottom - Bottom - - - - - Left - Left - - - - - Right - Right - - - - Location - Location - Dock - /personalization/Dock - - - - - Keep shown - Keep shown - - - - - Keep hidden - Keep hidden - - - - - Smart hide - Smart hide - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Small - - - - Large - Large - - - - - On screen where the cursor is - On screen where the cursor is - - - - - Only on main screen - Only on main screen - - - - Show Dock - Show Dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Mode - - - - Location - Location - - - - Status - Status - - - - Size - Size - - - - Show Dock - Show Dock - - - - Plugin Area - Plugin Area - - - diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_es.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_es.ts deleted file mode 100644 index 5fd167187..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_es.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Tamaño - Dock - /personalization/Dock - - - - Multiple Displays - Múltiples pantallas - Dock - /personalization/Dock - - - - Plugin Area - Área de complementos - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Seleccionar los iconos que aparecen en el Dock - - - - - Fashion mode - Modo elegante - - - - - Efficient mode - Modo eficiente - - - - Mode - Modo - Dock - /personalization/Dock - - - - - Top - Arriba - - - - - Bottom - Abajo - - - - - Left - Izquierda - - - - - Right - Derecha - - - - Location - Ubicación - Dock - /personalization/Dock - - - - - Keep shown - Mantener visible - - - - - Keep hidden - Mantener oculto - - - - - Smart hide - Ocultar inteligentemente - - - - Status - Estado - Dock - /personalization/Dock - - - - Small - Pequeña - - - - Large - Grande - - - - - On screen where the cursor is - En la pantalla donde está el cursor - - - - - Only on main screen - Solo en la pantalla principal - - - - Show Dock - Mostrar el dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Modo - - - - Location - Ubicación - - - - Status - Estado - - - - Size - Tamaño - - - - Show Dock - Mostrar el dock - - - - Plugin Area - Área de complementos - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fi.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fi.ts deleted file mode 100644 index 5d5a9539f..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fi.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Koko - Dock - /personalization/Dock - - - - Multiple Displays - Useita näyttöjä - Dock - /personalization/Dock - - - - Plugin Area - Laajennusalue - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Valitse mitkä kuvakkeet näkyvät telakassa - - - - - Fashion mode - Muodikas - - - - - Efficient mode - Tehokas - - - - Mode - Tila - Dock - /personalization/Dock - - - - - Top - Ylhäällä - - - - - Bottom - Alhaalla - - - - - Left - Vasen - - - - - Right - Oikea - - - - Location - Sijainti - Dock - /personalization/Dock - - - - - Keep shown - Näytä aina - - - - - Keep hidden - Pidä piilossa - - - - - Smart hide - Älykäs piilotus - - - - Status - Tila - Dock - /personalization/Dock - - - - Small - Pieni - - - - Large - Suuri - - - - - On screen where the cursor is - Näytöllä, jossa kohdistin on - - - - - Only on main screen - Vain päänäytöllä - - - - Show Dock - Näytä telakka - - - - SettingsModule - - - - - Dock - Telakka - - - - Mode - Tila - - - - Location - Sijainti - - - - Status - Tila - - - - Size - Koko - - - - Show Dock - Näytä telakka - - - - Plugin Area - Laajennusalue - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fr.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fr.ts deleted file mode 100644 index f37f7ad2e..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_fr.ts +++ /dev/null @@ -1,130 +0,0 @@ - - - ModuleWidget - - - Size - Taille - - - - Multiple Displays - Affichages multiples - - - - Plugin Area - - - - - Select which icons appear in the Dock - - - - - - Fashion mode - Mode dock - - - - - Efficient mode - Mode étendu - - - - Mode - Mode - - - - - Top - Haut - - - - - Bottom - Bas - - - - - Left - Gauche - - - - - Right - Droite - - - - Location - Emplacement - - - - - Keep shown - - - - - - Keep hidden - Maintenir caché - - - - - Smart hide - Masquer intelligemment - - - - Status - Statut - - - - Small - Petit - - - - Large - Grand - - - - - On screen where the cursor is - Sur l'écran où se trouve le curseur - - - - - Only on main screen - Uniquement sur l'écran principal - - - - Show Dock - - - - - SettingsModule - - - Dock - Dock - /personalization/Dock - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hr.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hr.ts deleted file mode 100644 index 6af61048f..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hr.ts +++ /dev/null @@ -1,130 +0,0 @@ - - - ModuleWidget - - - Size - Veličina - - - - Multiple Displays - Višestruki zasloni - - - - Plugin Area - - - - - Select which icons appear in the Dock - - - - - - Fashion mode - Moderan način - - - - - Efficient mode - Učinkoviti način - - - - Mode - Način - - - - - Top - Gore - - - - - Bottom - Dolje - - - - - Left - Lijevo - - - - - Right - Desno - - - - Location - Lokacija - - - - - Keep shown - Drži prikazano - - - - - Keep hidden - Drži skriveno - - - - - Smart hide - Pametno skrivanje - - - - Status - Status - - - - Small - Maleno - - - - Large - Veliko - - - - - On screen where the cursor is - Na zaslon gdje je pokazivač - - - - - Only on main screen - Samo na glavni zaslon - - - - Show Dock - - - - - SettingsModule - - - Dock - - /personalization/Dock - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hu.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hu.ts deleted file mode 100644 index 8f902fda1..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_hu.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Méret - Dock - /personalization/Dock - - - - Multiple Displays - Többképernyős mód - Dock - /personalization/Dock - - - - Plugin Area - Bővítmény terület - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Válassza ki, hogy mely ikonok jelenjenek meg a dokkolóban - - - - - Fashion mode - Stílusos mód - - - - - Efficient mode - Hatékony mód - - - - Mode - Mód - Dock - /personalization/Dock - - - - - Top - Fent - - - - - Bottom - Lent - - - - - Left - Bal - - - - - Right - Jobb - - - - Location - Hely - Dock - /personalization/Dock - - - - - Keep shown - Megjelenítve tartás - - - - - Keep hidden - Maradjon rejtett - - - - - Smart hide - Intelligens elrejtés - - - - Status - Állapot - Dock - /personalization/Dock - - - - Small - Kicsi - - - - Large - Nagy - - - - - On screen where the cursor is - A képernyőn, ahol a kurzor található - - - - - Only on main screen - Csak a főképernyőn - - - - Show Dock - Dokkoló mutatása - - - - SettingsModule - - - - - Dock - Dokkoló - - - - Mode - Mód - - - - Location - Hely - - - - Status - Állapot - - - - Size - Méret - - - - Show Dock - Dokkoló mutatása - - - - Plugin Area - Bővítmény terület - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_it.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_it.ts deleted file mode 100644 index a0911d92d..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_it.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Dimensione - Dock - /personalization/Dock - - - - Multiple Displays - Display multipli - Dock - /personalization/Dock - - - - Plugin Area - Area plugin - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Seleziona quali icone appaiono nel Dock - - - - - Fashion mode - Modalità Fashion - - - - - Efficient mode - Modalità Efficient - - - - Mode - Modalità - Dock - /personalization/Dock - - - - - Top - Sopra - - - - - Bottom - Sotto - - - - - Left - Sinistra - - - - - Right - Destra - - - - Location - Posizione - Dock - /personalization/Dock - - - - - Keep shown - Mostra sempre - - - - - Keep hidden - Lascia nascosta - - - - - Smart hide - Nascondi automaticamente - - - - Status - Comportamento - Dock - /personalization/Dock - - - - Small - Piccolo - - - - Large - Grande - - - - - On screen where the cursor is - Sullo schermo dove è presente il cursore - - - - - Only on main screen - Solo sullo schermo principale - - - - Show Dock - Mostra la Dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Modalità - - - - Location - Posizione - - - - Status - Comportamento - - - - Size - Dimensioni - - - - Show Dock - Mostra la Dock - - - - Plugin Area - Area plugin - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ms.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ms.ts deleted file mode 100644 index ec70d1a43..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ms.ts +++ /dev/null @@ -1,130 +0,0 @@ - - - ModuleWidget - - - Size - Saiz - - - - Multiple Displays - Paparan Berbilang - - - - Plugin Area - - - - - Select which icons appear in the Dock - - - - - - Fashion mode - Mod fesyen - - - - - Efficient mode - Mod efisyen - - - - Mode - Mod - - - - - Top - Teratas - - - - - Bottom - Bawah - - - - - Left - Kiri - - - - - Right - Kanan - - - - Location - Lokasi - - - - - Keep shown - - - - - - Keep hidden - Kekal tersembunyi - - - - - Smart hide - Sembunyi pintar - - - - Status - Status - - - - Small - Kecil - - - - Large - Besar - - - - - On screen where the cursor is - Atas skrin yang mana kursor berada - - - - - Only on main screen - Hanya dalam skrin utama - - - - Show Dock - - - - - SettingsModule - - - Dock - Labuh - /personalization/Dock - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_nl.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_nl.ts deleted file mode 100644 index 2748b27c4..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_nl.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Grootte - Dock - /personalization/Dock - - - - Multiple Displays - Meerdere beeldschermen - Dock - /personalization/Dock - - - - Plugin Area - Invoegtoepassingsgebied - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Geef aan welke pictogrammen moeten worden getoond op het dock - - - - - Fashion mode - Moderne modus - - - - - Efficient mode - Efficiënte modus - - - - Mode - Modus - Dock - /personalization/Dock - - - - - Top - Bovenaan - - - - - Bottom - Onderaan - - - - - Left - Links - - - - - Right - Rechts - - - - Location - Locatie - Dock - /personalization/Dock - - - - - Keep shown - Altijd tonen - - - - - Keep hidden - Altijd verbergen - - - - - Smart hide - Slim verbergen - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Klein - - - - Large - Groot - - - - - On screen where the cursor is - Op het scherm waar de cursor is - - - - - Only on main screen - Alleen op hoofdscherm - - - - Show Dock - Dock tonen - - - - SettingsModule - - - - - Dock - Vastmaken - - - - Mode - Modus - - - - Location - Locatie - - - - Status - Status - - - - Size - Grootte - - - - Show Dock - Dock tonen - - - - Plugin Area - Invoegtoepassingsgebied - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pl.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pl.ts deleted file mode 100644 index 0b2da01b6..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pl.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Rozmiar - Dock - /personalization/Dock - - - - Multiple Displays - Wiele ekranów - Dock - /personalization/Dock - - - - Plugin Area - Strefa wtyczek - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Wybierz, które wtyczki pojawią się w Doku - - - - - Fashion mode - Tryb modny - - - - - Efficient mode - Tryb wydajny - - - - Mode - Tryb - Dock - /personalization/Dock - - - - - Top - Góra - - - - - Bottom - Dół - - - - - Left - Lewo - - - - - Right - Prawo - - - - Location - Położenie - Dock - /personalization/Dock - - - - - Keep shown - Zawsze wyświetlaj - - - - - Keep hidden - Zawsze ukrywaj - - - - - Smart hide - Inteligentne ukrywanie - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Mały - - - - Large - Ogromny - - - - - On screen where the cursor is - Na ekranie, tam gdzie jest kursor - - - - - Only on main screen - Tylko na ekranie głównym - - - - Show Dock - Pokaż dok - - - - SettingsModule - - - - - Dock - Dok - - - - Mode - Tryb - - - - Location - Położenie - - - - Status - Status - - - - Size - Rozmiar - - - - Show Dock - Pokaż dok - - - - Plugin Area - Strefa wtyczek - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt.ts deleted file mode 100644 index ceb75afbb..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Tamanho - Dock - /personalization/Dock - - - - Multiple Displays - Vários ecrãs - Dock - /personalization/Dock - - - - Plugin Area - Área de plugins - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Selecione quais os ícones que aparecem na Doca - - - - - Fashion mode - Modo Elegante - - - - - Efficient mode - Modo eficiente - - - - Mode - Modo - Dock - /personalization/Dock - - - - - Top - Superior - - - - - Bottom - Inferior - - - - - Left - Esquerda - - - - - Right - Direita - - - - Location - Localização - Dock - /personalization/Dock - - - - - Keep shown - Manter visível - - - - - Keep hidden - Manter ocultada - - - - - Smart hide - Ocultação inteligente - - - - Status - Estado - Dock - /personalization/Dock - - - - Small - Pequeno - - - - Large - Grande - - - - - On screen where the cursor is - No ecrã onde se encontra o cursor - - - - - Only on main screen - Apenas no ecrã principal - - - - Show Dock - Mostrar Doca - - - - SettingsModule - - - - - Dock - Doca - - - - Mode - Modo - - - - Location - Localização - - - - Status - Estado - - - - Size - Tamanho - - - - Show Dock - Mostrar Doca - - - - Plugin Area - Área de plugins - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt_BR.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt_BR.ts deleted file mode 100644 index 5b39d544a..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_pt_BR.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Size - Dock - /personalization/Dock - - - - Multiple Displays - Multiple Displays - Dock - /personalization/Dock - - - - Plugin Area - Plugin Area - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Select which icons appear in the Dock - - - - - Fashion mode - Fashion mode - - - - - Efficient mode - Efficient mode - - - - Mode - Mode - Dock - /personalization/Dock - - - - - Top - Top - - - - - Bottom - Bottom - - - - - Left - Left - - - - - Right - Right - - - - Location - Location - Dock - /personalization/Dock - - - - - Keep shown - Keep shown - - - - - Keep hidden - Keep hidden - - - - - Smart hide - Smart hide - - - - Status - Status - Dock - /personalization/Dock - - - - Small - Small - - - - Large - Large - - - - - On screen where the cursor is - On screen where the cursor is - - - - - Only on main screen - Only on main screen - - - - Show Dock - Show Dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Mode - - - - Location - Location - - - - Status - Status - - - - Size - Tamanho - - - - Show Dock - Show Dock - - - - Plugin Area - Plugin Area - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ru.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ru.ts deleted file mode 100644 index 4f8e4f717..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ru.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Размер - Dock - /personalization/Dock - - - - Multiple Displays - Несколько Дисплеев - Dock - /personalization/Dock - - - - Plugin Area - Область Плагина - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Выбрать какие значки будут отображаться в Dock - - - - - Fashion mode - Стильный режим - - - - - Efficient mode - Эффективный режим - - - - Mode - Режим - Dock - /personalization/Dock - - - - - Top - На верху - - - - - Bottom - Внизу - - - - - Left - Слева - - - - - Right - Справа - - - - Location - Расположение - Dock - /personalization/Dock - - - - - Keep shown - Отображать - - - - - Keep hidden - Скрывать - - - - - Smart hide - Умное скрытие - - - - Status - Статус - Dock - /personalization/Dock - - - - Small - Маленький - - - - Large - Большой - - - - - On screen where the cursor is - На экране, где находится курсор - - - - - Only on main screen - Только на главном экране - - - - Show Dock - Показывать Dock - - - - SettingsModule - - - - - Dock - Dock - - - - Mode - Режим - - - - Location - Расположение - - - - Status - Статус - - - - Size - Размер - - - - Show Dock - Показывать Dock - - - - Plugin Area - Область Плагина - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_sq.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_sq.ts deleted file mode 100644 index cdd55f008..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_sq.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Madhësi - Dock - /personalization/Dock - - - - Multiple Displays - Shumë Ekrane - Dock - /personalization/Dock - - - - Plugin Area - Zonë Shtojcash - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Përzgjidhni cilat ikona shfaqen te Paneli - - - - - Fashion mode - Mënyra “Në modë” - - - - - Efficient mode - Mënyra efikasitet - - - - Mode - Mënyrë - Dock - /personalization/Dock - - - - - Top - Në Krye - - - - - Bottom - Në Fund - - - - - Left - Majtas - - - - - Right - Djathtas - - - - Location - Vendndodhje - Dock - /personalization/Dock - - - - - Keep shown - Mbaje të shfaqur - - - - - Keep hidden - Mbaje të fshehur - - - - - Smart hide - Fshehje e mençur - - - - Status - Gjendje - Dock - /personalization/Dock - - - - Small - I vogël - - - - Large - I madh - - - - - On screen where the cursor is - Në ekranin ku është kursori - - - - - Only on main screen - Vetëm në ekranin kryesor - - - - Show Dock - Shfaqe Panelin - - - - SettingsModule - - - - - Dock - Panel - - - - Mode - Mënyrë - - - - Location - Vendndodhje - - - - Status - Gjendje - - - - Size - Madhësi - - - - Show Dock - Shfaqe Panelin - - - - Plugin Area - Zonë Shtojcash - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_tr.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_tr.ts deleted file mode 100644 index 13821aac2..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_tr.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Boyut - Dock - /personalization/Dock - - - - Multiple Displays - Çoklu Ekran - Dock - /personalization/Dock - - - - Plugin Area - Eklenti Alanı - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Rıhtım'da hangi simgelerin görüneceğini seçin - - - - - Fashion mode - Moda Kip - - - - - Efficient mode - Verimli Kip - - - - Mode - Kip - Dock - /personalization/Dock - - - - - Top - Üst - - - - - Bottom - Alt - - - - - Left - Sol - - - - - Right - Sağ - - - - Location - Konum - Dock - /personalization/Dock - - - - - Keep shown - Gösterilmeyi sürdür - - - - - Keep hidden - Gizli tut - - - - - Smart hide - Akıll gizle - - - - Status - Durum - Dock - /personalization/Dock - - - - Small - Küçük - - - - Large - Büyük - - - - - On screen where the cursor is - İmlecin bulunduğu ekranda - - - - - Only on main screen - Sadece ana ekranda - - - - Show Dock - Rıhtımı Göster - - - - SettingsModule - - - - - Dock - Rıhtım - - - - Mode - Kip - - - - Location - Konum - - - - Status - Durum - - - - Size - Boyut - - - - Show Dock - Rıhtımı Göster - - - - Plugin Area - Eklenti Alanı - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ug.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ug.ts deleted file mode 100644 index 618b3b8e5..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_ug.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - چوڭلۇقى - Dock - /personalization/Dock - - - - Multiple Displays - كۆپ ئېكرانلىق كۆرسىتىش تەڭشىكى - Dock - /personalization/Dock - - - - Plugin Area - قىستۇرما رايونى - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - ۋەزىپە ئىستونى قىستۇرما رايونىدا كۆرسىتىلىدىغان سىنبەلگىنى تاللاڭ - - - - - Fashion mode - مودا ھالەت - - - - - Efficient mode - يۇقىرى ئۈنۈملۈك ھالەت - - - - Mode - ھالىتى - Dock - /personalization/Dock - - - - - Top - ئۈستى - - - - - Bottom - ئاستى - - - - - Left - سول - - - - - Right - ئوڭ - - - - Location - ئورنى - Dock - /personalization/Dock - - - - - Keep shown - داۋاملىق كۆرسىتىش - - - - - Keep hidden - داۋاملىق يوشۇرۇش - - - - - Smart hide - ئەقلىي يوشۇرۇش - - - - Status - ھالىتى - Dock - /personalization/Dock - - - - Small - كىچىك - - - - Large - چوڭ - - - - - On screen where the cursor is - مائۇسنىڭ ئورنىغا ئەگىشىپ كۆرۈنسۇن - - - - - Only on main screen - ئاساسىي ئېكراندىلا كۆرۈنسۇن - - - - Show Dock - ۋەزىپە ئىستونىنىڭ ئورنى - - - - SettingsModule - - - - - Dock - ۋەزىپە ئىستونى - - - - Mode - ھالىتى - - - - Location - ئورنى - - - - Status - ھالىتى - - - - Size - چوڭلۇقى - - - - Show Dock - ۋەزىپە ئىستونىنىڭ ئورنى - - - - Plugin Area - قىستۇرما رايونى - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_uk.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_uk.ts deleted file mode 100644 index b2dcd7e43..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_uk.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - Розмір - Dock - /personalization/Dock - - - - Multiple Displays - Кілька дисплеїв - Dock - /personalization/Dock - - - - Plugin Area - Область додатків - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - Виберіть, які піктограми буде показано на бічній панелі - - - - - Fashion mode - Модний режим - - - - - Efficient mode - Ефективний режим - - - - Mode - Режим - Dock - /personalization/Dock - - - - - Top - Вгорі - - - - - Bottom - Внизу - - - - - Left - Ліворуч - - - - - Right - Праворуч - - - - Location - Розташування - Dock - /personalization/Dock - - - - - Keep shown - Показувати постійно - - - - - Keep hidden - Залишати прихованим - - - - - Smart hide - Розумне приховування - - - - Status - Стан - Dock - /personalization/Dock - - - - Small - Малий - - - - Large - Великий - - - - - On screen where the cursor is - На екрані, де перебуває вказівник - - - - - Only on main screen - Лише на головному екрані - - - - Show Dock - Показувати панель - - - - SettingsModule - - - - - Dock - Панель - - - - Mode - Режим - - - - Location - Розташування - - - - Status - Стан - - - - Size - Розмір - - - - Show Dock - Показувати панель - - - - Plugin Area - Область додатків - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_CN.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_CN.ts deleted file mode 100644 index 66bcf32f8..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_CN.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - 大小 - Dock - /personalization/Dock - - - - Multiple Displays - 多屏显示设置 - Dock - /personalization/Dock - - - - Plugin Area - 插件区域 - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - 选择显示在任务栏插件区域的图标 - - - - - Fashion mode - 时尚模式 - - - - - Efficient mode - 高效模式 - - - - Mode - 模式 - Dock - /personalization/Dock - - - - - Top - - - - - - Bottom - - - - - - Left - - - - - - Right - - - - - Location - 位置 - Dock - /personalization/Dock - - - - - Keep shown - 一直显示 - - - - - Keep hidden - 一直隐藏 - - - - - Smart hide - 智能隐藏 - - - - Status - 状态 - Dock - /personalization/Dock - - - - Small - - - - - Large - - - - - - On screen where the cursor is - 跟随鼠标位置显示 - - - - - Only on main screen - 仅主屏显示 - - - - Show Dock - 任务栏位置 - - - - SettingsModule - - - - - Dock - 任务栏 - - - - Mode - 模式 - - - - Location - 位置 - - - - Status - 状态 - - - - Size - 大小 - - - - Show Dock - 任务栏位置 - - - - Plugin Area - 插件区域 - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_HK.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_HK.ts deleted file mode 100644 index 145c7c10f..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_HK.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - 大小 - Dock - /personalization/Dock - - - - Multiple Displays - 多屏顯示設置 - Dock - /personalization/Dock - - - - Plugin Area - 插件區域 - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - 選擇顯示在任務欄插件區域的圖標 - - - - - Fashion mode - 時尚模式 - - - - - Efficient mode - 高效模式 - - - - Mode - 模式 - Dock - /personalization/Dock - - - - - Top - - - - - - Bottom - - - - - - Left - - - - - - Right - - - - - Location - 位置 - Dock - /personalization/Dock - - - - - Keep shown - 一直顯示 - - - - - Keep hidden - 一直隱藏 - - - - - Smart hide - 智能隱藏 - - - - Status - 狀態 - Dock - /personalization/Dock - - - - Small - - - - - Large - - - - - - On screen where the cursor is - 跟隨鼠標位置顯示 - - - - - Only on main screen - 僅主屏顯示 - - - - Show Dock - 任務欄位置 - - - - SettingsModule - - - - - Dock - 任務欄 - - - - Mode - 模式 - - - - Location - 位置 - - - - Status - 狀態 - - - - Size - 大小 - - - - Show Dock - 任務欄位置 - - - - Plugin Area - 插件區域 - - - \ No newline at end of file diff --git a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_TW.ts b/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_TW.ts deleted file mode 100644 index 3aaf10bc5..000000000 --- a/plugins/dcc-dock-plugin/translations/dcc-dock-plugin_zh_TW.ts +++ /dev/null @@ -1,173 +0,0 @@ - - - ModuleWidget - - - Size - 大小 - Dock - /personalization/Dock - - - - Multiple Displays - 多屏顯示設定 - Dock - /personalization/Dock - - - - Plugin Area - 外掛程式區域 - Dock - /personalization/Dock - - - - Select which icons appear in the Dock - 選擇顯示在任務欄外掛程式區域的圖示 - - - - - Fashion mode - 時尚模式 - - - - - Efficient mode - 高效模式 - - - - Mode - 模式 - Dock - /personalization/Dock - - - - - Top - 頂部 - - - - - Bottom - 底部 - - - - - Left - 左側 - - - - - Right - 右側 - - - - Location - 位置 - Dock - /personalization/Dock - - - - - Keep shown - 永遠顯示 - - - - - Keep hidden - 永遠隱藏 - - - - - Smart hide - 智慧隱藏 - - - - Status - 狀態 - Dock - /personalization/Dock - - - - Small - - - - - Large - - - - - - On screen where the cursor is - 跟隨滑鼠位置顯示 - - - - - Only on main screen - 僅主屏顯示 - - - - Show Dock - 任務欄位置 - - - - SettingsModule - - - - - Dock - 任務欄 - - - - Mode - 模式 - - - - Location - 位置 - - - - Status - 狀態 - - - - Size - 大小 - - - - Show Dock - 任務欄位置 - - - - Plugin Area - 外掛程式區域 - - - \ No newline at end of file