mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
actually start applications
This commit is contained in:
parent
4239cf0fae
commit
37fa14740c
1 changed files with 6 additions and 1 deletions
|
|
@ -1,14 +1,19 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
|
import org.kde.kio 1.0 as Kio
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: root
|
id: root
|
||||||
width: applications.cellWidth
|
width: applications.cellWidth
|
||||||
height: width
|
height: width
|
||||||
onClicked: {
|
onClicked: {
|
||||||
console.log("Clicked: " + width)
|
console.log("Clicked: " + model.entryPath)
|
||||||
|
krun.openUrl(model.entryPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Kio.KRun {
|
||||||
|
id: krun
|
||||||
|
}
|
||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
id: icon
|
id: icon
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue