57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
|
{
|
||
|
"name": "DesktopEntries",
|
||
|
"module": "Quickshell",
|
||
|
"type": "class",
|
||
|
"super": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQml",
|
||
|
"name": "QtObject"
|
||
|
},
|
||
|
"description": "Desktop entry index.",
|
||
|
"details": "Index of desktop entries according to the [desktop entry specification].\n\nPrimarily useful for looking up icons and metadata from an id, as there is\ncurrently no mechanism for usage based sorting of entries and other launcher niceties.\n\n[desktop entry specification]: https://specifications.freedesktop.org/desktop-entry-spec/latest/\n",
|
||
|
"flags": [
|
||
|
"singleton"
|
||
|
],
|
||
|
"properties": {
|
||
|
"applications": {
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "ObjectModel",
|
||
|
"of": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "DesktopEntry"
|
||
|
}
|
||
|
},
|
||
|
"details": "All desktop entries of type Application that are not Hidden or NoDisplay.\n",
|
||
|
"flags": [
|
||
|
"readonly"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"functions": [
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "DesktopEntry"
|
||
|
},
|
||
|
"name": "byId",
|
||
|
"id": "byId",
|
||
|
"details": "Look up a desktop entry by name. Includes NoDisplay entries. May return null.\n",
|
||
|
"params": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "string"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"signals": {},
|
||
|
"variants": {}
|
||
|
}
|