This commit is contained in:
Valeria Fadeeva 2024-04-17 10:38:53 +05:00
parent 0e7c5ea77b
commit 252201dce5
9 changed files with 37 additions and 38 deletions

View File

@ -1,8 +1,10 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
import org.kde.plasma.core 2.1 as PlasmaCore import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.plasmoid
import org.kde.plasma.plasma5support as Plasma5Support
PlasmaCore.DataSource { PlasmaCore.DataSource {
id: executable id: executable

View File

@ -1,6 +1,6 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
Item { Item {

View File

@ -1,4 +1,5 @@
import org.kde.plasma.configuration 2.0 import QtQuick
import org.kde.plasma.configuration
ConfigModel { ConfigModel {
ConfigCategory { ConfigCategory {

View File

@ -1,9 +1,9 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
import org.kde.plasma.core 2.1 as PlasmaCore import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid
Item { Item {
function checkUpdates() { function checkUpdates() {

View File

@ -1,8 +1,8 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid
Item { Item {
id: compactRep id: compactRep

View File

@ -1,8 +1,8 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid
Item { Item {
id: fullRep id: fullRep

View File

@ -1,7 +1,7 @@
import QtQml 2.0 import QtQml
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
ColumnLayout { ColumnLayout {
Layout.fillHeight: true Layout.fillHeight: true

View File

@ -1,9 +1,9 @@
import QtQuick 2.15 import QtQuick
import QtQuick.Layouts 1.15 import QtQuick.Layouts
import QtQuick.Controls 2.15 import QtQuick.Controls
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid
import org.kde.plasma.core 2.1 as PlasmaCore import org.kde.plasma.core as PlasmaCore
import "../_toolbox" as Tb import "../_toolbox" as Tb
import "../service" as Sv import "../service" as Sv

View File

@ -1,4 +1,5 @@
{ {
"KPackageStructure": "Plasma/Applet",
"KPlugin": { "KPlugin": {
"Authors": [ "Authors": [
{ {
@ -8,7 +9,6 @@
"Name[x-test]": "xxValeria Fadeevaxx" "Name[x-test]": "xxValeria Fadeevaxx"
} }
], ],
"Category": "System Information", "Category": "System Information",
"Name": "Arch Linux Update", "Name": "Arch Linux Update",
"Name[ru]": "Обновления Arch Linux", "Name[ru]": "Обновления Arch Linux",
@ -21,17 +21,13 @@
"Icon": "preferences-desktop", "Icon": "preferences-desktop",
"Id": "com.github.Melawy.ArchUpdate", "Id": "com.github.Melawy.ArchUpdate",
"License": "AGPLv3", "License": "AGPLv3",
"Depends": ["konsole", "pacman-contrib", "paru"],
"ServiceTypes": [ "Version": "2.0",
"Plasma/Applet"
],
"Version": "1.0",
"Website": "https://github.com/Valeria-Fadeeva" "Website": "https://github.com/Valeria-Fadeeva"
}, },
"X-Plasma-API": "declarativeappletscript", "X-Plasma-API": "declarativeappletscript",
"X-Plasma-MainScript": "ui/main.qml", "X-Plasma-MainScript": "ui/main.qml",
"X-Plasma-NotificationArea": "true", "X-Plasma-NotificationArea": "true",
"X-Plasma-NotificationAreaCategory": "Software" "X-Plasma-NotificationAreaCategory": "SystemServices",
"X-Plasma-API-Minimum-Version": "6.0"
} }