58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "UPower",
|
|
"module": "Quickshell.Services.UPower",
|
|
"type": "class",
|
|
"super": {
|
|
"type": "qt",
|
|
"module": "qml.QtQml",
|
|
"name": "QtObject"
|
|
},
|
|
"description": null,
|
|
"details": null,
|
|
"flags": [
|
|
"singleton"
|
|
],
|
|
"properties": {
|
|
"onBattery": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "bool"
|
|
},
|
|
"details": "If the system is currently running on battery power, or discharging.\n",
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"devices": {
|
|
"type": {
|
|
"type": "local",
|
|
"module": "Quickshell",
|
|
"name": "ObjectModel",
|
|
"of": {
|
|
"type": "local",
|
|
"module": "Quickshell.Services.UPower",
|
|
"name": "UPowerDevice"
|
|
}
|
|
},
|
|
"details": "All connected UPower devices.\n",
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"displayDevice": {
|
|
"type": {
|
|
"type": "local",
|
|
"module": "Quickshell.Services.UPower",
|
|
"name": "UPowerDevice"
|
|
},
|
|
"details": "UPower's DisplayDevice for your system. Can be `null`.\n\nThis is an aggregate device and not a physical one, meaning you will not find it in {{< qmltypelink type=\"\" module=\"\" name=\"\" mtype=\"prop\" mname=\"devices\" >}}.\nIt is typically the device that is used for displaying information in desktop environments.\n",
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
}
|
|
},
|
|
"functions": [],
|
|
"signals": {},
|
|
"variants": {}
|
|
} |