Warning, /network/kdeconnect-kde/plugins/clipboard/kdeconnect_clipboard_config.qml is written in an unsupported language. File is not indexed.
0001 /** 0002 * SPDX-FileCopyrightText: 2022 Yuchen Shi <bolshaya_schists@mail.gravitide.co> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 import QtQuick 2.15 0008 import QtQuick.Controls 2.15 as QQC2 0009 import QtQuick.Layouts 1.15 0010 import org.kde.kirigami 2.20 as Kirigami 0011 import org.kde.kdeconnect 1.0 0012 0013 Kirigami.FormLayout { 0014 0015 property string device 0016 0017 KdeConnectPluginConfig { 0018 id: config 0019 deviceId: device 0020 pluginName: "kdeconnect_clipboard" 0021 } 0022 0023 Component.onCompleted: { 0024 autoShare.checked = config.getBool("autoShare", config.getBool("sendUnknown", true)) 0025 password.checked = config.getBool("sendPassword", true) 0026 } 0027 0028 QQC2.CheckBox { 0029 id: autoShare 0030 text: i18n("Automatically share the clipboard from this device") 0031 onClicked: config.set("autoShare", checked) 0032 } 0033 0034 QQC2.CheckBox { 0035 id: password 0036 text: i18n("Including passwords (as marked by password managers)") 0037 onClicked: config.set("sendPassword", checked) 0038 } 0039 0040 }