feat: add support for Plasma 6

This commit is contained in:
Kai Folf 2024-05-21 11:54:37 +07:00
parent ee5fdcdacf
commit e22066cdcb
Signed by: folfcoder
SSH key fingerprint: SHA256:Nwn09jQSW0yjKdDkM042MUSWzLnwGQaWUwtlCg8CHbs
3 changed files with 11 additions and 11 deletions

View file

@ -1,8 +1,8 @@
// configGeneral.qml
import QtQuick 2.0
import QtQuick.Controls 2.5
import QtQuick.Layouts 1.12
import org.kde.kirigami 2.4 as Kirigami
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.1
import org.kde.kirigami 2.5 as Kirigami
Item {
id: page

View file

@ -1,14 +1,14 @@
import QtQuick 2.12
import QtQuick.Layouts 1.12
import QtQuick 2.15
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.5
import QtMultimedia 5.15
import QtMultimedia 6.7
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
Item {
PlasmoidItem {
Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground
Plasmoid.fullRepresentation: Item {
fullRepresentation: Item {
Layout.minimumWidth: 100
Layout.minimumHeight: 100
Layout.preferredWidth: 200

View file

@ -8,7 +8,7 @@
],
"Category": "Fun and Games",
"Description": "The Sharkle widget, as featured in Night in the Woods, now on KDE Plasma!",
"Icon": "./icon.png",
"Icon": "icons/lockers.svg",
"Id": "im.fcd.sharkle",
"License": "GPLv3",
"Name": "Sharkle",
@ -18,7 +18,7 @@
"Version": "1.0",
"Website": "https://github.com/folfcoder/plasma-sharkle"
},
"X-Plasma-API": "declarativeappletscript",
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-MainScript": "ui/main.qml",
"KPackageStructure": "Plasma/Applet",
"X-Plasma-StandAloneApp": true