__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* SPDX-FileCopyrightText: 2019 Nicolas Fella <nicolas.fella@gmx.de>
*
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts 1.15
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kdeconnect 1.0
Kirigami.ScrollablePage {
property string device
Kirigami.FormLayout {
KdeConnectPluginConfig {
id: config
deviceId: device
pluginName: "kdeconnect_pausemusic"
}
Component.onCompleted: {
talking.checked = config.getBool("conditionTalking", false)
mute.checked = config.getBool("actionMute", false)
pause.checked = config.getBool("actionPause", true)
resume.checked = config.getBool("actionResume", true)
}
QQC2.RadioButton {
text: i18n("Pause as soon as phone rings")
checked: !talking.checked
focus: true
KeyNavigation.down: talking
}
QQC2.RadioButton {
id: talking
onCheckedChanged: config.set("conditionTalking", checked)
text: i18n("Pause only while talking")
KeyNavigation.down: pause
}
QQC2.CheckBox {
id: pause
text: i18n("Pause media players")
onClicked: config.set("actionPause", checked)
KeyNavigation.down: mute
}
QQC2.CheckBox {
id: mute
text: i18n("Mute system sound")
onClicked: config.set("actionMute", checked)
KeyNavigation.down: resume
}
QQC2.CheckBox {
id: resume
text: i18n("Resume automatically when call ends")
onClicked: config.set("actionResume", checked)
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| kdeconnect_clipboard_config.qml | File | 1.2 KB | 0644 |
|
| kdeconnect_findthisdevice_config.qml | File | 2.41 KB | 0644 |
|
| kdeconnect_pausemusic_config.qml | File | 1.81 KB | 0644 |
|
| kdeconnect_runcommand_config.qml | File | 5.2 KB | 0644 |
|
| kdeconnect_sendnotifications_config.qml | File | 1.75 KB | 0644 |
|
| kdeconnect_share_config.qml | File | 1.68 KB | 0644 |
|