fix(ci): Update Qt version to latest
Upstream pin check / quickshell-pin (push) Successful in 46s
Tests / tests (push) Failing after 2m54s

This commit is contained in:
alvinlollo
2026-10-08 18:19:34 +11:00
parent db83549996
commit 1e8a1e3282
144 changed files with 15764 additions and 25 deletions
@@ -1,4 +1,4 @@
_commit='7511545ee20664e3b8b8d3322c0ffe7567c56f7a'
_commit='11ca60be22b063478ed9586ca1d7f92f0f261caf'
# Useful links:
# https://git.outfoxxed.me/quickshell/quickshell/commits/branch/master
# https://aur.archlinux.org/packages/quickshell-git
@@ -8,7 +8,7 @@ _prefix='illogical-impulse'
_pkgname=quickshell
pkgname="$_prefix-$_pkgname-git"
pkgver=0.1.0.r1
pkgrel=8
pkgrel=9
pkgdesc="$_pkgname-git pinned commit and extra deps for $_prefix"
arch=(x86_64 aarch64)
url='https://git.outfoxxed.me/quickshell/quickshell'
@@ -0,0 +1,52 @@
# Generated by makepkg 7.1.0
# using fakeroot version 1.37.2
pkgname = illogical-impulse-quickshell-git
pkgbase = illogical-impulse-quickshell-git
xdata = pkgtype=pkg
pkgver = 0.1.0.r1-9
pkgdesc = quickshell-git pinned commit and extra deps for illogical-impulse
url = https://git.outfoxxed.me/quickshell/quickshell
builddate = 1791439825
packager = Unknown Packager
size = 198896342
arch = x86_64
license = LGPL-3.0-only
group = illogical-impulse
conflict = quickshell
conflict = quickshell-git
provides = quickshell
provides = quickshell-git
depend = cpptrace
depend = jemalloc
depend = mesa
depend = qt6-declarative
depend = qt6-base
depend = qt6-svg
depend = libdrm
depend = libpipewire
depend = libxcb
depend = wayland
depend = qt6-5compat
depend = qt6-avif-image-plugin
depend = qt6-imageformats
depend = qt6-multimedia
depend = qt6-positioning
depend = qt6-quicktimeline
depend = qt6-sensors
depend = qt6-svg
depend = qt6-tools
depend = qt6-translations
depend = qt6-virtualkeyboard
depend = qt6-wayland
depend = kirigami
depend = kdialog
depend = syntax-highlighting
makedepend = cli11
makedepend = cmake
makedepend = git
makedepend = ninja
makedepend = qt6-shadertools
makedepend = spirv-tools
makedepend = vulkan-headers
makedepend = wayland
makedepend = wayland-protocols
@@ -0,0 +1 @@
/usr/bin/quickshell
@@ -0,0 +1,8 @@
module Quickshell.Bluetooth
linktarget quickshell-bluetoothplugin
optional plugin quickshell-bluetoothplugin
classname Quickshell_BluetoothPlugin
typeinfo quickshell-bluetooth.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Bluetooth/
@@ -0,0 +1,411 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "adapter.hpp"
lineNumber: 57
name: "qs::bluetooth::BluetoothAdapter"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Bluetooth/BluetoothAdapter 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 0
lineNumber: 63
isReadonly: true
}
Property {
name: "enabled"
type: "bool"
read: "enabled"
write: "setEnabled"
notify: "enabledChanged"
index: 1
lineNumber: 65
}
Property {
name: "state"
type: "BluetoothAdapterState::Enum"
bindable: "bindableState"
read: "default"
notify: "stateChanged"
index: 2
lineNumber: 67
isReadonly: true
}
Property {
name: "discoverable"
type: "bool"
read: "discoverable"
write: "setDiscoverable"
notify: "discoverableChanged"
index: 3
lineNumber: 69
}
Property {
name: "discoverableTimeout"
type: "uint"
read: "discoverableTimeout"
write: "setDiscoverableTimeout"
notify: "discoverableTimeoutChanged"
index: 4
lineNumber: 72
}
Property {
name: "discovering"
type: "bool"
read: "discovering"
write: "setDiscovering"
notify: "discoveringChanged"
index: 5
lineNumber: 74
}
Property {
name: "pairable"
type: "bool"
read: "pairable"
write: "setPairable"
notify: "pairableChanged"
index: 6
lineNumber: 79
}
Property {
name: "pairableTimeout"
type: "uint"
read: "pairableTimeout"
write: "setPairableTimeout"
notify: "pairableTimeoutChanged"
index: 7
lineNumber: 82
}
Property {
name: "devices"
type: "UntypedObjectModel"
isPointer: true
read: "devices"
index: 8
lineNumber: 85
isReadonly: true
isPropertyConstant: true
}
Property {
name: "adapterId"
type: "QString"
read: "adapterId"
index: 9
lineNumber: 87
isReadonly: true
isPropertyConstant: true
}
Property {
name: "dbusPath"
type: "QString"
read: "path"
index: 10
lineNumber: 89
isReadonly: true
isPropertyConstant: true
}
Signal { name: "nameChanged"; lineNumber: 136 }
Signal { name: "enabledChanged"; lineNumber: 137 }
Signal { name: "stateChanged"; lineNumber: 138 }
Signal { name: "discoverableChanged"; lineNumber: 139 }
Signal { name: "discoverableTimeoutChanged"; lineNumber: 140 }
Signal { name: "discoveringChanged"; lineNumber: 141 }
Signal { name: "pairableChanged"; lineNumber: 142 }
Signal { name: "pairableTimeoutChanged"; lineNumber: 143 }
}
Component {
file: "adapter.hpp"
lineNumber: 15
name: "qs::bluetooth::BluetoothAdapterState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Bluetooth/BluetoothAdapterState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 21
values: [
"Disabled",
"Enabled",
"Enabling",
"Disabling",
"Blocked"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 35
Parameter { name: "state"; type: "BluetoothAdapterState::Enum" }
}
}
Component {
file: "device.hpp"
lineNumber: 55
name: "qs::bluetooth::BluetoothDevice"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Bluetooth/BluetoothDevice 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "address"
type: "QString"
bindable: "bindableAddress"
read: "default"
notify: "addressChanged"
index: 0
lineNumber: 61
isReadonly: true
}
Property {
name: "name"
type: "QString"
read: "name"
write: "setName"
notify: "nameChanged"
index: 1
lineNumber: 66
}
Property {
name: "deviceName"
type: "QString"
bindable: "bindableDeviceName"
read: "default"
notify: "deviceNameChanged"
index: 2
lineNumber: 69
isReadonly: true
}
Property {
name: "icon"
type: "QString"
bindable: "bindableIcon"
read: "default"
notify: "iconChanged"
index: 3
lineNumber: 71
isReadonly: true
}
Property {
name: "state"
type: "BluetoothDeviceState::Enum"
bindable: "bindableState"
read: "default"
notify: "stateChanged"
index: 4
lineNumber: 73
isReadonly: true
}
Property {
name: "connected"
type: "bool"
read: "connected"
write: "setConnected"
notify: "connectedChanged"
index: 5
lineNumber: 79
}
Property {
name: "paired"
type: "bool"
bindable: "bindablePaired"
read: "default"
notify: "pairedChanged"
index: 6
lineNumber: 83
isReadonly: true
}
Property {
name: "bonded"
type: "bool"
bindable: "bindableBonded"
read: "default"
notify: "bondedChanged"
index: 7
lineNumber: 85
isReadonly: true
}
Property {
name: "pairing"
type: "bool"
read: "pairing"
notify: "pairingChanged"
index: 8
lineNumber: 89
isReadonly: true
}
Property {
name: "trusted"
type: "bool"
read: "trusted"
write: "setTrusted"
notify: "trustedChanged"
index: 9
lineNumber: 92
}
Property {
name: "blocked"
type: "bool"
read: "blocked"
write: "setBlocked"
notify: "blockedChanged"
index: 10
lineNumber: 95
}
Property {
name: "wakeAllowed"
type: "bool"
read: "wakeAllowed"
write: "setWakeAllowed"
notify: "wakeAllowedChanged"
index: 11
lineNumber: 97
}
Property {
name: "batteryAvailable"
type: "bool"
read: "batteryAvailable"
notify: "batteryAvailableChanged"
index: 12
lineNumber: 99
isReadonly: true
}
Property {
name: "battery"
type: "double"
bindable: "bindableBattery"
read: "default"
notify: "batteryChanged"
index: 13
lineNumber: 101
isReadonly: true
}
Property {
name: "adapter"
type: "BluetoothAdapter"
isPointer: true
read: "adapter"
notify: "adapterChanged"
index: 14
lineNumber: 103
isReadonly: true
}
Property {
name: "dbusPath"
type: "QString"
read: "path"
index: 15
lineNumber: 105
isReadonly: true
isPropertyConstant: true
}
Signal { name: "addressChanged"; lineNumber: 167 }
Signal { name: "deviceNameChanged"; lineNumber: 168 }
Signal { name: "nameChanged"; lineNumber: 169 }
Signal { name: "connectedChanged"; lineNumber: 170 }
Signal { name: "stateChanged"; lineNumber: 171 }
Signal { name: "pairedChanged"; lineNumber: 172 }
Signal { name: "bondedChanged"; lineNumber: 173 }
Signal { name: "pairingChanged"; lineNumber: 174 }
Signal { name: "trustedChanged"; lineNumber: 175 }
Signal { name: "blockedChanged"; lineNumber: 176 }
Signal { name: "wakeAllowedChanged"; lineNumber: 177 }
Signal { name: "iconChanged"; lineNumber: 178 }
Signal { name: "batteryAvailableChanged"; lineNumber: 179 }
Signal { name: "batteryChanged"; lineNumber: 180 }
Signal { name: "adapterChanged"; lineNumber: 181 }
Method { name: "connect"; lineNumber: 112 }
Method { name: "disconnect"; lineNumber: 114 }
Method { name: "pair"; lineNumber: 118 }
Method { name: "cancelPair"; lineNumber: 120 }
Method { name: "forget"; lineNumber: 122 }
}
Component {
file: "device.hpp"
lineNumber: 14
name: "qs::bluetooth::BluetoothDeviceState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Bluetooth/BluetoothDeviceState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 20
values: [
"Disconnected",
"Connected",
"Disconnecting",
"Connecting"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 32
Parameter { name: "state"; type: "BluetoothDeviceState::Enum" }
}
}
Component {
file: "bluez.hpp"
lineNumber: 63
name: "qs::bluetooth::BluezQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Bluetooth/Bluetooth 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "defaultAdapter"
type: "BluetoothAdapter"
isPointer: true
bindable: "bindableDefaultAdapter"
read: "default"
notify: "defaultAdapterChanged"
index: 0
lineNumber: 69
isReadonly: true
}
Property {
name: "adapters"
type: "UntypedObjectModel"
isPointer: true
read: "adapters"
index: 1
lineNumber: 72
isReadonly: true
isPropertyConstant: true
}
Property {
name: "devices"
type: "UntypedObjectModel"
isPointer: true
read: "devices"
index: 2
lineNumber: 76
isReadonly: true
isPropertyConstant: true
}
Signal { name: "defaultAdapterChanged"; lineNumber: 80 }
}
}
@@ -0,0 +1,10 @@
module Quickshell.DBusMenu
linktarget quickshell-dbusmenuplugin
optional plugin quickshell-dbusmenuplugin
classname Quickshell_DBusMenuPlugin
typeinfo quickshell-dbusmenu.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/DBusMenu/
depends Quickshell
depends QtQuick
@@ -0,0 +1,67 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "dbusmenu.hpp"
lineNumber: 118
name: "qs::dbus::dbusmenu::DBusMenu"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.DBusMenu/DBusMenuHandle 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "menu"
type: "qs::dbus::dbusmenu::DBusMenuItem"
isPointer: true
read: "menu"
index: 0
lineNumber: 120
isReadonly: true
isPropertyConstant: true
}
Signal { name: "iconThemePathChanged"; lineNumber: 130 }
Method {
name: "onLayoutUpdated"
lineNumber: 146
Parameter { name: "revision"; type: "uint" }
Parameter { name: "parent"; type: "int" }
}
Method {
name: "onItemPropertiesUpdated"
lineNumber: 147
Parameter { name: "updatedProps"; type: "DBusMenuItemPropertiesList" }
Parameter { name: "removedProps"; type: "DBusMenuItemPropertyNamesList" }
}
}
Component {
file: "dbusmenu.hpp"
lineNumber: 48
name: "qs::dbus::dbusmenu::DBusMenuItem"
accessSemantics: "reference"
prototype: "QsMenuEntry"
exports: ["Quickshell.DBusMenu/DBusMenuItem 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "menuHandle"
type: "qs::dbus::dbusmenu::DBusMenu"
isPointer: true
read: "menuHandle"
index: 0
lineNumber: 51
isReadonly: true
isPropertyConstant: true
}
Signal { name: "layoutUpdated"; lineNumber: 92 }
Method { name: "sendOpened"; isMethodConstant: true; lineNumber: 95 }
Method { name: "sendClosed"; isMethodConstant: true; lineNumber: 96 }
Method { name: "sendTriggered"; isMethodConstant: true; lineNumber: 97 }
Method { name: "updateLayout"; isMethodConstant: true; lineNumber: 64 }
}
}
@@ -0,0 +1,10 @@
module Quickshell.Hyprland._FocusGrab
linktarget quickshell-hyprland-focus-grabplugin
optional plugin quickshell-hyprland-focus-grabplugin
classname Quickshell_Hyprland__FocusGrabPlugin
typeinfo quickshell-hyprland-focus-grab.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Hyprland/_FocusGrab/
depends Quickshell
depends QtQuick
@@ -0,0 +1,48 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 55
name: "qs::hyprland::HyprlandFocusGrab"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: ["Quickshell.Hyprland._FocusGrab/HyprlandFocusGrab 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "active"
type: "bool"
read: "isActive"
write: "setActive"
notify: "activeChanged"
index: 0
lineNumber: 68
}
Property {
name: "windows"
type: "QObjectList"
read: "windows"
write: "setWindows"
notify: "windowsChanged"
index: 1
lineNumber: 70
}
Signal { name: "cleared"; lineNumber: 90 }
Signal { name: "activeChanged"; lineNumber: 92 }
Signal { name: "windowsChanged"; lineNumber: 93 }
Method { name: "onGrabActivated"; lineNumber: 96 }
Method { name: "onGrabCleared"; lineNumber: 97 }
Method { name: "onProxyConnected"; lineNumber: 98 }
Method {
name: "onObjectDestroyed"
lineNumber: 99
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Hyprland._GlobalShortcuts
linktarget quickshell-hyprland-global-shortcutsplugin
optional plugin quickshell-hyprland-global-shortcutsplugin
classname Quickshell_Hyprland__GlobalShortcutsPlugin
typeinfo quickshell-hyprland-global-shortcuts.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Hyprland/_GlobalShortcuts/
depends QtQuick
@@ -0,0 +1,72 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 35
name: "qs::hyprland::global_shortcuts::GlobalShortcut"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.Hyprland._GlobalShortcuts/GlobalShortcut 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "pressed"
type: "bool"
read: "isPressed"
notify: "pressedChanged"
index: 0
lineNumber: 41
isReadonly: true
}
Property {
name: "appid"
type: "QString"
read: "appid"
write: "setAppid"
notify: "appidChanged"
index: 1
lineNumber: 47
}
Property {
name: "name"
type: "QString"
read: "name"
write: "setName"
notify: "nameChanged"
index: 2
lineNumber: 50
}
Property {
name: "description"
type: "QString"
read: "description"
write: "setDescription"
notify: "descriptionChanged"
index: 3
lineNumber: 53
}
Property {
name: "triggerDescription"
type: "QString"
read: "triggerDescription"
write: "setTriggerDescription"
notify: "triggerDescriptionChanged"
index: 4
lineNumber: 55
}
Signal { name: "pressed"; lineNumber: 82 }
Signal { name: "released"; lineNumber: 84 }
Signal { name: "pressedChanged"; lineNumber: 86 }
Signal { name: "appidChanged"; lineNumber: 87 }
Signal { name: "nameChanged"; lineNumber: 88 }
Signal { name: "descriptionChanged"; lineNumber: 89 }
Signal { name: "triggerDescriptionChanged"; lineNumber: 90 }
Method { name: "onPressed"; lineNumber: 93 }
Method { name: "onReleased"; lineNumber: 94 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Hyprland._Ipc
linktarget quickshell-hyprland-ipcplugin
optional plugin quickshell-hyprland-ipcplugin
classname Quickshell_Hyprland__IpcPlugin
typeinfo quickshell-hyprland-ipc.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Hyprland/_Ipc/
depends Quickshell
@@ -0,0 +1,538 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "connection.hpp"
lineNumber: 40
name: "qs::hyprland::ipc::HyprlandIpcEvent"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._Ipc/HyprlandEvent 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "name"
type: "QString"
read: "nameStr"
index: 0
lineNumber: 45
isReadonly: true
isPropertyConstant: true
}
Property {
name: "data"
type: "QString"
read: "dataStr"
index: 1
lineNumber: 47
isReadonly: true
isPropertyConstant: true
}
Method {
name: "parse"
type: "QString"
isList: true
isMethodConstant: true
lineNumber: 58
Parameter { name: "argumentCount"; type: "int" }
}
}
Component {
file: "qml.hpp"
lineNumber: 16
name: "qs::hyprland::ipc::HyprlandIpcQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._Ipc/Hyprland 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "usingLua"
type: "bool"
bindable: "bindableUsingLua"
read: "default"
notify: "usingLuaChanged"
index: 0
lineNumber: 22
isReadonly: true
}
Property {
name: "requestSocketPath"
type: "QString"
read: "requestSocketPath"
index: 1
lineNumber: 24
isReadonly: true
isPropertyConstant: true
}
Property {
name: "eventSocketPath"
type: "QString"
read: "eventSocketPath"
index: 2
lineNumber: 26
isReadonly: true
isPropertyConstant: true
}
Property {
name: "focusedMonitor"
type: "qs::hyprland::ipc::HyprlandMonitor"
isPointer: true
bindable: "bindableFocusedMonitor"
read: "default"
notify: "focusedMonitorChanged"
index: 3
lineNumber: 28
isReadonly: true
}
Property {
name: "focusedWorkspace"
type: "qs::hyprland::ipc::HyprlandWorkspace"
isPointer: true
bindable: "bindableFocusedWorkspace"
read: "default"
notify: "focusedWorkspaceChanged"
index: 4
lineNumber: 30
isReadonly: true
}
Property {
name: "activeToplevel"
type: "qs::hyprland::ipc::HyprlandToplevel"
isPointer: true
bindable: "bindableActiveToplevel"
read: "default"
notify: "activeToplevelChanged"
index: 5
lineNumber: 32
isReadonly: true
}
Property {
name: "monitors"
type: "UntypedObjectModel"
isPointer: true
read: "monitors"
index: 6
lineNumber: 35
isReadonly: true
isPropertyConstant: true
}
Property {
name: "workspaces"
type: "UntypedObjectModel"
isPointer: true
read: "workspaces"
index: 7
lineNumber: 40
isReadonly: true
isPropertyConstant: true
}
Property {
name: "toplevels"
type: "UntypedObjectModel"
isPointer: true
read: "toplevels"
index: 8
lineNumber: 43
isReadonly: true
isPropertyConstant: true
}
Signal {
name: "rawEvent"
lineNumber: 89
Parameter { name: "event"; type: "qs::hyprland::ipc::HyprlandIpcEvent"; isPointer: true }
}
Signal { name: "usingLuaChanged"; lineNumber: 91 }
Signal { name: "focusedMonitorChanged"; lineNumber: 92 }
Signal { name: "focusedWorkspaceChanged"; lineNumber: 93 }
Signal { name: "activeToplevelChanged"; lineNumber: 94 }
Method {
name: "dispatch"
lineNumber: 52
Parameter { name: "request"; type: "QString" }
}
Method {
name: "monitorFor"
type: "HyprlandMonitor"
isPointer: true
lineNumber: 55
Parameter { name: "screen"; type: "QuickshellScreenInfo"; isPointer: true }
}
Method { name: "refreshMonitors"; lineNumber: 61 }
Method { name: "refreshWorkspaces"; lineNumber: 67 }
Method { name: "refreshToplevels"; lineNumber: 73 }
}
Component {
file: "monitor.hpp"
lineNumber: 17
name: "qs::hyprland::ipc::HyprlandMonitor"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._Ipc/HyprlandMonitor 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "int"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 0
lineNumber: 20
isReadonly: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 1
lineNumber: 21
isReadonly: true
}
Property {
name: "description"
type: "QString"
bindable: "bindableDescription"
read: "default"
notify: "descriptionChanged"
index: 2
lineNumber: 22
isReadonly: true
}
Property {
name: "x"
type: "int"
bindable: "bindableX"
read: "default"
notify: "xChanged"
index: 3
lineNumber: 23
isReadonly: true
}
Property {
name: "y"
type: "int"
bindable: "bindableY"
read: "default"
notify: "yChanged"
index: 4
lineNumber: 24
isReadonly: true
}
Property {
name: "width"
type: "int"
bindable: "bindableWidth"
read: "default"
notify: "widthChanged"
index: 5
lineNumber: 25
isReadonly: true
}
Property {
name: "height"
type: "int"
bindable: "bindableHeight"
read: "default"
notify: "heightChanged"
index: 6
lineNumber: 26
isReadonly: true
}
Property {
name: "scale"
type: "double"
bindable: "bindableScale"
read: "default"
notify: "scaleChanged"
index: 7
lineNumber: 27
isReadonly: true
}
Property {
name: "lastIpcObject"
type: "QVariantMap"
read: "lastIpcObject"
notify: "lastIpcObjectChanged"
index: 8
lineNumber: 33
isReadonly: true
}
Property {
name: "activeWorkspace"
type: "qs::hyprland::ipc::HyprlandWorkspace"
isPointer: true
bindable: "bindableActiveWorkspace"
read: "default"
notify: "activeWorkspaceChanged"
index: 9
lineNumber: 35
isReadonly: true
}
Property {
name: "focused"
type: "bool"
bindable: "bindableFocused"
read: "default"
notify: "focusedChanged"
index: 10
lineNumber: 37
isReadonly: true
}
Signal { name: "idChanged"; lineNumber: 66 }
Signal { name: "nameChanged"; lineNumber: 67 }
Signal { name: "descriptionChanged"; lineNumber: 68 }
Signal { name: "xChanged"; lineNumber: 69 }
Signal { name: "yChanged"; lineNumber: 70 }
Signal { name: "widthChanged"; lineNumber: 71 }
Signal { name: "heightChanged"; lineNumber: 72 }
Signal { name: "scaleChanged"; lineNumber: 73 }
Signal { name: "lastIpcObjectChanged"; lineNumber: 74 }
Signal { name: "activeWorkspaceChanged"; lineNumber: 75 }
Signal { name: "focusedChanged"; lineNumber: 76 }
Method { name: "onActiveWorkspaceDestroyed"; lineNumber: 79 }
}
Component {
file: "hyprland_toplevel.hpp"
lineNumber: 20
name: "qs::hyprland::ipc::HyprlandToplevel"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._Ipc/HyprlandToplevel 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
attachedType: "qs::hyprland::ipc::HyprlandToplevel"
Property {
name: "address"
type: "QString"
read: "addressStr"
notify: "addressChanged"
index: 0
lineNumber: 28
isReadonly: true
}
Property {
name: "handle"
type: "HyprlandToplevel"
isPointer: true
read: "hyprlandHandle"
notify: "hyprlandHandleChanged"
index: 1
lineNumber: 31
isReadonly: true
}
Property {
name: "wayland"
type: "qs::wayland::toplevel::Toplevel"
isPointer: true
read: "waylandHandle"
notify: "waylandHandleChanged"
index: 2
lineNumber: 33
isReadonly: true
}
Property {
name: "title"
type: "QString"
bindable: "bindableTitle"
read: "default"
notify: "titleChanged"
index: 3
lineNumber: 35
isReadonly: true
}
Property {
name: "activated"
type: "bool"
bindable: "bindableActivated"
read: "default"
notify: "activatedChanged"
index: 4
lineNumber: 37
isReadonly: true
}
Property {
name: "urgent"
type: "bool"
bindable: "bindableUrgent"
read: "default"
notify: "urgentChanged"
index: 5
lineNumber: 39
isReadonly: true
}
Property {
name: "lastIpcObject"
type: "QVariantMap"
bindable: "bindableLastIpcObject"
read: "default"
notify: "lastIpcObjectChanged"
index: 6
lineNumber: 45
isReadonly: true
}
Property {
name: "workspace"
type: "qs::hyprland::ipc::HyprlandWorkspace"
isPointer: true
bindable: "bindableWorkspace"
read: "default"
notify: "workspaceChanged"
index: 7
lineNumber: 47
isReadonly: true
}
Property {
name: "monitor"
type: "qs::hyprland::ipc::HyprlandMonitor"
isPointer: true
bindable: "bindableMonitor"
read: "default"
notify: "monitorChanged"
index: 8
lineNumber: 49
isReadonly: true
}
Signal { name: "addressChanged"; lineNumber: 90 }
Signal { name: "waylandHandleChanged"; lineNumber: 91 }
Signal { name: "hyprlandHandleChanged"; lineNumber: 92 }
Signal { name: "titleChanged"; lineNumber: 94 }
Signal { name: "activatedChanged"; lineNumber: 95 }
Signal { name: "urgentChanged"; lineNumber: 96 }
Signal { name: "workspaceChanged"; lineNumber: 97 }
Signal { name: "monitorChanged"; lineNumber: 98 }
Signal { name: "lastIpcObjectChanged"; lineNumber: 99 }
Method { name: "onActivatedChanged"; lineNumber: 102 }
}
Component {
file: "workspace.hpp"
lineNumber: 19
name: "qs::hyprland::ipc::HyprlandWorkspace"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._Ipc/HyprlandWorkspace 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "address"
type: "QString"
bindable: "bindableAddress"
read: "default"
notify: "addressChanged"
index: 0
lineNumber: 25
isReadonly: true
}
Property {
name: "id"
type: "int"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 1
lineNumber: 29
isReadonly: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 2
lineNumber: 30
isReadonly: true
}
Property {
name: "active"
type: "bool"
bindable: "bindableActive"
read: "default"
notify: "activeChanged"
index: 3
lineNumber: 32
isReadonly: true
}
Property {
name: "focused"
type: "bool"
bindable: "bindableFocused"
read: "default"
notify: "focusedChanged"
index: 4
lineNumber: 35
isReadonly: true
}
Property {
name: "urgent"
type: "bool"
bindable: "bindableUrgent"
read: "default"
notify: "urgentChanged"
index: 5
lineNumber: 38
isReadonly: true
}
Property {
name: "hasFullscreen"
type: "bool"
bindable: "bindableHasFullscreen"
read: "default"
notify: "hasFullscreenChanged"
index: 6
lineNumber: 40
isReadonly: true
}
Property {
name: "lastIpcObject"
type: "QVariantMap"
read: "lastIpcObject"
notify: "lastIpcObjectChanged"
index: 7
lineNumber: 46
isReadonly: true
}
Property {
name: "monitor"
type: "qs::hyprland::ipc::HyprlandMonitor"
isPointer: true
bindable: "bindableMonitor"
read: "default"
notify: "monitorChanged"
index: 8
lineNumber: 47
isReadonly: true
}
Property {
name: "toplevels"
type: "UntypedObjectModel"
isPointer: true
read: "toplevels"
index: 9
lineNumber: 50
isReadonly: true
isPropertyConstant: true
}
Signal { name: "addressChanged"; lineNumber: 87 }
Signal { name: "idChanged"; lineNumber: 88 }
Signal { name: "typeChanged"; lineNumber: 89 }
Signal { name: "nameChanged"; lineNumber: 90 }
Signal { name: "activeChanged"; lineNumber: 91 }
Signal { name: "focusedChanged"; lineNumber: 92 }
Signal { name: "urgentChanged"; lineNumber: 93 }
Signal { name: "hasFullscreenChanged"; lineNumber: 94 }
Signal { name: "lastIpcObjectChanged"; lineNumber: 95 }
Signal { name: "monitorChanged"; lineNumber: 96 }
Method { name: "onMonitorDestroyed"; lineNumber: 99 }
Method { name: "updateUrgent"; lineNumber: 100 }
Method { name: "activate"; lineNumber: 67 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Hyprland._SurfaceExtensions
linktarget quickshell-hyprland-surface-extensionsplugin
optional plugin quickshell-hyprland-surface-extensionsplugin
classname Quickshell_Hyprland__SurfaceExtensionsPlugin
typeinfo quickshell-hyprland-surface-extensions.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Hyprland/_SurfaceExtensions/
depends QtQuick
@@ -0,0 +1,50 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 33
name: "qs::hyprland::surface::HyprlandWindow"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Hyprland._SurfaceExtensions/HyprlandWindow 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
attachedType: "qs::hyprland::surface::HyprlandWindow"
Property {
name: "opacity"
type: "double"
read: "opacity"
write: "setOpacity"
notify: "opacityChanged"
index: 0
lineNumber: 40
}
Property {
name: "visibleMask"
type: "PendingRegion"
isPointer: true
read: "visibleMask"
write: "setVisibleMask"
notify: "visibleMaskChanged"
index: 1
lineNumber: 45
}
Signal { name: "opacityChanged"; lineNumber: 65 }
Signal { name: "visibleMaskChanged"; lineNumber: 66 }
Method { name: "onWindowConnected"; lineNumber: 69 }
Method { name: "onWindowVisibleChanged"; lineNumber: 70 }
Method { name: "onWaylandWindowDestroyed"; lineNumber: 71 }
Method { name: "onWaylandSurfaceCreated"; lineNumber: 72 }
Method { name: "onWaylandSurfaceDestroyed"; lineNumber: 73 }
Method { name: "onProxyWindowDestroyed"; lineNumber: 74 }
Method { name: "onVisibleMaskDestroyed"; lineNumber: 75 }
Method { name: "onWindowPolished"; lineNumber: 76 }
Method { name: "updateVisibleMask"; lineNumber: 77 }
}
}
@@ -0,0 +1,11 @@
module Quickshell.Hyprland
linktarget quickshell-hyprlandplugin
optional plugin quickshell-hyprlandplugin
classname Quickshell_HyprlandPlugin
typeinfo quickshell-hyprland.qmltypes
import Quickshell.Hyprland._Ipc
import Quickshell.Hyprland._FocusGrab
import Quickshell.Hyprland._GlobalShortcuts
import Quickshell.Hyprland._SurfaceExtensions
prefer :/qt/qml/Quickshell/Hyprland/
@@ -0,0 +1,8 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {}
@@ -0,0 +1,10 @@
module Quickshell.I3._Ipc
linktarget quickshell-i3-ipcplugin
optional plugin quickshell-i3-ipcplugin
classname Quickshell_I3__IpcPlugin
typeinfo quickshell-i3-ipc.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/I3/_Ipc/
depends Quickshell
depends QtQuick
@@ -0,0 +1,413 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "connection.hpp"
lineNumber: 41
name: "qs::i3::ipc::I3IpcEvent"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.I3._Ipc/I3Event 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "type"
type: "QString"
read: "type"
index: 0
lineNumber: 44
isReadonly: true
isPropertyConstant: true
}
Property {
name: "data"
type: "QString"
read: "data"
index: 1
lineNumber: 45
isReadonly: true
isPropertyConstant: true
}
}
Component {
file: "listener.hpp"
lineNumber: 36
name: "qs::i3::ipc::I3IpcListener"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.I3._Ipc/I3IpcListener 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "subscriptions"
type: "QString"
isList: true
read: "subscriptions"
write: "setSubscriptions"
notify: "subscriptionsChanged"
index: 0
lineNumber: 40
}
Signal {
name: "ipcEvent"
lineNumber: 55
Parameter { name: "event"; type: "I3IpcEvent"; isPointer: true }
}
Signal { name: "subscriptionsChanged"; lineNumber: 56 }
}
Component {
file: "qml.hpp"
lineNumber: 15
name: "qs::i3::ipc::I3IpcQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.I3._Ipc/I3 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "socketPath"
type: "QString"
read: "socketPath"
index: 0
lineNumber: 19
isReadonly: true
isPropertyConstant: true
}
Property {
name: "focusedWorkspace"
type: "qs::i3::ipc::I3Workspace"
isPointer: true
bindable: "bindableFocusedWorkspace"
read: "default"
notify: "focusedWorkspaceChanged"
index: 1
lineNumber: 21
isReadonly: true
}
Property {
name: "focusedMonitor"
type: "qs::i3::ipc::I3Monitor"
isPointer: true
bindable: "bindableFocusedMonitor"
read: "default"
notify: "focusedMonitorChanged"
index: 2
lineNumber: 22
isReadonly: true
}
Property {
name: "monitors"
type: "UntypedObjectModel"
isPointer: true
read: "monitors"
index: 3
lineNumber: 25
isReadonly: true
isPropertyConstant: true
}
Property {
name: "workspaces"
type: "UntypedObjectModel"
isPointer: true
read: "workspaces"
index: 4
lineNumber: 28
isReadonly: true
isPropertyConstant: true
}
Signal {
name: "rawEvent"
lineNumber: 70
Parameter { name: "event"; type: "I3IpcEvent"; isPointer: true }
}
Signal { name: "connected"; lineNumber: 71 }
Signal { name: "focusedWorkspaceChanged"; lineNumber: 72 }
Signal { name: "focusedMonitorChanged"; lineNumber: 73 }
Method {
name: "dispatch"
lineNumber: 37
Parameter { name: "request"; type: "QString" }
}
Method { name: "refreshMonitors"; lineNumber: 40 }
Method { name: "refreshWorkspaces"; lineNumber: 43 }
Method {
name: "findWorkspaceByName"
type: "I3Workspace"
isPointer: true
lineNumber: 46
Parameter { name: "name"; type: "QString" }
}
Method {
name: "findMonitorByName"
type: "I3Monitor"
isPointer: true
lineNumber: 49
Parameter { name: "name"; type: "QString" }
}
Method {
name: "monitorFor"
type: "I3Monitor"
isPointer: true
lineNumber: 52
Parameter { name: "screen"; type: "QuickshellScreenInfo"; isPointer: true }
}
}
Component {
file: "monitor.hpp"
lineNumber: 12
name: "qs::i3::ipc::I3Monitor"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.I3._Ipc/I3Monitor 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "int"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 0
lineNumber: 16
isReadonly: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 1
lineNumber: 18
isReadonly: true
}
Property {
name: "power"
type: "bool"
bindable: "bindablePower"
read: "default"
notify: "powerChanged"
index: 2
lineNumber: 20
isReadonly: true
}
Property {
name: "activeWorkspace"
type: "qs::i3::ipc::I3Workspace"
isPointer: true
bindable: "bindableActiveWorkspace"
read: "default"
notify: "activeWorkspaceChanged"
index: 3
lineNumber: 22
isReadonly: true
}
Property {
name: "focusedWorkspace"
type: "qs::i3::ipc::I3Workspace"
isPointer: true
bindable: "bindableActiveWorkspace"
read: "default"
notify: "activeWorkspaceChanged"
index: 4
lineNumber: 24
isReadonly: true
}
Property {
name: "x"
type: "int"
bindable: "bindableX"
read: "default"
notify: "xChanged"
index: 5
lineNumber: 26
isReadonly: true
}
Property {
name: "y"
type: "int"
bindable: "bindableY"
read: "default"
notify: "yChanged"
index: 6
lineNumber: 28
isReadonly: true
}
Property {
name: "width"
type: "int"
bindable: "bindableWidth"
read: "default"
notify: "widthChanged"
index: 7
lineNumber: 30
isReadonly: true
}
Property {
name: "height"
type: "int"
bindable: "bindableHeight"
read: "default"
notify: "heightChanged"
index: 8
lineNumber: 32
isReadonly: true
}
Property {
name: "scale"
type: "double"
bindable: "bindableScale"
read: "default"
notify: "scaleChanged"
index: 9
lineNumber: 34
isReadonly: true
}
Property {
name: "focused"
type: "bool"
bindable: "bindableFocused"
read: "default"
notify: "focusedChanged"
index: 10
lineNumber: 36
isReadonly: true
}
Property {
name: "lastIpcObject"
type: "QVariantMap"
read: "lastIpcObject"
notify: "lastIpcObjectChanged"
index: 11
lineNumber: 40
isReadonly: true
}
Signal { name: "idChanged"; lineNumber: 68 }
Signal { name: "nameChanged"; lineNumber: 69 }
Signal { name: "powerChanged"; lineNumber: 70 }
Signal { name: "activeWorkspaceChanged"; lineNumber: 71 }
Signal { name: "xChanged"; lineNumber: 72 }
Signal { name: "yChanged"; lineNumber: 73 }
Signal { name: "widthChanged"; lineNumber: 74 }
Signal { name: "heightChanged"; lineNumber: 75 }
Signal { name: "scaleChanged"; lineNumber: 76 }
Signal { name: "lastIpcObjectChanged"; lineNumber: 77 }
Signal { name: "focusedChanged"; lineNumber: 78 }
Method { name: "onActiveWorkspaceDestroyed"; lineNumber: 81 }
}
Component {
file: "workspace.hpp"
lineNumber: 15
name: "qs::i3::ipc::I3Workspace"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.I3._Ipc/I3Workspace 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "int"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 0
lineNumber: 19
isReadonly: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 1
lineNumber: 21
isReadonly: true
}
Property {
name: "number"
type: "int"
bindable: "bindableNumber"
read: "default"
notify: "numberChanged"
index: 2
lineNumber: 23
isReadonly: true
}
Property {
name: "num"
type: "int"
bindable: "bindableNumber"
read: "default"
notify: "numberChanged"
index: 3
lineNumber: 25
isReadonly: true
}
Property {
name: "urgent"
type: "bool"
bindable: "bindableUrgent"
read: "default"
notify: "urgentChanged"
index: 4
lineNumber: 27
isReadonly: true
}
Property {
name: "active"
type: "bool"
bindable: "bindableActive"
read: "default"
notify: "activeChanged"
index: 5
lineNumber: 29
isReadonly: true
}
Property {
name: "focused"
type: "bool"
bindable: "bindableFocused"
read: "default"
notify: "focusedChanged"
index: 6
lineNumber: 32
isReadonly: true
}
Property {
name: "monitor"
type: "qs::i3::ipc::I3Monitor"
isPointer: true
bindable: "bindableMonitor"
read: "default"
notify: "monitorChanged"
index: 7
lineNumber: 34
isReadonly: true
}
Property {
name: "lastIpcObject"
type: "QVariantMap"
read: "lastIpcObject"
notify: "lastIpcObjectChanged"
index: 8
lineNumber: 38
isReadonly: true
}
Signal { name: "idChanged"; lineNumber: 68 }
Signal { name: "nameChanged"; lineNumber: 69 }
Signal { name: "urgentChanged"; lineNumber: 70 }
Signal { name: "activeChanged"; lineNumber: 71 }
Signal { name: "focusedChanged"; lineNumber: 72 }
Signal { name: "numberChanged"; lineNumber: 73 }
Signal { name: "monitorChanged"; lineNumber: 74 }
Signal { name: "lastIpcObjectChanged"; lineNumber: 75 }
Method { name: "onMonitorDestroyed"; lineNumber: 78 }
Method { name: "activate"; lineNumber: 52 }
}
}
@@ -0,0 +1,8 @@
module Quickshell.I3
linktarget quickshell-i3plugin
optional plugin quickshell-i3plugin
classname Quickshell_I3Plugin
typeinfo quickshell-i3.qmltypes
import Quickshell.I3._Ipc
prefer :/qt/qml/Quickshell/I3/
@@ -0,0 +1,8 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {}
@@ -0,0 +1,53 @@
import Quickshell.Io
FileViewInternal {
property bool preload: this.__preload;
property bool blockLoading: this.__blockLoading;
property bool blockAllReads: this.__blockAllReads;
property bool printErrors: this.__printErrors;
property string path: this.__path;
onPreloadChanged: this.__preload = preload;
onBlockLoadingChanged: this.__blockLoading = this.blockLoading;
onBlockAllReadsChanged: this.__blockAllReads = this.blockAllReads;
onPrintErrorsChanged: this.__printErrors = this.printErrors;
// Unfortunately path can't be kept as an empty string until the file loads
// without using QQmlPropertyValueInterceptor which is private. If we lean fully
// into using private code in the future, there will be no reason not to do it here.
onPathChanged: {
if (!this.preload) this.__preload = false;
this.__printErrors = this.printErrors;
this.__path = this.path;
if (this.preload) this.__preload = true;
}
// The C++ side can't force bindings to be resolved in a specific order so
// its done here. Functions are used to avoid the eager loading aspect of properties.
// Preload is set as it is below to avoid starting an async read from a preload
// if the user wants an initial blocking read.
function text(): string {
if (!this.preload) this.__preload = false;
this.__blockLoading = this.blockLoading;
this.__blockAllReads = this.blockAllReads;
this.__printErrors = this.printErrors;
this.__path = this.path;
const text = this.__text;
if (this.preload) this.__preload = true;
return text;
}
function data(): var {
if (!this.preload) this.__preload = false;
this.__blockLoading = this.blockLoading;
this.__blockAllReads = this.blockAllReads;
this.__printErrors = this.printErrors;
this.__path = this.path;
const data = this.__data;
if (this.preload) this.__preload = true;
return data;
}
}
@@ -0,0 +1,11 @@
module Quickshell.Io
linktarget quickshell-ioplugin
optional plugin quickshell-ioplugin
classname Quickshell_IoPlugin
typeinfo quickshell-io.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Io/
FileView 0.0 FileView.qml
depends Quickshell
depends QtQuick
@@ -0,0 +1,642 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "datastream.hpp"
lineNumber: 15
name: "DataStream"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Io/DataStream 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "parser"
type: "DataStreamParser"
isPointer: true
read: "reader"
write: "setReader"
notify: "readerChanged"
index: 0
lineNumber: 19
}
Signal { name: "readerChanged"; lineNumber: 30 }
Method { name: "onBytesAvailable"; lineNumber: 33 }
Method { name: "onReaderDestroyed"; lineNumber: 39 }
}
Component {
file: "datastream.hpp"
lineNumber: 48
name: "DataStreamParser"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Io/DataStreamParser 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Signal {
name: "read"
lineNumber: 62
Parameter { name: "data"; type: "QString" }
}
}
Component {
file: "process.hpp"
lineNumber: 34
name: "Process"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.Io/Process 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "running"
type: "bool"
read: "isRunning"
write: "setRunning"
notify: "runningChanged"
index: 0
lineNumber: 56
}
Property {
name: "processId"
type: "QVariant"
read: "processId"
notify: "processIdChanged"
index: 1
lineNumber: 58
isReadonly: true
}
Property {
name: "command"
type: "QString"
isList: true
read: "command"
write: "setCommand"
notify: "commandChanged"
index: 2
lineNumber: 76
}
Property {
name: "workingDirectory"
type: "QString"
read: "workingDirectory"
write: "setWorkingDirectory"
notify: "workingDirectoryChanged"
index: 3
lineNumber: 84
}
Property {
name: "environment"
type: "QVariantHash"
read: "environment"
write: "setEnvironment"
notify: "environmentChanged"
index: 4
lineNumber: 105
}
Property {
name: "clearEnvironment"
type: "bool"
read: "environmentCleared"
write: "setEnvironmentCleared"
notify: "environmentClearChanged"
index: 5
lineNumber: 125
}
Property {
name: "stdout"
type: "DataStreamParser"
isPointer: true
read: "stdoutParser"
write: "setStdoutParser"
notify: "stdoutParserChanged"
index: 6
lineNumber: 128
}
Property {
name: "stderr"
type: "DataStreamParser"
isPointer: true
read: "stderrParser"
write: "setStderrParser"
notify: "stderrParserChanged"
index: 7
lineNumber: 131
}
Property {
name: "stdinEnabled"
type: "bool"
read: "stdinEnabled"
write: "setStdinEnabled"
notify: "stdinEnabledChanged"
index: 8
lineNumber: 134
}
Signal { name: "started"; lineNumber: 220 }
Signal {
name: "exited"
lineNumber: 221
Parameter { name: "exitCode"; type: "int" }
Parameter { name: "exitStatus"; type: "QProcess::ExitStatus" }
}
Signal { name: "runningChanged"; lineNumber: 223 }
Signal { name: "processIdChanged"; lineNumber: 224 }
Signal { name: "commandChanged"; lineNumber: 225 }
Signal { name: "workingDirectoryChanged"; lineNumber: 226 }
Signal { name: "environmentChanged"; lineNumber: 227 }
Signal { name: "environmentClearChanged"; lineNumber: 228 }
Signal { name: "stdoutParserChanged"; lineNumber: 229 }
Signal { name: "stderrParserChanged"; lineNumber: 230 }
Signal { name: "stdinEnabledChanged"; lineNumber: 231 }
Method { name: "onStarted"; lineNumber: 234 }
Method {
name: "onFinished"
lineNumber: 235
Parameter { name: "exitCode"; type: "int" }
Parameter { name: "exitStatus"; type: "QProcess::ExitStatus" }
}
Method {
name: "onErrorOccurred"
lineNumber: 236
Parameter { name: "error"; type: "QProcess::ProcessError" }
}
Method { name: "onStdoutReadyRead"; lineNumber: 237 }
Method { name: "onStderrReadyRead"; lineNumber: 238 }
Method { name: "onStdoutParserDestroyed"; lineNumber: 239 }
Method { name: "onStderrParserDestroyed"; lineNumber: 240 }
Method { name: "onGlobalWorkingDirectoryChanged"; lineNumber: 241 }
Method {
name: "exec"
lineNumber: 146
Parameter { name: "command"; type: "QString"; isList: true }
}
Method {
name: "exec"
lineNumber: 177
Parameter { name: "context"; type: "qs::io::process::ProcessContext" }
}
Method {
name: "signal"
lineNumber: 180
Parameter { name: "signal"; type: "int" }
}
Method {
name: "write"
lineNumber: 183
Parameter { name: "data"; type: "QString" }
}
Method { name: "startDetached"; lineNumber: 191 }
}
Component {
file: "socket.hpp"
lineNumber: 20
name: "Socket"
accessSemantics: "reference"
prototype: "DataStream"
exports: ["Quickshell.Io/Socket 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "connected"
type: "bool"
read: "isConnected"
write: "setConnected"
notify: "connectionStateChanged"
index: 0
lineNumber: 27
}
Property {
name: "path"
type: "QString"
read: "path"
write: "setPath"
notify: "pathChanged"
index: 1
lineNumber: 31
}
Signal {
name: "error"
lineNumber: 56
Parameter { name: "error"; type: "QLocalSocket::LocalSocketError" }
}
Signal { name: "connectionStateChanged"; lineNumber: 58 }
Signal { name: "pathChanged"; lineNumber: 59 }
Method { name: "onSocketConnected"; lineNumber: 65 }
Method { name: "onSocketDisconnected"; lineNumber: 66 }
Method {
name: "onSocketError"
lineNumber: 67
Parameter { name: "error"; type: "QLocalSocket::LocalSocketError" }
}
Method {
name: "write"
lineNumber: 40
Parameter { name: "data"; type: "QString" }
}
Method { name: "flush"; lineNumber: 43 }
}
Component {
file: "socket.hpp"
lineNumber: 95
name: "SocketServer"
accessSemantics: "reference"
prototype: "Reloadable"
exports: ["Quickshell.Io/SocketServer 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "active"
type: "bool"
read: "isActive"
write: "setActive"
notify: "activeStatusChanged"
index: 0
lineNumber: 103
}
Property {
name: "path"
type: "QString"
read: "path"
write: "setPath"
notify: "pathChanged"
index: 1
lineNumber: 107
}
Property {
name: "handler"
type: "QQmlComponent"
isPointer: true
read: "handler"
write: "setHandler"
notify: "handlerChanged"
index: 2
lineNumber: 114
}
Signal { name: "activeStatusChanged"; lineNumber: 134 }
Signal { name: "pathChanged"; lineNumber: 135 }
Signal { name: "handlerChanged"; lineNumber: 136 }
Method { name: "onNewConnection"; lineNumber: 139 }
}
Component {
file: "datastream.hpp"
lineNumber: 67
name: "SplitParser"
accessSemantics: "reference"
prototype: "DataStreamParser"
exports: ["Quickshell.Io/SplitParser 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "splitMarker"
type: "QString"
read: "splitMarker"
write: "setSplitMarker"
notify: "splitMarkerChanged"
index: 0
lineNumber: 73
}
Signal { name: "splitMarkerChanged"; lineNumber: 86 }
}
Component {
file: "datastream.hpp"
lineNumber: 95
name: "StdioCollector"
accessSemantics: "reference"
prototype: "DataStreamParser"
exports: ["Quickshell.Io/StdioCollector 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "text"
type: "QString"
read: "text"
notify: "dataChanged"
index: 0
lineNumber: 100
isReadonly: true
}
Property {
name: "data"
type: "QByteArray"
read: "data"
notify: "dataChanged"
index: 1
lineNumber: 105
isReadonly: true
}
Property {
name: "waitForEnd"
type: "bool"
read: "waitForEnd"
write: "setWaitForEnd"
notify: "waitForEndChanged"
index: 2
lineNumber: 107
}
Signal { name: "waitForEndChanged"; lineNumber: 122 }
Signal { name: "dataChanged"; lineNumber: 123 }
Signal { name: "streamFinished"; lineNumber: 124 }
}
Component {
file: "fileview.hpp"
lineNumber: 164
name: "qs::io::FileView"
accessSemantics: "reference"
defaultProperty: "adapter"
prototype: "QObject"
exports: ["Quickshell.Io/FileViewInternal 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "blockWrites"
type: "bool"
bindable: "bindableBlockWrites"
read: "default"
write: "default"
notify: "blockWritesChanged"
index: 0
lineNumber: 201
}
Property {
name: "atomicWrites"
type: "bool"
bindable: "bindableAtomicWrites"
read: "default"
write: "default"
notify: "atomicWritesChanged"
index: 1
lineNumber: 207
}
Property {
name: "watchChanges"
type: "bool"
bindable: "bindableWatchChanges"
read: "default"
write: "default"
notify: "watchChangesChanged"
index: 2
lineNumber: 222
}
Property {
name: "adapter"
type: "FileViewAdapter"
isPointer: true
read: "adapter"
write: "setAdapter"
notify: "adapterChanged"
index: 3
lineNumber: 230
}
Property {
name: "__path"
type: "QString"
read: "path"
write: "setPath"
notify: "pathChanged"
index: 4
lineNumber: 232
}
Property {
name: "__text"
type: "QString"
read: "text"
notify: "internalTextChanged"
index: 5
lineNumber: 233
isReadonly: true
}
Property {
name: "__data"
type: "QByteArray"
read: "data"
notify: "internalDataChanged"
index: 6
lineNumber: 234
isReadonly: true
}
Property {
name: "__preload"
type: "bool"
read: "shouldPreload"
write: "setPreload"
notify: "preloadChanged"
index: 7
lineNumber: 235
}
Property {
name: "loaded"
type: "bool"
read: "isLoadedOrAsync"
notify: "loadedOrAsyncChanged"
index: 8
lineNumber: 241
isReadonly: true
}
Property {
name: "__blockLoading"
type: "bool"
read: "blockLoading"
write: "setBlockLoading"
notify: "blockLoadingChanged"
index: 9
lineNumber: 242
}
Property {
name: "__blockAllReads"
type: "bool"
read: "blockAllReads"
write: "setBlockAllReads"
notify: "blockAllReadsChanged"
index: 10
lineNumber: 243
}
Property {
name: "__printErrors"
type: "bool"
bindable: "bindablePrintErrors"
read: "default"
write: "default"
notify: "printErrorsChanged"
index: 11
lineNumber: 244
}
Signal { name: "loaded"; lineNumber: 338 }
Signal {
name: "loadFailed"
lineNumber: 340
Parameter { name: "error"; type: "qs::io::FileViewError::Enum" }
}
Signal { name: "saved"; lineNumber: 342 }
Signal {
name: "saveFailed"
lineNumber: 344
Parameter { name: "error"; type: "qs::io::FileViewError::Enum" }
}
Signal { name: "fileChanged"; lineNumber: 346 }
Signal { name: "adapterUpdated"; lineNumber: 348 }
Signal { name: "pathChanged"; lineNumber: 350 }
Signal { name: "internalTextChanged"; lineNumber: 351 }
Signal { name: "internalDataChanged"; lineNumber: 352 }
Signal { name: "textChanged"; lineNumber: 353 }
Signal { name: "dataChanged"; lineNumber: 354 }
Signal { name: "preloadChanged"; lineNumber: 355 }
Signal { name: "loadedOrAsyncChanged"; lineNumber: 356 }
Signal { name: "blockLoadingChanged"; lineNumber: 357 }
Signal { name: "blockAllReadsChanged"; lineNumber: 358 }
Signal { name: "blockWritesChanged"; lineNumber: 359 }
Signal { name: "atomicWritesChanged"; lineNumber: 360 }
Signal { name: "printErrorsChanged"; lineNumber: 361 }
Signal { name: "watchChangesChanged"; lineNumber: 362 }
Signal { name: "adapterChanged"; lineNumber: 363 }
Method { name: "operationFinished"; lineNumber: 366 }
Method { name: "onAdapterDestroyed"; lineNumber: 367 }
Method { name: "waitForJob"; type: "bool"; lineNumber: 293 }
Method { name: "reload"; lineNumber: 298 }
Method { name: "writeAdapter"; lineNumber: 300 }
Method {
name: "setData"
lineNumber: 316
Parameter { name: "data"; type: "QByteArray" }
}
Method {
name: "setText"
lineNumber: 324
Parameter { name: "text"; type: "QString" }
}
}
Component {
file: "fileview.hpp"
lineNumber: 436
name: "qs::io::FileViewAdapter"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Io/FileViewAdapter 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Signal { name: "adapterUpdated"; lineNumber: 448 }
Method { name: "onDataChanged"; lineNumber: 451 }
}
Component {
file: "fileview.hpp"
lineNumber: 25
name: "qs::io::FileViewError"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Io/FileViewError 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 31
values: [
"Success",
"Unknown",
"FileNotFound",
"PermissionDenied",
"NotAFile"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 46
Parameter { name: "value"; type: "qs::io::FileViewError::Enum" }
}
}
Component {
file: "jsonadapter.hpp"
lineNumber: 89
name: "qs::io::JsonAdapter"
accessSemantics: "reference"
prototype: "qs::io::FileViewAdapter"
interfaces: ["QQmlParserStatus"]
exports: ["Quickshell.Io/JsonAdapter 0.0"]
exportMetaObjectRevisions: [0]
Method { name: "onPropertyChanged"; lineNumber: 104 }
}
Component {
file: "jsonadapter.hpp"
lineNumber: 19
name: "qs::io::JsonObject"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Io/JsonObject 0.0"]
exportMetaObjectRevisions: [0]
}
Component {
file: "ipchandler.hpp"
lineNumber: 222
name: "qs::io::ipc::IpcHandler"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.Io/IpcHandler 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "enabled"
type: "bool"
read: "enabled"
write: "setEnabled"
notify: "enabledChanged"
index: 0
lineNumber: 225
}
Property {
name: "target"
type: "QString"
read: "target"
write: "setTarget"
notify: "targetChanged"
index: 1
lineNumber: 228
}
Signal { name: "enabledChanged"; lineNumber: 251 }
Signal { name: "targetChanged"; lineNumber: 252 }
Method {
name: "onSignalTriggered"
isMethodConstant: true
lineNumber: 255
Parameter { name: "signal"; type: "QString" }
Parameter { name: "value"; type: "QString" }
}
}
Component {
file: "processcore.hpp"
lineNumber: 14
name: "qs::io::process::ProcessContext"
accessSemantics: "value"
exports: ["Quickshell.Io/processContext 0.0"]
isStructured: true
exportMetaObjectRevisions: [0]
Property {
name: "command"
type: "QString"
isList: true
write: "setCommand"
index: 0
lineNumber: 15
}
Property {
name: "environment"
type: "QVariantHash"
write: "setEnvironment"
index: 1
lineNumber: 16
}
Property {
name: "clearEnvironment"
type: "bool"
write: "setClearEnvironment"
index: 2
lineNumber: 17
}
Property {
name: "workingDirectory"
type: "QString"
write: "setWorkingDirectory"
index: 3
lineNumber: 18
}
Property { name: "unbindStdout"; type: "bool"; write: "setUnbindStdout"; index: 4; lineNumber: 19 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Networking
linktarget quickshell-networkplugin
optional plugin quickshell-networkplugin
classname Quickshell_NetworkingPlugin
typeinfo quickshell-network.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Networking/
depends Quickshell
@@ -0,0 +1,614 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "enums.hpp"
lineNumber: 67
name: "qs::network::ConnectionFailReason"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/ConnectionFailReason 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 73
values: [
"Unknown",
"NoSecrets",
"WifiClientDisconnected",
"WifiClientFailed",
"WifiAuthTimeout",
"WifiNetworkLost"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 88
Parameter { name: "reason"; type: "ConnectionFailReason::Enum" }
}
}
Component {
file: "enums.hpp"
lineNumber: 49
name: "qs::network::ConnectionState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/ConnectionState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 55
values: [
"Unknown",
"Connecting",
"Connected",
"Disconnecting",
"Disconnected"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 63
Parameter { name: "state"; type: "ConnectionState::Enum" }
}
}
Component {
file: "enums.hpp"
lineNumber: 92
name: "qs::network::DeviceType"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/DeviceType 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 98
values: ["None", "Wifi", "Wired"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 104
Parameter { name: "type"; type: "DeviceType::Enum" }
}
}
Component {
file: "network.hpp"
lineNumber: 21
name: "qs::network::Network"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/Network 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 0
lineNumber: 28
isReadonly: true
}
Property {
name: "device"
type: "NetworkDevice"
isPointer: true
read: "device"
index: 1
lineNumber: 30
isReadonly: true
isPropertyConstant: true
}
Property {
name: "nmSettings"
type: "QList<NMSettings*>"
bindable: "bindableNmSettings"
read: "default"
notify: "nmSettingsChanged"
index: 2
lineNumber: 34
isReadonly: true
}
Property {
name: "connected"
type: "bool"
bindable: "bindableConnected"
read: "default"
notify: "connectedChanged"
index: 3
lineNumber: 36
isReadonly: true
}
Property {
name: "known"
type: "bool"
bindable: "bindableKnown"
read: "default"
notify: "knownChanged"
index: 4
lineNumber: 38
isReadonly: true
}
Property {
name: "state"
type: "ConnectionState::Enum"
bindable: "bindableState"
read: "default"
notify: "stateChanged"
index: 5
lineNumber: 40
isReadonly: true
}
Property {
name: "stateChanging"
type: "bool"
bindable: "bindableStateChanging"
read: "default"
notify: "stateChangingChanged"
index: 6
lineNumber: 42
isReadonly: true
}
Signal {
name: "connectionFailed"
lineNumber: 80
Parameter { name: "reason"; type: "ConnectionFailReason::Enum" }
}
Signal { name: "nameChanged"; lineNumber: 82 }
Signal { name: "connectedChanged"; lineNumber: 83 }
Signal { name: "knownChanged"; lineNumber: 84 }
Signal { name: "stateChanged"; lineNumber: 85 }
Signal { name: "stateChangingChanged"; lineNumber: 86 }
Signal { name: "nmSettingsChanged"; lineNumber: 87 }
Signal { name: "requestConnect"; lineNumber: 88 }
Signal {
name: "requestConnectWithSettings"
lineNumber: 89
Parameter { name: "settings"; type: "NMSettings"; isPointer: true }
}
Signal { name: "requestDisconnect"; lineNumber: 90 }
Signal { name: "requestForget"; lineNumber: 91 }
Method { name: "connect"; lineNumber: 52 }
Method {
name: "connectWithSettings"
lineNumber: 56
Parameter { name: "settings"; type: "NMSettings"; isPointer: true }
}
Method { name: "disconnect"; lineNumber: 58 }
Method { name: "forget"; lineNumber: 60 }
}
Component {
file: "enums.hpp"
lineNumber: 34
name: "qs::network::NetworkBackendType"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/NetworkBackendType 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 40
values: ["None", "NetworkManager"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 45
Parameter { name: "type"; type: "NetworkBackendType::Enum" }
}
}
Component {
file: "enums.hpp"
lineNumber: 10
name: "qs::network::NetworkConnectivity"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/NetworkConnectivity 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 16
values: ["Unknown", "None", "Portal", "Limited", "Full"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 30
Parameter { name: "conn"; type: "NetworkConnectivity::Enum" }
}
}
Component {
file: "device.hpp"
lineNumber: 18
name: "qs::network::NetworkDevice"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/NetworkDevice 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "type"
type: "DeviceType::Enum"
read: "type"
index: 0
lineNumber: 28
isReadonly: true
isPropertyConstant: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "name"
notify: "nameChanged"
index: 1
lineNumber: 30
isReadonly: true
}
Property {
name: "networks"
type: "UntypedObjectModel"
isPointer: true
read: "networks"
index: 2
lineNumber: 35
isReadonly: true
isPropertyConstant: true
}
Property {
name: "address"
type: "QString"
bindable: "bindableAddress"
read: "default"
notify: "addressChanged"
index: 3
lineNumber: 37
isReadonly: true
}
Property {
name: "connected"
type: "bool"
bindable: "bindableConnected"
read: "default"
notify: "connectedChanged"
index: 4
lineNumber: 39
isReadonly: true
}
Property {
name: "state"
type: "qs::network::ConnectionState::Enum"
bindable: "bindableState"
read: "default"
notify: "stateChanged"
index: 5
lineNumber: 41
isReadonly: true
}
Property {
name: "nmManaged"
type: "bool"
read: "nmManaged"
write: "setNmManaged"
notify: "nmManagedChanged"
index: 6
lineNumber: 45
}
Property {
name: "autoconnect"
type: "bool"
read: "autoconnect"
write: "setAutoconnect"
notify: "autoconnectChanged"
index: 7
lineNumber: 47
}
Signal { name: "requestDisconnect"; lineNumber: 74 }
Signal {
name: "requestSetAutoconnect"
lineNumber: 75
Parameter { name: "autoconnect"; type: "bool" }
}
Signal {
name: "requestSetNmManaged"
lineNumber: 76
Parameter { name: "managed"; type: "bool" }
}
Signal { name: "nameChanged"; lineNumber: 77 }
Signal { name: "addressChanged"; lineNumber: 78 }
Signal { name: "connectedChanged"; lineNumber: 79 }
Signal { name: "stateChanged"; lineNumber: 80 }
Signal { name: "nmManagedChanged"; lineNumber: 81 }
Signal { name: "autoconnectChanged"; lineNumber: 82 }
Method { name: "disconnect"; lineNumber: 54 }
}
Component {
file: "qml.hpp"
lineNumber: 79
name: "qs::network::NetworkingQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/Networking 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "devices"
type: "UntypedObjectModel"
isPointer: true
read: "devices"
index: 0
lineNumber: 86
isReadonly: true
isPropertyConstant: true
}
Property {
name: "backend"
type: "qs::network::NetworkBackendType::Enum"
read: "backend"
index: 1
lineNumber: 88
isReadonly: true
isPropertyConstant: true
}
Property {
name: "wifiEnabled"
type: "bool"
read: "wifiEnabled"
write: "setWifiEnabled"
notify: "wifiEnabledChanged"
index: 2
lineNumber: 90
}
Property {
name: "wifiHardwareEnabled"
type: "bool"
bindable: "bindableWifiHardwareEnabled"
read: "default"
notify: "wifiHardwareEnabledChanged"
index: 3
lineNumber: 92
isReadonly: true
}
Property {
name: "canCheckConnectivity"
type: "bool"
bindable: "bindableCanCheckConnectivity"
read: "default"
notify: "canCheckConnectivityChanged"
index: 4
lineNumber: 94
isReadonly: true
}
Property {
name: "connectivityCheckEnabled"
type: "bool"
read: "connectivityCheckEnabled"
write: "setConnectivityCheckEnabled"
notify: "connectivityCheckEnabledChanged"
index: 5
lineNumber: 96
}
Property {
name: "connectivity"
type: "qs::network::NetworkConnectivity::Enum"
bindable: "bindableConnectivity"
read: "default"
notify: "connectivityChanged"
index: 6
lineNumber: 106
isReadonly: true
}
Signal { name: "wifiEnabledChanged"; lineNumber: 144 }
Signal { name: "wifiHardwareEnabledChanged"; lineNumber: 145 }
Signal { name: "canCheckConnectivityChanged"; lineNumber: 146 }
Signal { name: "connectivityCheckEnabledChanged"; lineNumber: 147 }
Signal { name: "connectivityChanged"; lineNumber: 148 }
Method { name: "checkConnectivity"; lineNumber: 114 }
}
Component {
file: "wifi.hpp"
lineNumber: 57
name: "qs::network::WifiDevice"
accessSemantics: "reference"
prototype: "qs::network::NetworkDevice"
exports: ["Quickshell.Networking/WifiDevice 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "scannerEnabled"
type: "bool"
bindable: "bindableScannerEnabled"
read: "scannerEnabled"
write: "setScannerEnabled"
notify: "scannerEnabledChanged"
index: 0
lineNumber: 65
}
Property {
name: "mode"
type: "WifiDeviceMode::Enum"
bindable: "bindableMode"
read: "default"
notify: "modeChanged"
index: 1
lineNumber: 67
isReadonly: true
}
Signal { name: "modeChanged"; lineNumber: 79 }
Signal {
name: "scannerEnabledChanged"
lineNumber: 80
Parameter { name: "enabled"; type: "bool" }
}
}
Component {
file: "enums.hpp"
lineNumber: 133
name: "qs::network::WifiDeviceMode"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/WifiDeviceMode 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 139
values: ["AdHoc", "Station", "AccessPoint", "Mesh", "Unknown"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 152
Parameter { name: "mode"; type: "WifiDeviceMode::Enum" }
}
}
Component {
file: "wifi.hpp"
lineNumber: 17
name: "qs::network::WifiNetwork"
accessSemantics: "reference"
prototype: "qs::network::Network"
exports: ["Quickshell.Networking/WifiNetwork 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "signalStrength"
type: "double"
bindable: "bindableSignalStrength"
read: "default"
notify: "signalStrengthChanged"
index: 0
lineNumber: 23
isReadonly: true
}
Property {
name: "security"
type: "WifiSecurityType::Enum"
bindable: "bindableSecurity"
read: "default"
notify: "securityChanged"
index: 1
lineNumber: 25
isReadonly: true
}
Signal {
name: "requestConnectWithPsk"
lineNumber: 45
Parameter { name: "psk"; type: "QString" }
}
Signal { name: "signalStrengthChanged"; lineNumber: 46 }
Signal { name: "securityChanged"; lineNumber: 47 }
Method {
name: "connectWithPsk"
lineNumber: 39
Parameter { name: "psk"; type: "QString" }
}
}
Component {
file: "enums.hpp"
lineNumber: 108
name: "qs::network::WifiSecurityType"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Networking/WifiSecurityType 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 114
values: [
"Wpa3SuiteB192",
"Sae",
"Wpa2Eap",
"Wpa2Psk",
"WpaEap",
"WpaPsk",
"StaticWep",
"DynamicWep",
"Leap",
"Owe",
"Open",
"Unknown"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 129
Parameter { name: "type"; type: "WifiSecurityType::Enum" }
}
}
Component {
file: "wired.hpp"
lineNumber: 15
name: "qs::network::WiredDevice"
accessSemantics: "reference"
prototype: "qs::network::NetworkDevice"
exports: ["Quickshell.Networking/WiredDevice 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "network"
type: "Network"
isPointer: true
bindable: "bindableNetwork"
read: "network"
notify: "networkChanged"
index: 0
lineNumber: 23
isReadonly: true
}
Property {
name: "linkSpeed"
type: "uint"
bindable: "bindableLinkSpeed"
read: "default"
notify: "linkSpeedChanged"
index: 1
lineNumber: 25
isReadonly: true
}
Property {
name: "hasLink"
type: "bool"
bindable: "bindableHasLink"
read: "default"
notify: "hasLinkChanged"
index: 2
lineNumber: 27
isReadonly: true
}
Signal { name: "networkChanged"; lineNumber: 41 }
Signal { name: "linkSpeedChanged"; lineNumber: 42 }
Signal { name: "hasLinkChanged"; lineNumber: 43 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.Greetd
linktarget quickshell-service-greetdplugin
optional plugin quickshell-service-greetdplugin
classname Quickshell_Services_GreetdPlugin
typeinfo quickshell-service-greetd.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/Greetd/
depends QtQuick
@@ -0,0 +1,127 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 16
name: "Greetd"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Greetd/Greetd 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "available"
type: "bool"
read: "isAvailable"
index: 0
lineNumber: 19
isReadonly: true
isPropertyConstant: true
}
Property {
name: "state"
type: "GreetdState::Enum"
read: "state"
notify: "stateChanged"
index: 1
lineNumber: 21
isReadonly: true
}
Property {
name: "user"
type: "QString"
read: "user"
notify: "userChanged"
index: 2
lineNumber: 23
isReadonly: true
}
Signal {
name: "authMessage"
lineNumber: 78
Parameter { name: "message"; type: "QString" }
Parameter { name: "error"; type: "bool" }
Parameter { name: "responseRequired"; type: "bool" }
Parameter { name: "echoResponse"; type: "bool" }
}
Signal {
name: "authFailure"
lineNumber: 82
Parameter { name: "message"; type: "QString" }
}
Signal { name: "readyToLaunch"; lineNumber: 84 }
Signal { name: "launched"; lineNumber: 89 }
Signal {
name: "error"
lineNumber: 91
Parameter { name: "error"; type: "QString" }
}
Signal { name: "stateChanged"; lineNumber: 93 }
Signal { name: "userChanged"; lineNumber: 94 }
Method {
name: "createSession"
lineNumber: 31
Parameter { name: "user"; type: "QString" }
}
Method { name: "cancelSession"; lineNumber: 33 }
Method {
name: "respond"
lineNumber: 37
Parameter { name: "response"; type: "QString" }
}
Method {
name: "launch"
lineNumber: 44
Parameter { name: "command"; type: "QString"; isList: true }
}
Method {
name: "launch"
lineNumber: 47
Parameter { name: "command"; type: "QString"; isList: true }
Parameter { name: "environment"; type: "QString"; isList: true }
}
Method {
name: "launch"
lineNumber: 59
Parameter { name: "command"; type: "QString"; isList: true }
Parameter { name: "environment"; type: "QString"; isList: true }
Parameter { name: "quit"; type: "bool" }
}
}
Component {
file: "connection.hpp"
lineNumber: 15
name: "GreetdState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Greetd/GreetdState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 21
values: [
"Inactive",
"Authenticating",
"ReadyToLaunch",
"Launching",
"Launched"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 30
Parameter { name: "value"; type: "GreetdState::Enum" }
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.Mpris
linktarget quickshell-service-mprisplugin
optional plugin quickshell-service-mprisplugin
classname Quickshell_Services_MprisPlugin
typeinfo quickshell-service-mpris.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/Mpris/
depends Quickshell
@@ -0,0 +1,529 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "player.hpp"
lineNumber: 38
name: "qs::service::mpris::MprisLoopState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Mpris/MprisLoopState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 44
values: ["None", "Track", "Playlist"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 51
Parameter { name: "status"; type: "qs::service::mpris::MprisLoopState::Enum" }
}
}
Component {
file: "player.hpp"
lineNumber: 20
name: "qs::service::mpris::MprisPlaybackState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Mpris/MprisPlaybackState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 26
values: ["Stopped", "Playing", "Paused"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 33
Parameter { name: "status"; type: "qs::service::mpris::MprisPlaybackState::Enum" }
}
}
Component {
file: "player.hpp"
lineNumber: 87
name: "qs::service::mpris::MprisPlayer"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Mpris/MprisPlayer 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "canControl"
type: "bool"
bindable: "bindableCanControl"
read: "default"
notify: "canControlChanged"
index: 0
lineNumber: 90
isReadonly: true
}
Property {
name: "canPlay"
type: "bool"
bindable: "bindableCanPlay"
read: "default"
notify: "canPlayChanged"
index: 1
lineNumber: 91
isReadonly: true
}
Property {
name: "canPause"
type: "bool"
bindable: "bindableCanPause"
read: "default"
notify: "canPauseChanged"
index: 2
lineNumber: 92
isReadonly: true
}
Property {
name: "canTogglePlaying"
type: "bool"
bindable: "bindableCanTogglePlaying"
read: "default"
notify: "canTogglePlayingChanged"
index: 3
lineNumber: 93
isReadonly: true
}
Property {
name: "canSeek"
type: "bool"
bindable: "bindableCanSeek"
read: "default"
notify: "canSeekChanged"
index: 4
lineNumber: 94
isReadonly: true
}
Property {
name: "canGoNext"
type: "bool"
bindable: "bindableCanGoNext"
read: "default"
notify: "canGoNextChanged"
index: 5
lineNumber: 95
isReadonly: true
}
Property {
name: "canGoPrevious"
type: "bool"
bindable: "bindableCanGoPrevious"
read: "default"
notify: "canGoPreviousChanged"
index: 6
lineNumber: 96
isReadonly: true
}
Property {
name: "canQuit"
type: "bool"
bindable: "bindableCanQuit"
read: "default"
notify: "canQuitChanged"
index: 7
lineNumber: 97
isReadonly: true
}
Property {
name: "canRaise"
type: "bool"
bindable: "bindableCanRaise"
read: "default"
notify: "canRaiseChanged"
index: 8
lineNumber: 98
isReadonly: true
}
Property {
name: "canSetFullscreen"
type: "bool"
bindable: "bindableCanSetFullscreen"
read: "default"
notify: "canSetFullscreenChanged"
index: 9
lineNumber: 99
isReadonly: true
}
Property {
name: "identity"
type: "QString"
bindable: "bindableIdentity"
read: "default"
notify: "identityChanged"
index: 10
lineNumber: 101
isReadonly: true
}
Property {
name: "desktopEntry"
type: "QString"
bindable: "bindableDesktopEntry"
read: "default"
notify: "desktopEntryChanged"
index: 11
lineNumber: 103
isReadonly: true
}
Property {
name: "dbusName"
type: "QString"
read: "address"
index: 12
lineNumber: 105
isReadonly: true
isPropertyConstant: true
}
Property {
name: "position"
type: "double"
read: "position"
write: "setPosition"
notify: "positionChanged"
index: 13
lineNumber: 139
}
Property {
name: "positionSupported"
type: "bool"
read: "positionSupported"
notify: "positionSupportedChanged"
index: 14
lineNumber: 140
isReadonly: true
}
Property {
name: "length"
type: "double"
read: "length"
notify: "lengthChanged"
index: 15
lineNumber: 143
isReadonly: true
}
Property {
name: "lengthSupported"
type: "bool"
bindable: "bindableLengthSupported"
read: "default"
notify: "lengthSupportedChanged"
index: 16
lineNumber: 144
isReadonly: true
}
Property {
name: "volume"
type: "double"
read: "volume"
write: "setVolume"
notify: "volumeChanged"
index: 17
lineNumber: 148
}
Property {
name: "volumeSupported"
type: "bool"
read: "volumeSupported"
notify: "volumeSupportedChanged"
index: 18
lineNumber: 149
isReadonly: true
}
Property {
name: "metadata"
type: "QVariantMap"
bindable: "bindableMetadata"
read: "default"
notify: "metadataChanged"
index: 19
lineNumber: 158
isReadonly: true
}
Property {
name: "uniqueId"
type: "uint"
bindable: "bindableUniqueId"
read: "default"
notify: "uniqueIdChanged"
index: 20
lineNumber: 163
isReadonly: true
}
Property {
name: "trackTitle"
type: "QString"
bindable: "bindableTrackTitle"
read: "default"
notify: "trackTitleChanged"
index: 21
lineNumber: 168
isReadonly: true
}
Property {
name: "trackArtist"
type: "QString"
bindable: "bindableTrackArtist"
read: "default"
notify: "trackArtistChanged"
index: 22
lineNumber: 173
isReadonly: true
}
Property {
name: "trackArtists"
type: "QString"
bindable: "bindableTrackArtist"
read: "default"
notify: "trackArtistChanged"
index: 23
lineNumber: 175
isReadonly: true
}
Property {
name: "trackAlbum"
type: "QString"
bindable: "bindableTrackAlbum"
read: "default"
notify: "trackAlbumChanged"
index: 24
lineNumber: 180
isReadonly: true
}
Property {
name: "trackAlbumArtist"
type: "QString"
bindable: "bindableTrackAlbumArtist"
read: "default"
notify: "trackAlbumArtistChanged"
index: 25
lineNumber: 185
isReadonly: true
}
Property {
name: "trackArtUrl"
type: "QString"
bindable: "bindableTrackArtUrl"
read: "default"
notify: "trackArtUrlChanged"
index: 26
lineNumber: 187
isReadonly: true
}
Property {
name: "playbackState"
type: "qs::service::mpris::MprisPlaybackState::Enum"
read: "playbackState"
write: "setPlaybackState"
notify: "playbackStateChanged"
index: 27
lineNumber: 194
}
Property {
name: "isPlaying"
type: "bool"
read: "isPlaying"
write: "setPlaying"
notify: "isPlayingChanged"
index: 28
lineNumber: 199
}
Property {
name: "loopState"
type: "qs::service::mpris::MprisLoopState::Enum"
read: "loopState"
write: "setLoopState"
notify: "loopStateChanged"
index: 29
lineNumber: 203
}
Property {
name: "loopSupported"
type: "bool"
read: "loopSupported"
notify: "loopSupportedChanged"
index: 30
lineNumber: 204
isReadonly: true
}
Property {
name: "rate"
type: "double"
read: "rate"
write: "setRate"
notify: "rateChanged"
index: 31
lineNumber: 211
}
Property {
name: "minRate"
type: "double"
bindable: "bindableMinRate"
read: "default"
notify: "minRateChanged"
index: 32
lineNumber: 212
isReadonly: true
}
Property {
name: "maxRate"
type: "double"
bindable: "bindableMaxRate"
read: "default"
notify: "maxRateChanged"
index: 33
lineNumber: 213
isReadonly: true
}
Property {
name: "shuffle"
type: "bool"
read: "shuffle"
write: "setShuffle"
notify: "shuffleChanged"
index: 34
lineNumber: 217
}
Property {
name: "shuffleSupported"
type: "bool"
read: "shuffleSupported"
notify: "shuffleSupportedChanged"
index: 35
lineNumber: 218
isReadonly: true
}
Property {
name: "fullscreen"
type: "bool"
read: "fullscreen"
write: "setFullscreen"
notify: "fullscreenChanged"
index: 36
lineNumber: 222
}
Property {
name: "supportedUriSchemes"
type: "QString"
isList: true
bindable: "bindableSupportedUriSchemes"
read: "default"
notify: "supportedUriSchemesChanged"
index: 37
lineNumber: 224
isReadonly: true
}
Property {
name: "supportedMimeTypes"
type: "QString"
isList: true
bindable: "bindableSupportedMimeTypes"
read: "default"
notify: "supportedMimeTypesChanged"
index: 38
lineNumber: 226
isReadonly: true
}
Signal { name: "trackChanged"; lineNumber: 359 }
Signal { name: "postTrackChanged"; lineNumber: 365 }
Signal { name: "ready"; lineNumber: 367 }
Signal { name: "canControlChanged"; lineNumber: 368 }
Signal { name: "canPlayChanged"; lineNumber: 369 }
Signal { name: "canPauseChanged"; lineNumber: 370 }
Signal { name: "canTogglePlayingChanged"; lineNumber: 371 }
Signal { name: "canSeekChanged"; lineNumber: 372 }
Signal { name: "canGoNextChanged"; lineNumber: 373 }
Signal { name: "canGoPreviousChanged"; lineNumber: 374 }
Signal { name: "canQuitChanged"; lineNumber: 375 }
Signal { name: "canRaiseChanged"; lineNumber: 376 }
Signal { name: "canSetFullscreenChanged"; lineNumber: 377 }
Signal { name: "identityChanged"; lineNumber: 378 }
Signal { name: "desktopEntryChanged"; lineNumber: 379 }
Signal { name: "positionChanged"; lineNumber: 380 }
Signal { name: "positionSupportedChanged"; lineNumber: 381 }
Signal { name: "lengthChanged"; lineNumber: 382 }
Signal { name: "lengthSupportedChanged"; lineNumber: 383 }
Signal { name: "volumeChanged"; lineNumber: 384 }
Signal { name: "volumeSupportedChanged"; lineNumber: 385 }
Signal { name: "metadataChanged"; lineNumber: 386 }
Signal { name: "uniqueIdChanged"; lineNumber: 387 }
Signal { name: "trackTitleChanged"; lineNumber: 388 }
Signal { name: "trackArtistChanged"; lineNumber: 389 }
Signal { name: "trackAlbumChanged"; lineNumber: 390 }
Signal { name: "trackAlbumArtistChanged"; lineNumber: 391 }
Signal { name: "trackArtUrlChanged"; lineNumber: 392 }
Signal { name: "playbackStateChanged"; lineNumber: 393 }
Signal { name: "isPlayingChanged"; lineNumber: 394 }
Signal { name: "loopStateChanged"; lineNumber: 395 }
Signal { name: "loopSupportedChanged"; lineNumber: 396 }
Signal { name: "rateChanged"; lineNumber: 397 }
Signal { name: "minRateChanged"; lineNumber: 398 }
Signal { name: "maxRateChanged"; lineNumber: 399 }
Signal { name: "shuffleChanged"; lineNumber: 400 }
Signal { name: "shuffleSupportedChanged"; lineNumber: 401 }
Signal { name: "fullscreenChanged"; lineNumber: 402 }
Signal { name: "supportedUriSchemesChanged"; lineNumber: 403 }
Signal { name: "supportedMimeTypesChanged"; lineNumber: 404 }
Method { name: "onGetAllFinished"; lineNumber: 407 }
Method { name: "onExportedPositionChanged"; lineNumber: 408 }
Method {
name: "onSeek"
lineNumber: 409
Parameter { name: "time"; type: "qlonglong" }
}
Method { name: "raise"; lineNumber: 237 }
Method { name: "quit"; lineNumber: 241 }
Method {
name: "openUri"
lineNumber: 246
Parameter { name: "uri"; type: "QString" }
}
Method { name: "next"; lineNumber: 250 }
Method { name: "previous"; lineNumber: 254 }
Method {
name: "seek"
lineNumber: 261
Parameter { name: "offset"; type: "double" }
}
Method { name: "play"; lineNumber: 263 }
Method { name: "pause"; lineNumber: 265 }
Method { name: "stop"; lineNumber: 267 }
Method { name: "togglePlaying"; lineNumber: 272 }
}
Component {
file: "watcher.hpp"
lineNumber: 45
name: "qs::service::mpris::MprisQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Mpris/Mpris 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "players"
type: "UntypedObjectModel"
isPointer: true
read: "players"
index: 0
lineNumber: 51
isReadonly: true
isPropertyConstant: true
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.Notifications
linktarget quickshell-service-notificationsplugin
optional plugin quickshell-service-notificationsplugin
classname Quickshell_Services_NotificationsPlugin
typeinfo quickshell-service-notifications.qmltypes
prefer :/qt/qml/Quickshell/Services/Notifications/
depends Quickshell
depends QtQuick
@@ -0,0 +1,441 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "notification.hpp"
lineNumber: 66
name: "qs::service::notifications::Notification"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Notifications/Notification 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "uint"
read: "id"
index: 0
lineNumber: 72
isReadonly: true
isPropertyConstant: true
}
Property {
name: "tracked"
type: "bool"
read: "isTracked"
write: "setTracked"
notify: "trackedChanged"
index: 1
lineNumber: 76
}
Property {
name: "lastGeneration"
type: "bool"
read: "isLastGeneration"
index: 2
lineNumber: 82
isReadonly: true
isPropertyConstant: true
}
Property {
name: "expireTimeout"
type: "double"
bindable: "bindableExpireTimeout"
read: "default"
notify: "expireTimeoutChanged"
index: 3
lineNumber: 84
isReadonly: true
}
Property {
name: "appName"
type: "QString"
bindable: "bindableAppName"
read: "default"
notify: "appNameChanged"
index: 4
lineNumber: 86
isReadonly: true
}
Property {
name: "appIcon"
type: "QString"
bindable: "bindableAppIcon"
read: "default"
notify: "appIconChanged"
index: 5
lineNumber: 89
isReadonly: true
}
Property {
name: "summary"
type: "QString"
bindable: "bindableSummary"
read: "default"
notify: "summaryChanged"
index: 6
lineNumber: 91
isReadonly: true
}
Property {
name: "body"
type: "QString"
bindable: "bindableBody"
read: "default"
notify: "bodyChanged"
index: 7
lineNumber: 92
isReadonly: true
}
Property {
name: "urgency"
type: "qs::service::notifications::NotificationUrgency::Enum"
bindable: "bindableUrgency"
read: "default"
notify: "urgencyChanged"
index: 8
lineNumber: 93
isReadonly: true
}
Property {
name: "actions"
type: "QList<qs::service::notifications::NotificationAction*>"
read: "actions"
notify: "actionsChanged"
index: 9
lineNumber: 95
isReadonly: true
}
Property {
name: "hasActionIcons"
type: "bool"
bindable: "bindableHasActionIcons"
read: "default"
notify: "hasActionIconsChanged"
index: 10
lineNumber: 99
isReadonly: true
}
Property {
name: "resident"
type: "bool"
bindable: "bindableResident"
read: "default"
notify: "residentChanged"
index: 11
lineNumber: 101
isReadonly: true
}
Property {
name: "transient"
type: "bool"
bindable: "bindableTransient"
read: "default"
notify: "transientChanged"
index: 12
lineNumber: 103
isReadonly: true
}
Property {
name: "desktopEntry"
type: "QString"
bindable: "bindableDesktopEntry"
read: "default"
notify: "desktopEntryChanged"
index: 13
lineNumber: 105
isReadonly: true
}
Property {
name: "image"
type: "QString"
bindable: "bindableImage"
read: "default"
notify: "imageChanged"
index: 14
lineNumber: 109
isReadonly: true
}
Property {
name: "hasInlineReply"
type: "bool"
bindable: "bindableHasInlineReply"
read: "default"
notify: "hasInlineReplyChanged"
index: 15
lineNumber: 113
isReadonly: true
}
Property {
name: "inlineReplyPlaceholder"
type: "QString"
bindable: "bindableInlineReplyPlaceholder"
read: "default"
notify: "inlineReplyPlaceholderChanged"
index: 16
lineNumber: 115
isReadonly: true
}
Property {
name: "hints"
type: "QVariantMap"
bindable: "bindableHints"
read: "default"
notify: "hintsChanged"
index: 17
lineNumber: 118
isReadonly: true
}
Signal {
name: "closed"
lineNumber: 188
Parameter { name: "reason"; type: "qs::service::notifications::NotificationCloseReason::Enum" }
}
Signal { name: "trackedChanged"; lineNumber: 190 }
Signal { name: "expireTimeoutChanged"; lineNumber: 191 }
Signal { name: "appNameChanged"; lineNumber: 192 }
Signal { name: "appIconChanged"; lineNumber: 193 }
Signal { name: "summaryChanged"; lineNumber: 194 }
Signal { name: "bodyChanged"; lineNumber: 195 }
Signal { name: "urgencyChanged"; lineNumber: 196 }
Signal { name: "actionsChanged"; lineNumber: 197 }
Signal { name: "hasActionIconsChanged"; lineNumber: 198 }
Signal { name: "residentChanged"; lineNumber: 199 }
Signal { name: "transientChanged"; lineNumber: 200 }
Signal { name: "desktopEntryChanged"; lineNumber: 201 }
Signal { name: "imageChanged"; lineNumber: 202 }
Signal { name: "hasInlineReplyChanged"; lineNumber: 203 }
Signal { name: "inlineReplyPlaceholderChanged"; lineNumber: 204 }
Signal { name: "hintsChanged"; lineNumber: 205 }
Method { name: "expire"; lineNumber: 128 }
Method { name: "dismiss"; lineNumber: 131 }
Method {
name: "sendInlineReply"
lineNumber: 137
Parameter { name: "replyText"; type: "QString" }
}
}
Component {
file: "notification.hpp"
lineNumber: 241
name: "qs::service::notifications::NotificationAction"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Notifications/NotificationAction 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "identifier"
type: "QString"
read: "identifier"
index: 0
lineNumber: 247
isReadonly: true
isPropertyConstant: true
}
Property {
name: "text"
type: "QString"
read: "text"
notify: "textChanged"
index: 1
lineNumber: 249
isReadonly: true
}
Signal { name: "textChanged"; lineNumber: 268 }
Method { name: "invoke"; lineNumber: 261 }
}
Component {
file: "notification.hpp"
lineNumber: 39
name: "qs::service::notifications::NotificationCloseReason"
accessSemantics: "reference"
prototype: "QObject"
exports: [
"Quickshell.Services.Notifications/NotificationCloseReason 0.0"
]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 45
values: ["Expired", "Dismissed", "CloseRequested"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 56
Parameter { name: "value"; type: "qs::service::notifications::NotificationCloseReason::Enum" }
}
}
Component {
file: "qml.hpp"
lineNumber: 24
name: "qs::service::notifications::NotificationServerQml"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.Services.Notifications/NotificationServer 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "keepOnReload"
type: "bool"
read: "keepOnReload"
write: "setKeepOnReload"
notify: "keepOnReloadChanged"
index: 0
lineNumber: 31
}
Property {
name: "persistenceSupported"
type: "bool"
read: "persistenceSupported"
write: "setPersistenceSupported"
notify: "persistenceSupportedChanged"
index: 1
lineNumber: 34
}
Property {
name: "bodySupported"
type: "bool"
read: "bodySupported"
write: "setBodySupported"
notify: "bodySupportedChanged"
index: 2
lineNumber: 40
}
Property {
name: "bodyMarkupSupported"
type: "bool"
read: "bodyMarkupSupported"
write: "setBodyMarkupSupported"
notify: "bodyMarkupSupportedChanged"
index: 3
lineNumber: 47
}
Property {
name: "bodyHyperlinksSupported"
type: "bool"
read: "bodyHyperlinksSupported"
write: "setBodyHyperlinksSupported"
notify: "bodyHyperlinksSupportedChanged"
index: 4
lineNumber: 54
}
Property {
name: "bodyImagesSupported"
type: "bool"
read: "bodyImagesSupported"
write: "setBodyImagesSupported"
notify: "bodyImagesSupportedChanged"
index: 5
lineNumber: 61
}
Property {
name: "actionsSupported"
type: "bool"
read: "actionsSupported"
write: "setActionsSupported"
notify: "actionsSupportedChanged"
index: 6
lineNumber: 63
}
Property {
name: "actionIconsSupported"
type: "bool"
read: "actionIconsSupported"
write: "setActionIconsSupported"
notify: "actionIconsSupportedChanged"
index: 7
lineNumber: 65
}
Property {
name: "imageSupported"
type: "bool"
read: "imageSupported"
write: "setImageSupported"
notify: "imageSupportedChanged"
index: 8
lineNumber: 67
}
Property {
name: "inlineReplySupported"
type: "bool"
read: "inlineReplySupported"
write: "setInlineReplySupported"
notify: "inlineReplySupportedChanged"
index: 9
lineNumber: 69
}
Property {
name: "trackedNotifications"
type: "UntypedObjectModel"
isPointer: true
read: "trackedNotifications"
notify: "trackedNotificationsChanged"
index: 10
lineNumber: 72
isReadonly: true
}
Property {
name: "extraHints"
type: "QString"
isList: true
read: "extraHints"
write: "setExtraHints"
notify: "extraHintsChanged"
index: 11
lineNumber: 74
}
Signal {
name: "notification"
lineNumber: 120
Parameter {
name: "notification"
type: "qs::service::notifications::Notification"
isPointer: true
}
}
Signal { name: "keepOnReloadChanged"; lineNumber: 122 }
Signal { name: "persistenceSupportedChanged"; lineNumber: 123 }
Signal { name: "bodySupportedChanged"; lineNumber: 124 }
Signal { name: "bodyMarkupSupportedChanged"; lineNumber: 125 }
Signal { name: "bodyHyperlinksSupportedChanged"; lineNumber: 126 }
Signal { name: "bodyImagesSupportedChanged"; lineNumber: 127 }
Signal { name: "actionsSupportedChanged"; lineNumber: 128 }
Signal { name: "actionIconsSupportedChanged"; lineNumber: 129 }
Signal { name: "imageSupportedChanged"; lineNumber: 130 }
Signal { name: "inlineReplySupportedChanged"; lineNumber: 131 }
Signal { name: "extraHintsChanged"; lineNumber: 132 }
Signal { name: "trackedNotificationsChanged"; lineNumber: 133 }
}
Component {
file: "notification.hpp"
lineNumber: 21
name: "qs::service::notifications::NotificationUrgency"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Notifications/NotificationUrgency 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 27
values: ["Low", "Normal", "Critical"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 34
Parameter { name: "value"; type: "qs::service::notifications::NotificationUrgency::Enum" }
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.Pam
linktarget quickshell-service-pamplugin
optional plugin quickshell-service-pamplugin
classname Quickshell_Services_PamPlugin
typeinfo quickshell-service-pam.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/Pam/
depends QtQuick
@@ -0,0 +1,181 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 20
name: "PamContext"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: ["Quickshell.Services.Pam/PamContext 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "active"
type: "bool"
read: "isActive"
write: "setActive"
notify: "activeChanged"
index: 0
lineNumber: 31
}
Property {
name: "config"
type: "QString"
read: "config"
write: "setConfig"
notify: "configChanged"
index: 1
lineNumber: 37
}
Property {
name: "configDirectory"
type: "QString"
read: "configDirectory"
write: "setConfigDirectory"
notify: "configDirectoryChanged"
index: 2
lineNumber: 45
}
Property {
name: "user"
type: "QString"
read: "user"
write: "setUser"
notify: "userChanged"
index: 3
lineNumber: 49
}
Property {
name: "message"
type: "QString"
read: "message"
notify: "messageChanged"
index: 4
lineNumber: 51
isReadonly: true
}
Property {
name: "messageIsError"
type: "bool"
read: "messageIsError"
notify: "messageIsErrorChanged"
index: 5
lineNumber: 53
isReadonly: true
}
Property {
name: "responseRequired"
type: "bool"
read: "isResponseRequired"
notify: "responseRequiredChanged"
index: 6
lineNumber: 57
isReadonly: true
}
Property {
name: "responseVisible"
type: "bool"
read: "isResponseVisible"
notify: "responseVisibleChanged"
index: 7
lineNumber: 59
isReadonly: true
}
Signal {
name: "completed"
lineNumber: 101
Parameter { name: "result"; type: "PamResult::Enum" }
}
Signal {
name: "error"
lineNumber: 105
Parameter { name: "error"; type: "PamError::Enum" }
}
Signal { name: "pamMessage"; lineNumber: 109 }
Signal { name: "activeChanged"; lineNumber: 111 }
Signal { name: "configChanged"; lineNumber: 112 }
Signal { name: "configDirectoryChanged"; lineNumber: 113 }
Signal { name: "userChanged"; lineNumber: 114 }
Signal { name: "messageChanged"; lineNumber: 115 }
Signal { name: "messageIsErrorChanged"; lineNumber: 116 }
Signal { name: "responseRequiredChanged"; lineNumber: 117 }
Signal { name: "responseVisibleChanged"; lineNumber: 118 }
Method {
name: "onCompleted"
lineNumber: 121
Parameter { name: "result"; type: "PamResult::Enum" }
}
Method {
name: "onError"
lineNumber: 122
Parameter { name: "error"; type: "PamError::Enum" }
}
Method {
name: "onMessage"
lineNumber: 123
Parameter { name: "message"; type: "QString" }
Parameter { name: "isError"; type: "bool" }
Parameter { name: "responseRequired"; type: "bool" }
Parameter { name: "responseVisible"; type: "bool" }
}
Method { name: "start"; type: "bool"; lineNumber: 72 }
Method { name: "abort"; lineNumber: 75 }
Method {
name: "respond"
lineNumber: 80
Parameter { name: "response"; type: "QString" }
}
}
Component {
file: "conversation.hpp"
lineNumber: 41
name: "PamError"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pam/PamError 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 47
values: ["StartFailed", "TryAuthFailed", "InternalError"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 58
Parameter { name: "value"; type: "PamError::Enum" }
}
}
Component {
file: "conversation.hpp"
lineNumber: 18
name: "PamResult"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pam/PamResult 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 24
values: ["Success", "Failed", "Error", "MaxTries"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 36
Parameter { name: "value"; type: "PamResult::Enum" }
}
}
}
@@ -0,0 +1,10 @@
module Quickshell.Services.Pipewire
linktarget quickshell-service-pipewireplugin
optional plugin quickshell-service-pipewireplugin
classname Quickshell_Services_PipewirePlugin
typeinfo quickshell-service-pipewire.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/Pipewire/
depends Quickshell
depends QtQuick
@@ -0,0 +1,646 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 56
name: "qs::service::pipewire::Pipewire"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/Pipewire 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "nodes"
type: "UntypedObjectModel"
isPointer: true
read: "nodes"
index: 0
lineNumber: 67
isReadonly: true
isPropertyConstant: true
}
Property {
name: "links"
type: "UntypedObjectModel"
isPointer: true
read: "links"
index: 1
lineNumber: 79
isReadonly: true
isPropertyConstant: true
}
Property {
name: "linkGroups"
type: "UntypedObjectModel"
isPointer: true
read: "linkGroups"
index: 2
lineNumber: 87
isReadonly: true
isPropertyConstant: true
}
Property {
name: "defaultAudioSink"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "defaultAudioSink"
notify: "defaultAudioSinkChanged"
index: 3
lineNumber: 97
isReadonly: true
}
Property {
name: "defaultAudioSource"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "defaultAudioSource"
notify: "defaultAudioSourceChanged"
index: 4
lineNumber: 107
isReadonly: true
}
Property {
name: "preferredDefaultAudioSink"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "defaultConfiguredAudioSink"
write: "setDefaultConfiguredAudioSink"
notify: "defaultConfiguredAudioSinkChanged"
index: 5
lineNumber: 114
}
Property {
name: "preferredDefaultAudioSource"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "defaultConfiguredAudioSource"
write: "setDefaultConfiguredAudioSource"
notify: "defaultConfiguredAudioSourceChanged"
index: 6
lineNumber: 121
}
Property {
name: "ready"
type: "bool"
read: "isReady"
notify: "readyChanged"
index: 7
lineNumber: 128
isReadonly: true
}
Signal { name: "defaultAudioSinkChanged"; lineNumber: 152 }
Signal { name: "defaultAudioSourceChanged"; lineNumber: 153 }
Signal { name: "defaultConfiguredAudioSinkChanged"; lineNumber: 155 }
Signal { name: "defaultConfiguredAudioSourceChanged"; lineNumber: 156 }
Signal { name: "readyChanged"; lineNumber: 158 }
Method {
name: "onNodeAdded"
lineNumber: 161
Parameter { name: "node"; type: "PwNode"; isPointer: true }
}
Method {
name: "onNodeRemoved"
lineNumber: 162
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
Method {
name: "onLinkAdded"
lineNumber: 163
Parameter { name: "link"; type: "PwLink"; isPointer: true }
}
Method {
name: "onLinkRemoved"
lineNumber: 164
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
Method {
name: "onLinkGroupAdded"
lineNumber: 165
Parameter { name: "group"; type: "PwLinkGroup"; isPointer: true }
}
Method {
name: "onLinkGroupRemoved"
lineNumber: 166
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
}
Component {
file: "node.hpp"
lineNumber: 27
name: "qs::service::pipewire::PwAudioChannel"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwAudioChannel 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
lineNumber: 33
values: [
"Unknown",
"NA",
"Mono",
"FrontCenter",
"FrontLeft",
"FrontRight",
"FrontLeftCenter",
"FrontRightCenter",
"FrontLeftWide",
"FrontRightWide",
"FrontCenterHigh",
"FrontLeftHigh",
"FrontRightHigh",
"LowFrequencyEffects",
"LowFrequencyEffects2",
"LowFrequencyEffectsLeft",
"LowFrequencyEffectsRight",
"SideLeft",
"SideRight",
"RearCenter",
"RearLeft",
"RearRight",
"RearLeftCenter",
"RearRightCenter",
"TopCenter",
"TopFrontCenter",
"TopFrontLeft",
"TopFrontRight",
"TopFrontLeftCenter",
"TopFrontRightCenter",
"TopSideLeft",
"TopSideRight",
"TopRearCenter",
"TopRearLeft",
"TopRearRight",
"BottomCenter",
"BottomLeftCenter",
"BottomRightCenter",
"AuxRangeStart",
"AuxRangeEnd",
"CustomRangeStart"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 89
Parameter { name: "value"; type: "qs::service::pipewire::PwAudioChannel::Enum" }
}
}
Component {
file: "qml.hpp"
lineNumber: 388
name: "qs::service::pipewire::PwLinkGroupIface"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwLinkGroup 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "target"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "target"
index: 0
lineNumber: 393
isReadonly: true
isPropertyConstant: true
}
Property {
name: "source"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "source"
index: 1
lineNumber: 395
isReadonly: true
isPropertyConstant: true
}
Property {
name: "state"
type: "qs::service::pipewire::PwLinkState::Enum"
read: "state"
notify: "stateChanged"
index: 2
lineNumber: 399
isReadonly: true
}
Signal { name: "stateChanged"; lineNumber: 420 }
}
Component {
file: "qml.hpp"
lineNumber: 350
name: "qs::service::pipewire::PwLinkIface"
accessSemantics: "reference"
prototype: "qs::service::pipewire::PwObjectIface"
exports: ["Quickshell.Services.Pipewire/PwLink 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "uint"
read: "id"
index: 0
lineNumber: 356
isReadonly: true
isPropertyConstant: true
}
Property {
name: "target"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "target"
index: 1
lineNumber: 358
isReadonly: true
isPropertyConstant: true
}
Property {
name: "source"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "source"
index: 2
lineNumber: 360
isReadonly: true
isPropertyConstant: true
}
Property {
name: "state"
type: "PwLinkState::Enum"
read: "state"
notify: "stateChanged"
index: 3
lineNumber: 364
isReadonly: true
}
Signal { name: "stateChanged"; lineNumber: 380 }
}
Component {
file: "link.hpp"
lineNumber: 18
name: "qs::service::pipewire::PwLinkState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwLinkState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "qint8"
lineNumber: 24
values: [
"Error",
"Unlinked",
"Init",
"Negotiating",
"Allocating",
"Paused",
"Active"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 35
Parameter { name: "value"; type: "qs::service::pipewire::PwLinkState::Enum" }
}
}
Component {
file: "qml.hpp"
lineNumber: 220
name: "qs::service::pipewire::PwNodeAudioIface"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwNodeAudio 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "muted"
type: "bool"
read: "isMuted"
write: "setMuted"
notify: "mutedChanged"
index: 0
lineNumber: 226
}
Property {
name: "volume"
type: "float"
read: "averageVolume"
write: "setAverageVolume"
notify: "volumesChanged"
index: 1
lineNumber: 231
}
Property {
name: "channels"
type: "qs::service::pipewire::PwAudioChannel::Enum"
isList: true
read: "channels"
notify: "channelsChanged"
index: 2
lineNumber: 235
isReadonly: true
}
Property {
name: "volumes"
type: "float"
isList: true
read: "volumes"
write: "setVolumes"
notify: "volumesChanged"
index: 3
lineNumber: 241
}
Signal { name: "mutedChanged"; lineNumber: 261 }
Signal { name: "channelsChanged"; lineNumber: 262 }
Signal { name: "volumesChanged"; lineNumber: 263 }
}
Component {
file: "qml.hpp"
lineNumber: 270
name: "qs::service::pipewire::PwNodeIface"
accessSemantics: "reference"
prototype: "qs::service::pipewire::PwObjectIface"
exports: ["Quickshell.Services.Pipewire/PwNode 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "uint"
read: "id"
index: 0
lineNumber: 276
isReadonly: true
isPropertyConstant: true
}
Property {
name: "name"
type: "QString"
read: "name"
index: 1
lineNumber: 278
isReadonly: true
isPropertyConstant: true
}
Property {
name: "description"
type: "QString"
read: "description"
index: 2
lineNumber: 282
isReadonly: true
isPropertyConstant: true
}
Property {
name: "nickname"
type: "QString"
read: "nickname"
index: 3
lineNumber: 286
isReadonly: true
isPropertyConstant: true
}
Property {
name: "isSink"
type: "bool"
read: "isSink"
index: 4
lineNumber: 289
isReadonly: true
isPropertyConstant: true
}
Property {
name: "isStream"
type: "bool"
read: "isStream"
index: 5
lineNumber: 292
isReadonly: true
isPropertyConstant: true
}
Property {
name: "type"
type: "qs::service::pipewire::PwNodeType::Flags"
read: "type"
index: 6
lineNumber: 294
isReadonly: true
isPropertyConstant: true
}
Property {
name: "properties"
type: "QVariantMap"
read: "properties"
notify: "propertiesChanged"
index: 7
lineNumber: 307
isReadonly: true
}
Property {
name: "audio"
type: "qs::service::pipewire::PwNodeAudioIface"
isPointer: true
read: "audio"
index: 8
lineNumber: 312
isReadonly: true
isPropertyConstant: true
}
Property {
name: "ready"
type: "bool"
read: "isReady"
notify: "readyChanged"
index: 9
lineNumber: 317
isReadonly: true
}
Signal { name: "propertiesChanged"; lineNumber: 339 }
Signal { name: "readyChanged"; lineNumber: 340 }
}
Component {
file: "qml.hpp"
lineNumber: 175
name: "qs::service::pipewire::PwNodeLinkTracker"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwNodeLinkTracker 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "node"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "node"
write: "setNode"
notify: "nodeChanged"
index: 0
lineNumber: 179
}
Property {
name: "linkGroups"
type: "qs::service::pipewire::PwLinkGroupIface"
isList: true
read: "linkGroups"
notify: "linkGroupsChanged"
index: 1
lineNumber: 184
isReadonly: true
}
Signal { name: "nodeChanged"; lineNumber: 197 }
Signal { name: "linkGroupsChanged"; lineNumber: 198 }
Method { name: "onNodeDestroyed"; lineNumber: 201 }
Method {
name: "onLinkGroupCreated"
lineNumber: 202
Parameter { name: "linkGroup"; type: "PwLinkGroup"; isPointer: true }
}
Method {
name: "onLinkGroupDestroyed"
lineNumber: 203
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
}
Component {
file: "peak.hpp"
lineNumber: 21
name: "qs::service::pipewire::PwNodePeakMonitor"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwNodePeakMonitor 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "node"
type: "qs::service::pipewire::PwNodeIface"
isPointer: true
read: "node"
write: "setNode"
notify: "nodeChanged"
index: 0
lineNumber: 25
}
Property {
name: "enabled"
type: "bool"
read: "isEnabled"
write: "setEnabled"
notify: "enabledChanged"
index: 1
lineNumber: 27
}
Property {
name: "peaks"
type: "float"
isList: true
read: "peaks"
notify: "peaksChanged"
index: 2
lineNumber: 31
isReadonly: true
}
Property {
name: "peak"
type: "float"
read: "peak"
notify: "peakChanged"
index: 3
lineNumber: 33
isReadonly: true
}
Property {
name: "channels"
type: "qs::service::pipewire::PwAudioChannel::Enum"
isList: true
read: "channels"
notify: "channelsChanged"
index: 4
lineNumber: 35
isReadonly: true
}
Signal { name: "nodeChanged"; lineNumber: 55 }
Signal { name: "enabledChanged"; lineNumber: 56 }
Signal { name: "peaksChanged"; lineNumber: 57 }
Signal { name: "peakChanged"; lineNumber: 58 }
Signal { name: "channelsChanged"; lineNumber: 59 }
Method { name: "onNodeDestroyed"; lineNumber: 62 }
}
Component {
file: "node.hpp"
lineNumber: 93
name: "qs::service::pipewire::PwNodeType"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwNodeType 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Flag"
type: "quint8"
lineNumber: 99
values: [
"Untracked",
"Audio",
"Video",
"Stream",
"Source",
"Sink",
"AudioSink",
"AudioSource",
"AudioDuplex",
"AudioOutStream",
"AudioInStream",
"VideoSource",
"VideoSink"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 151
Parameter { name: "type"; type: "qs::service::pipewire::PwNodeType::Flags" }
}
}
Component {
file: "qml.hpp"
lineNumber: 33
name: "qs::service::pipewire::PwObjectIface"
accessSemantics: "reference"
prototype: "QObject"
Method { name: "onObjectDestroying"; lineNumber: 48 }
}
Component {
file: "qml.hpp"
lineNumber: 437
name: "qs::service::pipewire::PwObjectTracker"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Pipewire/PwObjectTracker 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "objects"
type: "QObjectList"
read: "objects"
write: "setObjects"
notify: "objectsChanged"
index: 0
lineNumber: 440
}
Signal { name: "objectsChanged"; lineNumber: 452 }
Method {
name: "objectDestroyed"
lineNumber: 455
Parameter { name: "object"; type: "QObject"; isPointer: true }
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.Polkit
linktarget quickshell-service-polkitplugin
optional plugin quickshell-service-polkitplugin
classname Quickshell_Services_PolkitPlugin
typeinfo quickshell-service-polkit.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/Polkit/
depends QtQuick
@@ -0,0 +1,251 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "flow.hpp"
lineNumber: 14
name: "qs::service::polkit::AuthFlow"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.Polkit/AuthFlow 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "message"
type: "QString"
read: "message"
index: 0
lineNumber: 24
isReadonly: true
isPropertyConstant: true
}
Property {
name: "iconName"
type: "QString"
read: "iconName"
index: 1
lineNumber: 31
isReadonly: true
isPropertyConstant: true
}
Property {
name: "actionId"
type: "QString"
read: "actionId"
index: 2
lineNumber: 36
isReadonly: true
isPropertyConstant: true
}
Property {
name: "cookie"
type: "QString"
read: "cookie"
index: 3
lineNumber: 41
isReadonly: true
isPropertyConstant: true
}
Property {
name: "identities"
type: "QList<Identity*>"
read: "identities"
index: 4
lineNumber: 48
isReadonly: true
isPropertyConstant: true
}
Property {
name: "selectedIdentity"
type: "Identity"
isPointer: true
bindable: "selectedIdentity"
read: "default"
write: "setSelectedIdentity"
notify: "selectedIdentityChanged"
index: 5
lineNumber: 53
}
Property {
name: "isResponseRequired"
type: "bool"
bindable: "isResponseRequired"
read: "default"
notify: "isResponseRequiredChanged"
index: 6
lineNumber: 57
isReadonly: true
}
Property {
name: "inputPrompt"
type: "QString"
bindable: "inputPrompt"
read: "default"
notify: "inputPromptChanged"
index: 7
lineNumber: 60
isReadonly: true
}
Property {
name: "responseVisible"
type: "bool"
bindable: "responseVisible"
read: "default"
notify: "responseVisibleChanged"
index: 8
lineNumber: 63
isReadonly: true
}
Property {
name: "supplementaryMessage"
type: "QString"
bindable: "supplementaryMessage"
read: "default"
notify: "supplementaryMessageChanged"
index: 9
lineNumber: 69
isReadonly: true
}
Property {
name: "supplementaryIsError"
type: "bool"
bindable: "supplementaryIsError"
read: "default"
notify: "supplementaryIsErrorChanged"
index: 10
lineNumber: 72
isReadonly: true
}
Property {
name: "isCompleted"
type: "bool"
bindable: "isCompleted"
read: "default"
notify: "isCompletedChanged"
index: 11
lineNumber: 75
isReadonly: true
}
Property {
name: "isSuccessful"
type: "bool"
bindable: "isSuccessful"
read: "default"
notify: "isSuccessfulChanged"
index: 12
lineNumber: 78
isReadonly: true
}
Property {
name: "isCancelled"
type: "bool"
bindable: "isCancelled"
read: "default"
notify: "isCancelledChanged"
index: 13
lineNumber: 81
isReadonly: true
}
Property {
name: "failed"
type: "bool"
bindable: "failed"
read: "default"
notify: "failedChanged"
index: 14
lineNumber: 84
isReadonly: true
}
Signal { name: "authenticationSucceeded"; lineNumber: 124 }
Signal { name: "authenticationFailed"; lineNumber: 135 }
Signal { name: "authenticationRequestCancelled"; lineNumber: 138 }
Signal { name: "selectedIdentityChanged"; lineNumber: 140 }
Signal { name: "isResponseRequiredChanged"; lineNumber: 141 }
Signal { name: "inputPromptChanged"; lineNumber: 142 }
Signal { name: "responseVisibleChanged"; lineNumber: 143 }
Signal { name: "supplementaryMessageChanged"; lineNumber: 144 }
Signal { name: "supplementaryIsErrorChanged"; lineNumber: 145 }
Signal { name: "isCompletedChanged"; lineNumber: 146 }
Signal { name: "isSuccessfulChanged"; lineNumber: 147 }
Signal { name: "isCancelledChanged"; lineNumber: 148 }
Signal { name: "failedChanged"; lineNumber: 149 }
Method {
name: "request"
lineNumber: 153
Parameter { name: "message"; type: "QString" }
Parameter { name: "echo"; type: "bool" }
}
Method {
name: "completed"
lineNumber: 154
Parameter { name: "gainedAuthorization"; type: "bool" }
}
Method {
name: "showError"
lineNumber: 155
Parameter { name: "message"; type: "QString" }
}
Method {
name: "showInfo"
lineNumber: 156
Parameter { name: "message"; type: "QString" }
}
Method {
name: "submit"
lineNumber: 95
Parameter { name: "value"; type: "QString" }
}
Method { name: "cancelAuthenticationRequest"; lineNumber: 97 }
}
Component {
file: "qml.hpp"
lineNumber: 25
name: "qs::service::polkit::PolkitAgent"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: ["Quickshell.Services.Polkit/PolkitAgent 0.0"]
exportMetaObjectRevisions: [0]
Property { name: "path"; type: "QString"; read: "path"; write: "setPath"; index: 0; lineNumber: 36 }
Property {
name: "isRegistered"
type: "bool"
bindable: "isRegistered"
read: "default"
notify: "isRegisteredChanged"
index: 1
lineNumber: 39
isReadonly: true
}
Property {
name: "isActive"
type: "bool"
bindable: "isActive"
read: "default"
notify: "isActiveChanged"
index: 2
lineNumber: 45
isReadonly: true
}
Property {
name: "flow"
type: "AuthFlow"
isPointer: true
bindable: "flow"
read: "default"
notify: "flowChanged"
index: 3
lineNumber: 50
isReadonly: true
}
Signal { name: "authenticationRequestStarted"; lineNumber: 71 }
Signal { name: "isRegisteredChanged"; lineNumber: 73 }
Signal { name: "isActiveChanged"; lineNumber: 74 }
Signal { name: "flowChanged"; lineNumber: 75 }
}
}
@@ -0,0 +1,11 @@
module Quickshell.Services.SystemTray
linktarget quickshell-service-statusnotifierplugin
optional plugin quickshell-service-statusnotifierplugin
classname Quickshell_Services_SystemTrayPlugin
typeinfo quickshell-service-statusnotifier.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/SystemTray/
depends Quickshell
depends Quickshell.DBusMenu
depends QtQuick
@@ -0,0 +1,211 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 16
name: "SystemTray"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.SystemTray/SystemTray 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "items"
type: "UntypedObjectModel"
isPointer: true
read: "items"
index: 0
lineNumber: 20
isReadonly: true
isPropertyConstant: true
}
Method {
name: "onItemRegistered"
lineNumber: 30
Parameter { name: "item"; type: "qs::service::sni::StatusNotifierItem"; isPointer: true }
}
Method {
name: "onItemUnregistered"
lineNumber: 31
Parameter { name: "item"; type: "qs::service::sni::StatusNotifierItem"; isPointer: true }
}
}
Component {
file: "item.hpp"
lineNumber: 43
name: "qs::service::sni::Category"
accessSemantics: "none"
exports: ["Quickshell.Services.SystemTray/Category 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 47
values: [
"Hardware",
"SystemServices",
"ApplicationStatus",
"Communications"
]
}
}
Component {
file: "item.hpp"
lineNumber: 26
name: "qs::service::sni::Status"
accessSemantics: "none"
exports: ["Quickshell.Services.SystemTray/Status 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 30
values: ["Passive", "Active", "NeedsAttention"]
}
}
Component {
file: "item.hpp"
lineNumber: 100
name: "qs::service::sni::StatusNotifierItem"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.SystemTray/SystemTrayItem 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "QString"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 0
lineNumber: 105
isReadonly: true
}
Property {
name: "title"
type: "QString"
bindable: "bindableTitle"
read: "default"
notify: "titleChanged"
index: 1
lineNumber: 107
isReadonly: true
}
Property {
name: "status"
type: "qs::service::sni::Status::Enum"
bindable: "bindableStatus"
read: "default"
notify: "statusChanged"
index: 2
lineNumber: 108
isReadonly: true
}
Property {
name: "category"
type: "qs::service::sni::Category::Enum"
bindable: "bindableCategory"
read: "default"
notify: "categoryChanged"
index: 3
lineNumber: 109
isReadonly: true
}
Property {
name: "icon"
type: "QString"
bindable: "bindableIcon"
read: "default"
notify: "iconChanged"
index: 4
lineNumber: 111
isReadonly: true
}
Property {
name: "tooltipTitle"
type: "QString"
read: "tooltipTitle"
notify: "tooltipTitleChanged"
index: 5
lineNumber: 112
isReadonly: true
}
Property {
name: "tooltipDescription"
type: "QString"
read: "tooltipDescription"
notify: "tooltipDescriptionChanged"
index: 6
lineNumber: 113
isReadonly: true
}
Property {
name: "hasMenu"
type: "bool"
bindable: "bindableHasMenu"
read: "default"
notify: "hasMenuChanged"
index: 7
lineNumber: 115
isReadonly: true
}
Property {
name: "menu"
type: "qs::dbus::dbusmenu::DBusMenuHandle"
isPointer: true
read: "menuHandle"
notify: "hasMenuChanged"
index: 8
lineNumber: 119
isReadonly: true
}
Property {
name: "onlyMenu"
type: "bool"
bindable: "bindableOnlyMenu"
read: "default"
notify: "onlyMenuChanged"
index: 9
lineNumber: 121
isReadonly: true
}
Signal { name: "ready"; lineNumber: 155 }
Signal { name: "idChanged"; lineNumber: 157 }
Signal { name: "titleChanged"; lineNumber: 158 }
Signal { name: "iconChanged"; lineNumber: 159 }
Signal { name: "statusChanged"; lineNumber: 160 }
Signal { name: "categoryChanged"; lineNumber: 161 }
Signal { name: "tooltipTitleChanged"; lineNumber: 162 }
Signal { name: "tooltipDescriptionChanged"; lineNumber: 163 }
Signal { name: "hasMenuChanged"; lineNumber: 164 }
Signal { name: "onlyMenuChanged"; lineNumber: 165 }
Method { name: "onGetAllFinished"; lineNumber: 168 }
Method { name: "onGetAllFailed"; isMethodConstant: true; lineNumber: 169 }
Method { name: "activate"; lineNumber: 130 }
Method { name: "secondaryActivate"; lineNumber: 132 }
Method {
name: "scroll"
isMethodConstant: true
lineNumber: 134
Parameter { name: "delta"; type: "int" }
Parameter { name: "horizontal"; type: "bool" }
}
Method {
name: "display"
lineNumber: 136
Parameter { name: "parentWindow"; type: "QObject"; isPointer: true }
Parameter { name: "relativeX"; type: "int" }
Parameter { name: "relativeY"; type: "int" }
}
}
}
@@ -0,0 +1,9 @@
module Quickshell.Services.UPower
linktarget quickshell-service-upowerplugin
optional plugin quickshell-service-upowerplugin
classname Quickshell_Services_UPowerPlugin
typeinfo quickshell-service-upower.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Services/UPower/
depends Quickshell
@@ -0,0 +1,461 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "powerprofiles.hpp"
lineNumber: 42
name: "qs::service::upower::PerformanceDegradationReason"
accessSemantics: "reference"
prototype: "QObject"
exports: [
"Quickshell.Services.UPower/PerformanceDegradationReason 0.0"
]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 48
values: ["None", "LapDetected", "HighTemperature"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 60
Parameter { name: "reason"; type: "qs::service::upower::PerformanceDegradationReason::Enum" }
}
}
Component {
file: "powerprofiles.hpp"
lineNumber: 20
name: "qs::service::upower::PowerProfile"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/PowerProfile 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 26
values: ["PowerSaver", "Balanced", "Performance"]
}
Method {
name: "toString"
type: "QString"
lineNumber: 37
Parameter { name: "profile"; type: "qs::service::upower::PowerProfile::Enum" }
}
}
Component {
file: "powerprofiles.hpp"
lineNumber: 104
name: "qs::service::upower::PowerProfileHold"
accessSemantics: "value"
exports: ["Quickshell.Services.UPower/powerProfileHold 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "profile"
type: "qs::service::upower::PowerProfile::Enum"
index: 0
lineNumber: 107
isPropertyConstant: true
}
Property {
name: "applicationId"
type: "QString"
index: 1
lineNumber: 108
isPropertyConstant: true
}
Property { name: "reason"; type: "QString"; index: 2; lineNumber: 109; isPropertyConstant: true }
}
Component {
file: "powerprofiles.hpp"
lineNumber: 167
name: "qs::service::upower::PowerProfilesQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/PowerProfiles 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "profile"
type: "qs::service::upower::PowerProfile::Enum"
bindable: "bindableProfile"
read: "default"
write: "setProfile"
notify: "profileChanged"
index: 0
lineNumber: 176
}
Property {
name: "hasPerformanceProfile"
type: "bool"
bindable: "bindableHasPerformanceProfile"
read: "default"
notify: "hasPerformanceProfileChanged"
index: 1
lineNumber: 181
isReadonly: true
}
Property {
name: "degradationReason"
type: "qs::service::upower::PerformanceDegradationReason::Enum"
bindable: "bindableDegradationReason"
read: "default"
notify: "degradationReasonChanged"
index: 2
lineNumber: 184
isReadonly: true
}
Property {
name: "holds"
type: "qs::service::upower::PowerProfileHold"
isList: true
bindable: "bindableHolds"
read: "default"
notify: "holdsChanged"
index: 3
lineNumber: 200
isReadonly: true
}
Signal { name: "profileChanged"; lineNumber: 204 }
Signal { name: "hasPerformanceProfileChanged"; lineNumber: 205 }
Signal { name: "degradationReasonChanged"; lineNumber: 206 }
Signal { name: "holdsChanged"; lineNumber: 207 }
}
Component {
file: "device.hpp"
lineNumber: 115
name: "qs::service::upower::UPowerDevice"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/UPowerDevice 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "type"
type: "qs::service::upower::UPowerDeviceType::Enum"
bindable: "bindableType"
read: "default"
notify: "typeChanged"
index: 0
lineNumber: 119
isReadonly: true
}
Property {
name: "powerSupply"
type: "bool"
bindable: "bindablePowerSupply"
read: "default"
notify: "powerSupplyChanged"
index: 1
lineNumber: 121
isReadonly: true
}
Property {
name: "energy"
type: "double"
bindable: "bindableEnergy"
read: "default"
notify: "energyChanged"
index: 2
lineNumber: 123
isReadonly: true
}
Property {
name: "energyCapacity"
type: "double"
bindable: "bindableEnergyCapacity"
read: "default"
notify: "energyCapacityChanged"
index: 3
lineNumber: 125
isReadonly: true
}
Property {
name: "changeRate"
type: "double"
bindable: "bindableChangeRate"
read: "default"
notify: "changeRateChanged"
index: 4
lineNumber: 127
isReadonly: true
}
Property {
name: "timeToEmpty"
type: "double"
bindable: "bindableTimeToEmpty"
read: "default"
notify: "timeToEmptyChanged"
index: 5
lineNumber: 131
isReadonly: true
}
Property {
name: "timeToFull"
type: "double"
bindable: "bindableTimeToFull"
read: "default"
notify: "timeToFullChanged"
index: 6
lineNumber: 135
isReadonly: true
}
Property {
name: "percentage"
type: "double"
bindable: "bindablePercentage"
read: "default"
notify: "percentageChanged"
index: 7
lineNumber: 139
isReadonly: true
}
Property {
name: "isPresent"
type: "bool"
bindable: "bindableIsPresent"
read: "default"
notify: "isPresentChanged"
index: 8
lineNumber: 143
isReadonly: true
}
Property {
name: "state"
type: "qs::service::upower::UPowerDeviceState::Enum"
bindable: "bindableState"
read: "default"
notify: "stateChanged"
index: 9
lineNumber: 145
isReadonly: true
}
Property {
name: "healthPercentage"
type: "double"
bindable: "bindableHealthPercentage"
read: "default"
notify: "healthPercentageChanged"
index: 10
lineNumber: 147
isReadonly: true
}
Property {
name: "healthSupported"
type: "bool"
bindable: "bindableHealthSupported"
read: "default"
notify: "healthSupportedChanged"
index: 11
lineNumber: 148
isReadonly: true
}
Property {
name: "iconName"
type: "QString"
bindable: "bindableIconName"
read: "default"
notify: "iconNameChanged"
index: 12
lineNumber: 150
isReadonly: true
}
Property {
name: "isLaptopBattery"
type: "bool"
bindable: "bindableIsLaptopBattery"
read: "default"
notify: "isLaptopBatteryChanged"
index: 13
lineNumber: 154
isReadonly: true
}
Property {
name: "nativePath"
type: "QString"
bindable: "bindableNativePath"
read: "default"
notify: "nativePathChanged"
index: 14
lineNumber: 156
isReadonly: true
}
Property {
name: "model"
type: "QString"
bindable: "bindableModel"
read: "default"
notify: "modelChanged"
index: 15
lineNumber: 158
isReadonly: true
}
Property {
name: "ready"
type: "bool"
bindable: "bindableReady"
read: "default"
notify: "readyChanged"
index: 16
lineNumber: 162
isReadonly: true
}
Signal { name: "readyChanged"; lineNumber: 197 }
Signal { name: "typeChanged"; lineNumber: 199 }
Signal { name: "powerSupplyChanged"; lineNumber: 200 }
Signal { name: "energyChanged"; lineNumber: 201 }
Signal { name: "energyCapacityChanged"; lineNumber: 202 }
Signal { name: "changeRateChanged"; lineNumber: 203 }
Signal { name: "timeToEmptyChanged"; lineNumber: 204 }
Signal { name: "timeToFullChanged"; lineNumber: 205 }
Signal { name: "percentageChanged"; lineNumber: 206 }
Signal { name: "isPresentChanged"; lineNumber: 207 }
Signal { name: "stateChanged"; lineNumber: 208 }
Signal { name: "healthPercentageChanged"; lineNumber: 209 }
Signal { name: "healthSupportedChanged"; lineNumber: 210 }
Signal { name: "iconNameChanged"; lineNumber: 211 }
Signal { name: "isLaptopBatteryChanged"; lineNumber: 212 }
Signal { name: "nativePathChanged"; lineNumber: 213 }
Signal { name: "modelChanged"; lineNumber: 214 }
Method { name: "onGetAllFinished"; lineNumber: 217 }
}
Component {
file: "device.hpp"
lineNumber: 17
name: "qs::service::upower::UPowerDeviceState"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/UPowerDeviceState 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 23
values: [
"Unknown",
"Charging",
"Discharging",
"Empty",
"FullyCharged",
"PendingCharge",
"PendingDischarge"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 36
Parameter { name: "status"; type: "qs::service::upower::UPowerDeviceState::Enum" }
}
}
Component {
file: "device.hpp"
lineNumber: 41
name: "qs::service::upower::UPowerDeviceType"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/UPowerDeviceType 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 47
values: [
"Unknown",
"LinePower",
"Battery",
"Ups",
"Monitor",
"Mouse",
"Keyboard",
"Pda",
"Phone",
"MediaPlayer",
"Tablet",
"Computer",
"GamingInput",
"Pen",
"Touchpad",
"Modem",
"Network",
"Headset",
"Speakers",
"Headphones",
"Video",
"OtherAudio",
"RemoteControl",
"Printer",
"Scanner",
"Camera",
"Wearable",
"Toy",
"BluetoothGeneric"
]
}
Method {
name: "toString"
type: "QString"
lineNumber: 80
Parameter { name: "type"; type: "qs::service::upower::UPowerDeviceType::Enum" }
}
}
Component {
file: "core.hpp"
lineNumber: 65
name: "qs::service::upower::UPowerQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Services.UPower/UPower 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "displayDevice"
type: "qs::service::upower::UPowerDevice"
isPointer: true
read: "displayDevice"
index: 0
lineNumber: 75
isReadonly: true
isPropertyConstant: true
}
Property {
name: "devices"
type: "UntypedObjectModel"
isPointer: true
read: "devices"
index: 1
lineNumber: 78
isReadonly: true
isPropertyConstant: true
}
Property {
name: "onBattery"
type: "bool"
bindable: "bindableOnBattery"
read: "default"
notify: "onBatteryChanged"
index: 2
lineNumber: 80
isReadonly: true
}
Signal { name: "onBatteryChanged"; lineNumber: 94 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Wayland._BackgroundEffect
linktarget quickshell-wayland-background-effectplugin
optional plugin quickshell-wayland-background-effectplugin
classname Quickshell_Wayland__BackgroundEffectPlugin
typeinfo quickshell-wayland-background-effect.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Wayland/_BackgroundEffect/
depends QtQuick
@@ -0,0 +1,40 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 36
name: "qs::wayland::background_effect::BackgroundEffect"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Wayland._BackgroundEffect/BackgroundEffect 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
attachedType: "qs::wayland::background_effect::BackgroundEffect"
Property {
name: "blurRegion"
type: "PendingRegion"
isPointer: true
read: "blurRegion"
write: "setBlurRegion"
notify: "blurRegionChanged"
index: 0
lineNumber: 40
}
Signal { name: "blurRegionChanged"; lineNumber: 57 }
Method { name: "onWindowConnected"; lineNumber: 60 }
Method { name: "onWindowVisibleChanged"; lineNumber: 61 }
Method { name: "onWaylandWindowDestroyed"; lineNumber: 62 }
Method { name: "onWaylandSurfaceCreated"; lineNumber: 63 }
Method { name: "onWaylandSurfaceDestroyed"; lineNumber: 64 }
Method { name: "onProxyWindowDestroyed"; lineNumber: 65 }
Method { name: "onBlurRegionDestroyed"; lineNumber: 66 }
Method { name: "onWindowPolished"; lineNumber: 67 }
Method { name: "updateBlurRegion"; lineNumber: 68 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Wayland._IdleInhibitor
linktarget quickshell-wayland-idle-inhibitplugin
optional plugin quickshell-wayland-idle-inhibitplugin
classname Quickshell_Wayland__IdleInhibitorPlugin
typeinfo quickshell-wayland-idle-inhibit.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/_IdleInhibitor/
depends Quickshell
@@ -0,0 +1,45 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "inhibitor.hpp"
lineNumber: 27
name: "qs::wayland::idle_inhibit::IdleInhibitor"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Wayland._IdleInhibitor/IdleInhibitor 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "enabled"
type: "bool"
bindable: "bindableEnabled"
read: "default"
write: "default"
notify: "enabledChanged"
index: 0
lineNumber: 32
}
Property {
name: "window"
type: "QObject"
isPointer: true
read: "window"
write: "setWindow"
notify: "windowChanged"
index: 1
lineNumber: 37
}
Signal { name: "enabledChanged"; lineNumber: 51 }
Signal { name: "windowChanged"; lineNumber: 52 }
Method { name: "onWindowDestroyed"; lineNumber: 55 }
Method { name: "onWindowVisibilityChanged"; lineNumber: 56 }
Method { name: "onWaylandWindowDestroyed"; lineNumber: 57 }
Method { name: "onWaylandSurfaceCreated"; lineNumber: 58 }
Method { name: "onWaylandSurfaceDestroyed"; lineNumber: 59 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Wayland._IdleNotify
linktarget quickshell-wayland-idle-notifyplugin
optional plugin quickshell-wayland-idle-notifyplugin
classname Quickshell_Wayland__IdleNotifyPlugin
typeinfo quickshell-wayland-idle-notify.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/_IdleNotify/
depends Quickshell
@@ -0,0 +1,61 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "monitor.hpp"
lineNumber: 21
name: "qs::wayland::idle_notify::IdleMonitor"
accessSemantics: "reference"
prototype: "PostReloadHook"
exports: ["Quickshell.Wayland._IdleNotify/IdleMonitor 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "enabled"
type: "bool"
read: "isEnabled"
write: "setEnabled"
notify: "enabledChanged"
index: 0
lineNumber: 26
}
Property {
name: "timeout"
type: "double"
bindable: "bindableTimeout"
read: "default"
write: "default"
notify: "timeoutChanged"
index: 1
lineNumber: 30
}
Property {
name: "respectInhibitors"
type: "bool"
bindable: "bindableRespectInhibitors"
read: "default"
write: "default"
notify: "respectInhibitorsChanged"
index: 2
lineNumber: 33
}
Property {
name: "isIdle"
type: "bool"
bindable: "bindableIsIdle"
read: "default"
notify: "isIdleChanged"
index: 3
lineNumber: 36
isReadonly: true
}
Signal { name: "enabledChanged"; lineNumber: 54 }
Signal { name: "timeoutChanged"; lineNumber: 55 }
Signal { name: "respectInhibitorsChanged"; lineNumber: 56 }
Signal { name: "isIdleChanged"; lineNumber: 57 }
}
}
@@ -0,0 +1,8 @@
module Quickshell.Wayland._Screencopy
linktarget quickshell-wayland-screencopyplugin
optional plugin quickshell-wayland-screencopyplugin
classname Quickshell_Wayland__ScreencopyPlugin
typeinfo quickshell-wayland-screencopy.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/_Screencopy/
@@ -0,0 +1,90 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "view.hpp"
lineNumber: 17
name: "qs::wayland::screencopy::ScreencopyView"
accessSemantics: "reference"
defaultProperty: "data"
parentProperty: "parent"
prototype: "QQuickItem"
exports: ["Quickshell.Wayland._Screencopy/ScreencopyView 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "captureSource"
type: "QObject"
isPointer: true
read: "captureSource"
write: "setCaptureSource"
notify: "captureSourceChanged"
index: 0
lineNumber: 28
}
Property {
name: "paintCursor"
type: "bool"
read: "paintCursors"
write: "setPaintCursors"
notify: "paintCursorsChanged"
index: 1
lineNumber: 30
}
Property {
name: "live"
type: "bool"
read: "live"
write: "setLive"
notify: "liveChanged"
index: 2
lineNumber: 33
}
Property {
name: "hasContent"
type: "bool"
bindable: "bindableHasContent"
read: "default"
notify: "hasContentChanged"
index: 3
lineNumber: 36
isReadonly: true
}
Property {
name: "sourceSize"
type: "QSize"
bindable: "bindableSourceSize"
read: "default"
notify: "sourceSizeChanged"
index: 4
lineNumber: 38
isReadonly: true
}
Property {
name: "constraintSize"
type: "QSizeF"
bindable: "bindableConstraintSize"
read: "default"
write: "default"
notify: "constraintSizeChanged"
index: 5
lineNumber: 41
}
Signal { name: "stopped"; lineNumber: 67 }
Signal { name: "captureSourceChanged"; lineNumber: 69 }
Signal { name: "paintCursorsChanged"; lineNumber: 70 }
Signal { name: "liveChanged"; lineNumber: 71 }
Signal { name: "hasContentChanged"; lineNumber: 72 }
Signal { name: "sourceSizeChanged"; lineNumber: 73 }
Signal { name: "constraintSizeChanged"; lineNumber: 74 }
Method { name: "onCaptureSourceDestroyed"; lineNumber: 80 }
Method { name: "onFrameCaptured"; lineNumber: 81 }
Method { name: "destroyContextWithUpdate"; lineNumber: 82 }
Method { name: "onBuffersReady"; lineNumber: 83 }
Method { name: "captureFrame"; lineNumber: 50 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.Wayland._ShortcutsInhibitor
linktarget quickshell-wayland-shortcuts-inhibitplugin
optional plugin quickshell-wayland-shortcuts-inhibitplugin
classname Quickshell_Wayland__ShortcutsInhibitorPlugin
typeinfo quickshell-wayland-shortcuts-inhibit.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/_ShortcutsInhibitor/
depends Quickshell
@@ -0,0 +1,61 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "inhibitor.hpp"
lineNumber: 26
name: "qs::wayland::shortcuts_inhibit::ShortcutInhibitor"
accessSemantics: "reference"
prototype: "QObject"
exports: [
"Quickshell.Wayland._ShortcutsInhibitor/ShortcutInhibitor 0.0"
]
exportMetaObjectRevisions: [0]
Property {
name: "enabled"
type: "bool"
bindable: "bindableEnabled"
read: "default"
write: "default"
notify: "enabledChanged"
index: 0
lineNumber: 31
}
Property {
name: "window"
type: "QObject"
isPointer: true
bindable: "bindableWindow"
read: "default"
write: "default"
notify: "windowChanged"
index: 1
lineNumber: 36
}
Property {
name: "active"
type: "bool"
bindable: "bindableActive"
read: "default"
notify: "activeChanged"
index: 2
lineNumber: 43
isReadonly: true
}
Signal { name: "enabledChanged"; lineNumber: 56 }
Signal { name: "windowChanged"; lineNumber: 57 }
Signal { name: "activeChanged"; lineNumber: 58 }
Signal { name: "cancelled"; lineNumber: 60 }
Method { name: "onWindowDestroyed"; lineNumber: 63 }
Method { name: "onWindowVisibilityChanged"; lineNumber: 64 }
Method { name: "onWaylandWindowDestroyed"; lineNumber: 65 }
Method { name: "onWaylandSurfaceCreated"; lineNumber: 66 }
Method { name: "onWaylandSurfaceDestroyed"; lineNumber: 67 }
Method { name: "onInhibitorActiveChanged"; lineNumber: 68 }
}
}
@@ -0,0 +1,11 @@
module Quickshell.Wayland._ToplevelManagement
linktarget quickshell-wayland-toplevel-managementplugin
optional plugin quickshell-wayland-toplevel-managementplugin
classname Quickshell_Wayland__ToplevelManagementPlugin
typeinfo quickshell-wayland-toplevel-management.qmltypes
depends QtQml
prefer :/qt/qml/Quickshell/Wayland/_ToplevelManagement/
depends Quickshell
depends Quickshell.Wayland
depends QtQuick
@@ -0,0 +1,152 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "qml.hpp"
lineNumber: 24
name: "qs::wayland::toplevel::Toplevel"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.Wayland._ToplevelManagement/Toplevel 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "appId"
type: "QString"
read: "appId"
notify: "appIdChanged"
index: 0
lineNumber: 26
isReadonly: true
}
Property {
name: "title"
type: "QString"
read: "title"
notify: "titleChanged"
index: 1
lineNumber: 27
isReadonly: true
}
Property {
name: "parent"
type: "qs::wayland::toplevel::Toplevel"
isPointer: true
read: "parent"
notify: "parentChanged"
index: 2
lineNumber: 29
isReadonly: true
}
Property {
name: "activated"
type: "bool"
read: "activated"
notify: "activatedChanged"
index: 3
lineNumber: 33
isReadonly: true
}
Property {
name: "screens"
type: "QList<QuickshellScreenInfo*>"
read: "screens"
notify: "screensChanged"
index: 4
lineNumber: 38
isReadonly: true
}
Property {
name: "maximized"
type: "bool"
read: "maximized"
write: "setMaximized"
notify: "maximizedChanged"
index: 5
lineNumber: 43
}
Property {
name: "minimized"
type: "bool"
read: "minimized"
write: "setMinimized"
notify: "minimizedChanged"
index: 6
lineNumber: 48
}
Property {
name: "fullscreen"
type: "bool"
read: "fullscreen"
write: "setFullscreen"
notify: "fullscreenChanged"
index: 7
lineNumber: 54
}
Signal { name: "closed"; lineNumber: 97 }
Signal { name: "appIdChanged"; lineNumber: 98 }
Signal { name: "titleChanged"; lineNumber: 99 }
Signal { name: "parentChanged"; lineNumber: 100 }
Signal { name: "activatedChanged"; lineNumber: 101 }
Signal { name: "screensChanged"; lineNumber: 102 }
Signal { name: "maximizedChanged"; lineNumber: 103 }
Signal { name: "minimizedChanged"; lineNumber: 104 }
Signal { name: "fullscreenChanged"; lineNumber: 105 }
Method { name: "onClosed"; lineNumber: 108 }
Method { name: "onRectangleProxyConnected"; lineNumber: 109 }
Method { name: "onRectangleProxyDestroyed"; lineNumber: 110 }
Method { name: "activate"; lineNumber: 63 }
Method { name: "close"; lineNumber: 67 }
Method {
name: "fullscreenOn"
lineNumber: 71
Parameter { name: "screen"; type: "QuickshellScreenInfo"; isPointer: true }
}
Method {
name: "setRectangle"
lineNumber: 76
Parameter { name: "window"; type: "QObject"; isPointer: true }
Parameter { name: "rect"; type: "QRect" }
}
Method { name: "unsetRectangle"; lineNumber: 77 }
}
Component {
file: "qml.hpp"
lineNumber: 157
name: "qs::wayland::toplevel::ToplevelManagerQml"
accessSemantics: "reference"
prototype: "QObject"
exports: [
"Quickshell.Wayland._ToplevelManagement/ToplevelManager 0.0"
]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "toplevels"
type: "UntypedObjectModel"
isPointer: true
read: "toplevels"
index: 0
lineNumber: 162
isReadonly: true
isPropertyConstant: true
}
Property {
name: "activeToplevel"
type: "qs::wayland::toplevel::Toplevel"
isPointer: true
read: "activeToplevel"
notify: "activeToplevelChanged"
index: 1
lineNumber: 167
isReadonly: true
}
Signal { name: "activeToplevelChanged"; lineNumber: 179 }
}
}
@@ -0,0 +1,10 @@
module Quickshell.Wayland._WlrLayerShell
linktarget quickshell-wayland-layershellplugin
optional plugin quickshell-wayland-layershellplugin
classname Quickshell_Wayland__WlrLayerShellPlugin
typeinfo quickshell-wayland-layershell.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/_WlrLayerShell/
depends Quickshell
depends Quickshell.Wayland
@@ -0,0 +1,139 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "wlr_layershell.hpp"
lineNumber: 47
name: "qs::wayland::layershell::WlrKeyboardFocus"
accessSemantics: "none"
exports: ["Quickshell.Wayland._WlrLayerShell/WlrKeyboardFocus 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 51
values: ["None", "Exclusive", "OnDemand"]
}
}
Component {
file: "wlr_layershell.hpp"
lineNumber: 26
name: "qs::wayland::layershell::WlrLayer"
accessSemantics: "none"
exports: ["Quickshell.Wayland._WlrLayerShell/WlrLayer 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 30
values: ["Background", "Bottom", "Top", "Overlay"]
}
}
Component {
file: "wlr_layershell.hpp"
lineNumber: 97
name: "qs::wayland::layershell::WlrLayershell"
accessSemantics: "reference"
prototype: "ProxyWindowBase"
exports: ["Quickshell.Wayland._WlrLayerShell/WlrLayershell 0.0"]
exportMetaObjectRevisions: [0]
attachedType: "qs::wayland::layershell::WlrLayershell"
Property {
name: "layer"
type: "qs::wayland::layershell::WlrLayer::Enum"
read: "layer"
write: "setLayer"
notify: "layerChanged"
index: 0
lineNumber: 102
}
Property {
name: "namespace"
type: "QString"
read: "ns"
write: "setNamespace"
notify: "namespaceChanged"
index: 1
lineNumber: 106
}
Property {
name: "keyboardFocus"
type: "qs::wayland::layershell::WlrKeyboardFocus::Enum"
read: "keyboardFocus"
write: "setKeyboardFocus"
notify: "keyboardFocusChanged"
index: 2
lineNumber: 108
}
Property {
name: "anchors"
type: "Anchors"
read: "anchors"
write: "setAnchors"
notify: "anchorsChanged"
index: 3
lineNumber: 110
}
Property {
name: "exclusiveZone"
type: "int"
read: "exclusiveZone"
write: "setExclusiveZone"
notify: "exclusiveZoneChanged"
index: 4
lineNumber: 111
}
Property {
name: "exclusionMode"
type: "ExclusionMode::Enum"
read: "exclusionMode"
write: "setExclusionMode"
notify: "exclusionModeChanged"
index: 5
lineNumber: 112
}
Property {
name: "margins"
type: "Margins"
read: "margins"
write: "setMargins"
notify: "marginsChanged"
index: 6
lineNumber: 113
}
Property {
name: "aboveWindows"
type: "bool"
read: "aboveWindows"
write: "setAboveWindows"
notify: "layerChanged"
index: 7
lineNumber: 114
}
Property {
name: "focusable"
type: "bool"
read: "focusable"
write: "setFocusable"
notify: "keyboardFocusChanged"
index: 8
lineNumber: 115
}
Signal { name: "layerChanged"; lineNumber: 170 }
Signal { name: "namespaceChanged"; lineNumber: 171 }
Signal { name: "keyboardFocusChanged"; lineNumber: 172 }
Signal { name: "anchorsChanged"; lineNumber: 173 }
Signal { name: "exclusiveZoneChanged"; lineNumber: 174 }
Signal { name: "exclusionModeChanged"; lineNumber: 175 }
Signal { name: "marginsChanged"; lineNumber: 176 }
Method { name: "updateAutoExclusion"; lineNumber: 179 }
Method { name: "onBridgeDestroyed"; lineNumber: 180 }
}
}
@@ -0,0 +1,16 @@
module Quickshell.Wayland
linktarget quickshell-waylandplugin
optional plugin quickshell-waylandplugin
classname Quickshell_WaylandPlugin
typeinfo quickshell-wayland.qmltypes
import Quickshell.Wayland._WlrLayerShell
import Quickshell.Wayland._ToplevelManagement
import Quickshell.Wayland._Screencopy
import Quickshell.Wayland._BackgroundEffect
import Quickshell.Wayland._IdleInhibitor
import Quickshell.Wayland._IdleNotify
import Quickshell.Wayland._ShortcutsInhibitor
depends QtQuick
prefer :/qt/qml/Quickshell/Wayland/
depends Quickshell
@@ -0,0 +1,134 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "session_lock.hpp"
lineNumber: 56
name: "WlSessionLock"
accessSemantics: "reference"
defaultProperty: "surface"
prototype: "Reloadable"
exports: ["Quickshell.Wayland/WlSessionLock 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "locked"
type: "bool"
read: "isLocked"
write: "setLocked"
notify: "lockStateChanged"
index: 0
lineNumber: 63
}
Property {
name: "secure"
type: "bool"
read: "isSecure"
notify: "secureStateChanged"
index: 1
lineNumber: 67
isReadonly: true
}
Property {
name: "surface"
type: "QQmlComponent"
isPointer: true
read: "surfaceComponent"
write: "setSurfaceComponent"
notify: "surfaceComponentChanged"
index: 2
lineNumber: 69
}
Signal { name: "lockStateChanged"; lineNumber: 90 }
Signal { name: "secureStateChanged"; lineNumber: 91 }
Signal { name: "surfaceComponentChanged"; lineNumber: 92 }
Method { name: "unlock"; lineNumber: 95 }
Method { name: "onScreensChanged"; lineNumber: 96 }
}
Component {
file: "session_lock.hpp"
lineNumber: 114
name: "WlSessionLockSurface"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "Reloadable"
exports: ["Quickshell.Wayland/WlSessionLockSurface 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "contentItem"
type: "QQuickItem"
isPointer: true
read: "contentItem"
index: 0
lineNumber: 117
isReadonly: true
}
Property {
name: "visible"
type: "bool"
read: "isVisible"
notify: "visibleChanged"
index: 1
lineNumber: 121
isReadonly: true
}
Property {
name: "width"
type: "int"
read: "width"
notify: "widthChanged"
index: 2
lineNumber: 122
isReadonly: true
}
Property {
name: "height"
type: "int"
read: "height"
notify: "heightChanged"
index: 3
lineNumber: 123
isReadonly: true
}
Property {
name: "screen"
type: "QuickshellScreenInfo"
isPointer: true
read: "screen"
notify: "screenChanged"
index: 4
lineNumber: 125
isReadonly: true
}
Property {
name: "color"
type: "QColor"
read: "color"
write: "setColor"
notify: "colorChanged"
index: 5
lineNumber: 142
}
Property {
name: "data"
type: "QObject"
isList: true
read: "data"
index: 6
lineNumber: 143
isReadonly: true
}
Signal { name: "visibleChanged"; lineNumber: 175 }
Signal { name: "widthChanged"; lineNumber: 176 }
Signal { name: "heightChanged"; lineNumber: 177 }
Signal { name: "screenChanged"; lineNumber: 178 }
Signal { name: "colorChanged"; lineNumber: 179 }
Method { name: "onScreenDestroyed"; lineNumber: 182 }
Method { name: "onWidthChanged"; lineNumber: 183 }
Method { name: "onHeightChanged"; lineNumber: 184 }
}
}
@@ -0,0 +1,92 @@
pragma ComponentBehavior: Bound
import QtQuick
///! Rectangle capable of clipping content inside its border.
/// > [!WARNING] This type requires at least Qt 6.7.
///
/// This is a specialized version of @@QtQuick.Rectangle that clips content
/// inside of its border, including rounded rectangles. It costs more than
/// @@QtQuick.Rectangle, so it should not be used unless you need to clip
/// items inside of it to the border.
Item {
id: root
/// If content should be displayed underneath the border.
///
/// Defaults to false, does nothing if the border is opaque.
property bool contentUnderBorder: false
/// If the content item should be resized to fit inside the border.
///
/// Defaults to `!contentUnderBorder`. Most useful when combined with
/// `anchors.fill: parent` on an item passed to the ClippingRectangle.
property bool contentInsideBorder: !root.contentUnderBorder
/// If the rectangle should be antialiased.
///
/// Defaults to true if any corner has a non-zero radius, otherwise false.
property /*bool*/alias antialiasing: rectangle.antialiasing
/// The background color of the rectangle, which goes under its content.
property /*color*/alias color: shader.backgroundColor
/// See @@QtQuick.Rectangle.border.
property clippingRectangleBorder border
/// Radius of all corners. Defaults to 0.
property /*real*/alias radius: rectangle.radius
/// Radius of the top left corner. Defaults to @@radius.
property /*real*/alias topLeftRadius: rectangle.topLeftRadius
/// Radius of the top right corner. Defaults to @@radius.
property /*real*/alias topRightRadius: rectangle.topRightRadius
/// Radius of the bottom left corner. Defaults to @@radius.
property /*real*/alias bottomLeftRadius: rectangle.bottomLeftRadius
/// Radius of the bottom right corner. Defaults to @@radius.
property /*real*/alias bottomRightRadius: rectangle.bottomRightRadius
/// Data of the ClippingRectangle's @@contentItem. (`list<QtObject>`).
///
/// See @@QtQuick.Item.data for details.
default property alias data: contentItem.data
/// Visual children of the ClippingRectangle's @@contentItem. (`list<Item>`).
///
/// See @@QtQuick.Item.children for details.
property alias children: contentItem.children
/// The item containing the rectangle's content.
/// There is usually no reason to use this directly.
readonly property alias contentItem: contentItem
Rectangle {
id: rectangle
anchors.fill: root
color: "#ffff0000"
border.color: "#ff00ff00"
border.pixelAligned: root.border.pixelAligned
border.width: root.border.width
layer.enabled: true
visible: false
}
Item {
id: contentItemContainer
anchors.fill: root
Item {
id: contentItem
anchors.fill: parent
anchors.margins: root.contentInsideBorder ? root.border.width : 0
}
}
ShaderEffectSource {
id: shaderSource
hideSource: true
sourceItem: contentItemContainer
}
ShaderEffect {
id: shader
anchors.fill: root
fragmentShader: `qrc:/Quickshell/Widgets/shaders/cliprect${root.contentUnderBorder ? "-ub" : ""}.frag.qsb`
property Rectangle rect: rectangle
property color backgroundColor: "white"
property color borderColor: root.border.color
property ShaderEffectSource content: shaderSource
}
}
@@ -0,0 +1,63 @@
import QtQuick
///! ClippingRectangle that handles sizes and positioning for a single visual child.
/// This component is useful for adding a clipping border or background rectangle to
/// a child item. If you don't need clipping, use @@WrapperRectangle.
///
/// > [!NOTE] ClippingWrapperRectangle is a @@MarginWrapperManager based component.
/// > See its documentation for information on how margins and sizes are calculated.
///
/// > [!WARNING] You should not set @@Item.x, @@Item.y, @@Item.width,
/// > @@Item.height or @@Item.anchors on the child item, as they are used
/// > by WrapperItem to position it. Instead set @@Item.implicitWidth and
/// > @@Item.implicitHeight.
ClippingWrapperRectangleInternal {
id: root
/// The default for @@topMargin, @@bottomMargin, @@leftMargin and @@rightMargin.
/// Defaults to 0.
property /*real*/alias margin: manager.margin
/// An extra margin applied in addition to @@topMargin, @@bottomMargin,
/// @@leftMargin, and @@rightMargin.
/// If @@contentInsideBorder is true, the rectangle's border width will be added
/// to this property. Defaults to 0.
property /*real*/alias extraMargin: manager.extraMargin
/// The requested top margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias topMargin: manager.topMargin
/// The requested bottom margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias bottomMargin: manager.bottomMargin
/// The requested left margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias leftMargin: manager.leftMargin
/// The requested right margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias rightMargin: manager.rightMargin
/// Determines if child item should be resized larger than its implicit size if
/// the parent is resized larger than its implicit size. Defaults to true.
property /*bool*/alias resizeChild: manager.resizeChild
/// Overrides the implicit width of the wrapper.
///
/// Defaults to the implicit width of the content item plus its left and right margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitWidth: manager.implicitWidth
/// Overrides the implicit height of the wrapper.
///
/// Defaults to the implicit width of the content item plus its top and bottom margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitHeight: manager.implicitHeight
/// See @@WrapperManager.child for details.
property alias child: manager.child
border.width: 0
__implicitWidthInternal: root.contentItem.implicitWidth + (root.contentInsideBorder ? root.border.width * 2 : 0)
__implicitHeightInternal: root.contentItem.implicitHeight + (root.contentInsideBorder ? root.border.width * 2 : 0)
MarginWrapperManager { id: manager }
}
@@ -0,0 +1,7 @@
import QtQuick
ClippingRectangle {
id: root
property alias __implicitWidthInternal: root.implicitWidth
property alias __implicitHeightInternal: root.implicitHeight
}
@@ -0,0 +1,67 @@
import QtQuick
///! Image component for displaying widget/icon style images.
/// This is a specialization of @@QtQuick.Image configured for icon-style images,
/// designed to make it easier to use correctly. If you need more control, use
/// @@QtQuick.Image directly.
///
/// The image's aspect raito is assumed to be 1:1. If it is not 1:1, padding
/// will be added to make it 1:1. This is currently applied before the actual
/// aspect ratio of the image is taken into account, and may change in a future
/// release.
///
/// You should use it for:
/// - Icons for custom buttons
/// - Status indicator icons
/// - System tray icons
/// - Things similar to the above.
///
/// Do not use it for:
/// - Big images
/// - Images that change size frequently
/// - Anything that doesn't feel like an icon.
///
/// > [!INFO] More information about many of these properties can be found in
/// > the documentation for @@QtQuick.Image.
Item {
id: root
/// URL of the image. Defaults to an empty string.
/// See @@QtQuick.Image.source.
property /*string*/alias source: image.source
/// If the image should be loaded asynchronously. Defaults to false.
/// See @@QtQuick.Image.asynchronous.
property /*bool*/alias asynchronous: image.asynchronous
/// The load status of the image. See @@QtQuick.Image.status.
property alias status: image.status
/// If the image should be mipmap filtered. Defaults to false.
/// See @@QtQuick.Image.mipmap.
///
/// Try enabling this if your image is significantly scaled down
/// and looks bad because of it.
property /*bool*/alias mipmap: image.mipmap
/// The @@QtQuick.Image backing this object.
///
/// This is useful if you need to access more functionality than
/// exposed by IconImage.
property /*Image*/alias backer: image
/// The suggested size of the image. This is used as a default
/// for @@QtQuick.Item.implicitWidth and @@QtQuick.Item.implicitHeight.
property real implicitSize: 0
/// The actual size the image will be displayed at.
readonly property real actualSize: Math.min(root.width, root.height)
implicitWidth: root.implicitSize
implicitHeight: root.implicitSize
Image {
id: image
anchors.fill: parent
fillMode: Image.PreserveAspectFit
sourceSize.width: root.actualSize
sourceSize.height: root.actualSize
}
}
@@ -0,0 +1,72 @@
import QtQuick
///! Item that handles sizes and positioning for a single visual child.
/// This component is useful when you need to wrap a single component in
/// an item, or give a single component a margin. See [QtQuick.Layouts]
/// for positioning multiple items.
///
/// > [!NOTE] WrapperItem is a @@MarginWrapperManager based component.
/// > See its documentation for information on how margins and sizes are calculated.
///
/// ### Example: Adding a margin to an item
/// The snippet below adds a 10px margin to all sides of the @@QtQuick.Text item.
///
/// ```qml
/// WrapperItem {
/// margin: 10
///
/// @@QtQuick.Text { text: "Hello!" }
/// }
/// ```
///
/// > [!NOTE] The child item can be specified by writing it inline in the wrapper,
/// > as in the example above, or by using the @@child property. See
/// > @@WrapperManager.child for details.
///
/// > [!WARNING] You should not set @@Item.x, @@Item.y, @@Item.width,
/// > @@Item.height or @@Item.anchors on the child item, as they are used
/// > by WrapperItem to position it. Instead set @@Item.implicitWidth and
/// > @@Item.implicitHeight.
///
/// [QtQuick.Layouts]: https://doc.qt.io/qt-6/qtquicklayouts-index.html
Item {
/// The default for @@topMargin, @@bottomMargin, @@leftMargin and @@rightMargin.
/// Defaults to 0.
property /*real*/alias margin: manager.margin
/// An extra margin applied in addition to @@topMargin, @@bottomMargin,
/// @@leftMargin, and @@rightMargin. Defaults to 0.
property /*real*/alias extraMargin: manager.extraMargin
/// The requested top margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias topMargin: manager.topMargin
/// The requested bottom margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias bottomMargin: manager.bottomMargin
/// The requested left margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias leftMargin: manager.leftMargin
/// The requested right margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias rightMargin: manager.rightMargin
/// Determines if child item should be resized larger than its implicit size if
/// the parent is resized larger than its implicit size. Defaults to true.
property /*bool*/alias resizeChild: manager.resizeChild
/// Overrides the implicit width of the wrapper.
///
/// Defaults to the implicit width of the content item plus its left and right margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitWidth: manager.implicitWidth
/// Overrides the implicit height of the wrapper.
///
/// Defaults to the implicit width of the content item plus its top and bottom margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitHeight: manager.implicitHeight
/// See @@WrapperManager.child for details.
property /*Item*/alias child: manager.child
MarginWrapperManager { id: manager }
}
@@ -0,0 +1,60 @@
import QtQuick
///! MouseArea wrapper item.
/// This component is useful for wrapping a single component in
/// a mouse area. It works the same as @@WrapperItem, but with a @@QtQuick.MouseArea.
///
/// > [!NOTE] WrapperMouseArea is a @@MarginWrapperManager based component.
/// > See its documentation for information on how margins and sizes are calculated.
///
/// > [!NOTE] The child item can be specified by writing it inline in the wrapper,
/// > as in the example above, or by using the @@child property. See
/// > @@WrapperManager.child for details.
///
/// > [!WARNING] You should not set @@Item.x, @@Item.y, @@Item.width,
/// > @@Item.height or @@Item.anchors on the child item, as they are used
/// > by WrapperItem to position it. Instead set @@Item.implicitWidth and
/// > @@Item.implicitHeight.
///
/// [QtQuick.Layouts]: https://doc.qt.io/qt-6/qtquicklayouts-index.html
MouseArea {
/// The default for @@topMargin, @@bottomMargin, @@leftMargin and @@rightMargin.
/// Defaults to 0.
property /*real*/alias margin: manager.margin
/// An extra margin applied in addition to @@topMargin, @@bottomMargin,
/// @@leftMargin, and @@rightMargin. Defaults to 0.
property /*real*/alias extraMargin: manager.extraMargin
/// The requested top margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias topMargin: manager.topMargin
/// The requested bottom margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias bottomMargin: manager.bottomMargin
/// The requested left margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias leftMargin: manager.leftMargin
/// The requested right margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias rightMargin: manager.rightMargin
/// Determines if child item should be resized larger than its implicit size if
/// the parent is resized larger than its implicit size. Defaults to true.
property /*bool*/alias resizeChild: manager.resizeChild
/// Overrides the implicit width of the wrapper.
///
/// Defaults to the implicit width of the content item plus its left and right margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitWidth: manager.implicitWidth
/// Overrides the implicit height of the wrapper.
///
/// Defaults to the implicit width of the content item plus its top and bottom margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitHeight: manager.implicitHeight
/// See @@WrapperManager.child for details.
property /*Item*/alias child: manager.child
MarginWrapperManager { id: manager }
}
@@ -0,0 +1,71 @@
import QtQuick
///! Rectangle that handles sizes and positioning for a single visual child.
/// This component is useful for adding a border or background rectangle to
/// a child item. If you need to clip the child item to the rectangle's
/// border, see @@ClippingWrapperRectangle.
///
/// > [!NOTE] WrapperRectangle is a @@MarginWrapperManager based component.
/// > See its documentation for information on how margins and sizes are calculated.
///
/// > [!WARNING] You should not set @@Item.x, @@Item.y, @@Item.width,
/// > @@Item.height or @@Item.anchors on the child item, as they are used
/// > by WrapperItem to position it. Instead set @@Item.implicitWidth and
/// > @@Item.implicitHeight.
Rectangle {
id: root
/// If true (default), the rectangle's border width will be added
/// to @@extraMargin.
property bool contentInsideBorder: true
/// The default for @@topMargin, @@bottomMargin, @@leftMargin and @@rightMargin.
/// Defaults to 0.
property /*real*/alias margin: manager.margin
/// An extra margin applied in addition to @@topMargin, @@bottomMargin,
/// @@leftMargin, and @@rightMargin.
/// If @@contentInsideBorder is true, the rectangle's border width will be added
/// to this property. Defaults to 0.
property real extraMargin: 0
/// The requested top margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias topMargin: manager.topMargin
/// The requested bottom margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias bottomMargin: manager.bottomMargin
/// The requested left margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias leftMargin: manager.leftMargin
/// The requested right margin of the content item, not counting @@extraMargin.
///
/// Defaults to @@margin, and may be reset by assigning `undefined`.
property /*real*/alias rightMargin: manager.rightMargin
/// Determines if child item should be resized larger than its implicit size if
/// the parent is resized larger than its implicit size. Defaults to true.
property /*bool*/alias resizeChild: manager.resizeChild
/// Overrides the implicit width of the wrapper.
///
/// Defaults to the implicit width of the content item plus its left and right margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitWidth: manager.implicitWidth
/// Overrides the implicit height of the wrapper.
///
/// Defaults to the implicit width of the content item plus its top and bottom margin,
/// and may be reset by assigning `undefined`.
property /*real*/alias implicitHeight: manager.implicitHeight
/// See @@WrapperManager.child for details.
property alias child: manager.child
// Reading the border property implicitly sets border width to 1.
// Setting it to 0 here means the user will also have to set border.width
// even if they just want 1, but it prevents adding unexpected padding
// and works around QTBUG-137166 otherwise.
border.width: 0
MarginWrapperManager {
id: manager
extraMargin: (root.contentInsideBorder ? root.border.width : 0) + root.extraMargin
}
}
@@ -0,0 +1,15 @@
module Quickshell.Widgets
linktarget quickshell-widgetsplugin
optional plugin quickshell-widgetsplugin
classname Quickshell_WidgetsPlugin
typeinfo quickshell-widgets.qmltypes
prefer :/qt/qml/Quickshell/Widgets/
IconImage 0.0 IconImage.qml
ClippingRectangle 0.0 ClippingRectangle.qml
WrapperItem 0.0 WrapperItem.qml
WrapperMouseArea 0.0 WrapperMouseArea.qml
WrapperRectangle 0.0 WrapperRectangle.qml
ClippingWrapperRectangle 0.0 ClippingWrapperRectangle.qml
ClippingWrapperRectangleInternal 0.0 ClippingWrapperRectangleInternal.qml
depends QtQuick
@@ -0,0 +1,179 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "cliprect.hpp"
lineNumber: 9
name: "ClippingRectangleBorder"
accessSemantics: "value"
exports: ["Quickshell.Widgets/clippingRectangleBorder 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property { name: "color"; type: "QColor"; index: 0; lineNumber: 11 }
Property { name: "pixelAligned"; type: "bool"; index: 1; lineNumber: 12 }
Property { name: "width"; type: "int"; index: 2; lineNumber: 13 }
}
Component {
file: "marginwrapper.hpp"
lineNumber: 45
name: "qs::widgets::MarginWrapperManager"
accessSemantics: "reference"
prototype: "qs::widgets::WrapperManager"
exports: ["Quickshell.Widgets/MarginWrapperManager 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "margin"
type: "double"
bindable: "bindableMargin"
read: "default"
write: "default"
notify: "marginChanged"
index: 0
lineNumber: 50
isFinal: true
}
Property {
name: "extraMargin"
type: "double"
bindable: "bindableExtraMargin"
read: "default"
write: "default"
notify: "extraMarginChanged"
index: 1
lineNumber: 53
isFinal: true
}
Property {
name: "topMargin"
type: "double"
read: "topMargin"
write: "setTopMargin"
reset: "resetTopMargin"
notify: "topMarginChanged"
index: 2
lineNumber: 57
isFinal: true
}
Property {
name: "bottomMargin"
type: "double"
read: "bottomMargin"
write: "setBottomMargin"
reset: "resetBottomMargin"
notify: "bottomMarginChanged"
index: 3
lineNumber: 61
isFinal: true
}
Property {
name: "leftMargin"
type: "double"
read: "leftMargin"
write: "setLeftMargin"
reset: "resetLeftMargin"
notify: "leftMarginChanged"
index: 4
lineNumber: 65
isFinal: true
}
Property {
name: "rightMargin"
type: "double"
read: "rightMargin"
write: "setRightMargin"
reset: "resetRightMargin"
notify: "rightMarginChanged"
index: 5
lineNumber: 69
isFinal: true
}
Property {
name: "resizeChild"
type: "bool"
bindable: "bindableResizeChild"
read: "default"
write: "default"
notify: "resizeChildChanged"
index: 6
lineNumber: 72
isFinal: true
}
Property {
name: "implicitWidth"
type: "double"
read: "implicitWidth"
write: "setImplicitWidth"
reset: "resetImplicitWidth"
notify: "implicitWidthChanged"
index: 7
lineNumber: 77
isFinal: true
}
Property {
name: "implicitHeight"
type: "double"
read: "implicitHeight"
write: "setImplicitHeight"
reset: "resetImplicitHeight"
notify: "implicitHeightChanged"
index: 8
lineNumber: 82
isFinal: true
}
Signal { name: "marginChanged"; lineNumber: 151 }
Signal { name: "extraMarginChanged"; lineNumber: 152 }
Signal { name: "topMarginChanged"; lineNumber: 153 }
Signal { name: "bottomMarginChanged"; lineNumber: 154 }
Signal { name: "leftMarginChanged"; lineNumber: 155 }
Signal { name: "rightMarginChanged"; lineNumber: 156 }
Signal { name: "resizeChildChanged"; lineNumber: 157 }
Signal { name: "implicitWidthChanged"; lineNumber: 158 }
Signal { name: "implicitHeightChanged"; lineNumber: 159 }
Method { name: "onChildImplicitWidthChanged"; lineNumber: 162 }
Method { name: "onChildImplicitHeightChanged"; lineNumber: 163 }
Method { name: "setWrapperImplicitWidth"; lineNumber: 164 }
Method { name: "setWrapperImplicitHeight"; lineNumber: 165 }
}
Component {
file: "wrapper.hpp"
lineNumber: 84
name: "qs::widgets::WrapperManager"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: ["Quickshell.Widgets/WrapperManager 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "child"
type: "QQuickItem"
isPointer: true
read: "child"
write: "setProspectiveChild"
reset: "unsetChild"
notify: "childChanged"
index: 0
lineNumber: 103
isFinal: true
}
Property {
name: "wrapper"
type: "QQuickItem"
isPointer: true
read: "wrapper"
write: "setWrapper"
notify: "wrapperChanged"
index: 1
lineNumber: 106
isFinal: true
}
Signal { name: "childChanged"; lineNumber: 124 }
Signal { name: "wrapperChanged"; lineNumber: 125 }
Signal { name: "initializedChildChanged"; lineNumber: 126 }
Method { name: "onChildDestroyed"; lineNumber: 129 }
}
}
@@ -0,0 +1,9 @@
module Quickshell.WindowManager
linktarget quickshell-windowmanagerplugin
optional plugin quickshell-windowmanagerplugin
classname Quickshell_WindowManagerPlugin
typeinfo quickshell-windowmanager.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/WindowManager/
depends Quickshell
@@ -0,0 +1,227 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "screenprojection.hpp"
lineNumber: 20
name: "qs::wm::ScreenProjection"
accessSemantics: "reference"
prototype: "qs::wm::WindowsetProjection"
exports: ["Quickshell.WindowManager/ScreenProjection 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
}
Component {
file: "windowmanager.hpp"
lineNumber: 61
name: "qs::wm::WindowManagerQml"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.WindowManager/WindowManager 0.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property {
name: "windowsets"
type: "QList<Windowset*>"
bindable: "bindableWindowsets"
read: "default"
index: 0
lineNumber: 67
isReadonly: true
}
Property {
name: "windowsetProjections"
type: "QList<WindowsetProjection*>"
bindable: "bindableWindowsetProjections"
read: "default"
index: 1
lineNumber: 70
isReadonly: true
}
Method {
name: "screenProjection"
type: "ScreenProjection"
isPointer: true
lineNumber: 78
Parameter { name: "screen"; type: "QuickshellScreenInfo"; isPointer: true }
}
}
Component {
file: "windowset.hpp"
lineNumber: 24
name: "qs::wm::Windowset"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.WindowManager/Windowset 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "id"
type: "QString"
bindable: "bindableId"
read: "default"
notify: "idChanged"
index: 0
lineNumber: 31
isReadonly: true
}
Property {
name: "name"
type: "QString"
bindable: "bindableName"
read: "default"
notify: "nameChanged"
index: 1
lineNumber: 33
isReadonly: true
}
Property {
name: "coordinates"
type: "int"
isList: true
bindable: "bindableCoordinates"
read: "default"
notify: "coordinatesChanged"
index: 2
lineNumber: 37
isReadonly: true
}
Property {
name: "active"
type: "bool"
bindable: "bindableActive"
read: "default"
notify: "activeChanged"
index: 3
lineNumber: 41
isReadonly: true
}
Property {
name: "projection"
type: "WindowsetProjection"
isPointer: true
bindable: "bindableProjection"
read: "default"
notify: "projectionChanged"
index: 4
lineNumber: 44
isReadonly: true
}
Property {
name: "shouldDisplay"
type: "bool"
bindable: "bindableShouldDisplay"
read: "default"
notify: "shouldDisplayChanged"
index: 5
lineNumber: 46
isReadonly: true
}
Property {
name: "urgent"
type: "bool"
bindable: "bindableUrgent"
read: "default"
notify: "urgentChanged"
index: 6
lineNumber: 48
isReadonly: true
}
Property {
name: "canActivate"
type: "bool"
bindable: "bindableCanActivate"
read: "default"
notify: "canActivateChanged"
index: 7
lineNumber: 51
isReadonly: true
}
Property {
name: "canDeactivate"
type: "bool"
bindable: "bindableCanDeactivate"
read: "default"
notify: "canDeactivateChanged"
index: 8
lineNumber: 54
isReadonly: true
}
Property {
name: "canRemove"
type: "bool"
bindable: "bindableCanRemove"
read: "default"
notify: "canRemoveChanged"
index: 9
lineNumber: 56
isReadonly: true
}
Property {
name: "canSetProjection"
type: "bool"
bindable: "bindableCanSetProjection"
read: "default"
notify: "canSetProjectionChanged"
index: 10
lineNumber: 58
isReadonly: true
}
Signal { name: "idChanged"; lineNumber: 95 }
Signal { name: "nameChanged"; lineNumber: 96 }
Signal { name: "coordinatesChanged"; lineNumber: 97 }
Signal { name: "activeChanged"; lineNumber: 98 }
Signal { name: "projectionChanged"; lineNumber: 99 }
Signal { name: "shouldDisplayChanged"; lineNumber: 100 }
Signal { name: "urgentChanged"; lineNumber: 101 }
Signal { name: "canActivateChanged"; lineNumber: 102 }
Signal { name: "canDeactivateChanged"; lineNumber: 103 }
Signal { name: "canRemoveChanged"; lineNumber: 104 }
Signal { name: "canSetProjectionChanged"; lineNumber: 105 }
Method { name: "activate"; lineNumber: 66 }
Method { name: "deactivate"; lineNumber: 68 }
Method { name: "remove"; lineNumber: 70 }
Method {
name: "setProjection"
lineNumber: 73
Parameter { name: "projection"; type: "WindowsetProjection"; isPointer: true }
}
}
Component {
file: "windowset.hpp"
lineNumber: 129
name: "qs::wm::WindowsetProjection"
accessSemantics: "reference"
prototype: "QObject"
exports: ["Quickshell.WindowManager/WindowsetProjection 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "screens"
type: "QList<QuickshellScreenInfo*>"
read: "screens"
notify: "screensChanged"
index: 0
lineNumber: 135
isReadonly: true
}
Property {
name: "windowsets"
type: "QList<Windowset*>"
bindable: "bindableWindowsets"
read: "default"
notify: "windowsetsChanged"
index: 1
lineNumber: 137
isReadonly: true
}
Signal { name: "screensChanged"; lineNumber: 152 }
Signal { name: "windowsetsChanged"; lineNumber: 153 }
}
}
@@ -0,0 +1,8 @@
module Quickshell.X11
linktarget quickshell-x11plugin
optional plugin quickshell-x11plugin
classname Quickshell_X11Plugin
typeinfo quickshell-x11.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/X11/
@@ -0,0 +1,82 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "panel_window.hpp"
lineNumber: 32
name: "XPanelWindow"
accessSemantics: "reference"
prototype: "ProxyWindowBase"
exports: ["Quickshell.X11/XPanelWindow 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "anchors"
type: "Anchors"
read: "anchors"
write: "setAnchors"
notify: "anchorsChanged"
index: 0
lineNumber: 36
}
Property {
name: "exclusiveZone"
type: "int"
read: "exclusiveZone"
write: "setExclusiveZone"
notify: "exclusiveZoneChanged"
index: 1
lineNumber: 37
}
Property {
name: "exclusionMode"
type: "ExclusionMode::Enum"
read: "exclusionMode"
write: "setExclusionMode"
notify: "exclusionModeChanged"
index: 2
lineNumber: 38
}
Property {
name: "margins"
type: "Margins"
read: "margins"
write: "setMargins"
notify: "marginsChanged"
index: 3
lineNumber: 39
}
Property {
name: "aboveWindows"
type: "bool"
read: "aboveWindows"
write: "setAboveWindows"
notify: "aboveWindowsChanged"
index: 4
lineNumber: 40
}
Property {
name: "focusable"
type: "bool"
read: "focusable"
write: "setFocusable"
notify: "focusableChanged"
index: 5
lineNumber: 41
}
Signal { name: "anchorsChanged"; lineNumber: 81 }
Signal { name: "exclusiveZoneChanged"; lineNumber: 82 }
Signal { name: "exclusionModeChanged"; lineNumber: 83 }
Signal { name: "marginsChanged"; lineNumber: 84 }
Signal { name: "aboveWindowsChanged"; lineNumber: 85 }
Signal { name: "focusableChanged"; lineNumber: 86 }
Method { name: "xInit"; lineNumber: 89 }
Method { name: "updatePanelStack"; lineNumber: 90 }
Method { name: "updateDimensionsSlot"; lineNumber: 91 }
Method { name: "onScreenVirtualGeometryChanged"; lineNumber: 92 }
}
}
@@ -0,0 +1,9 @@
module Quickshell._Window
linktarget quickshell-windowplugin
optional plugin quickshell-windowplugin
classname Quickshell__WindowPlugin
typeinfo quickshell-window.qmltypes
depends QtQuick
prefer :/qt/qml/Quickshell/_Window/
depends Quickshell
@@ -0,0 +1,813 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "panelinterface.hpp"
lineNumber: 12
name: "Anchors"
accessSemantics: "value"
exports: ["Quickshell._Window/panelAnchors 0.0"]
isStructured: true
exportMetaObjectRevisions: [0]
Property { name: "left"; type: "bool"; index: 0; lineNumber: 14 }
Property { name: "right"; type: "bool"; index: 1; lineNumber: 15 }
Property { name: "top"; type: "bool"; index: 2; lineNumber: 16 }
Property { name: "bottom"; type: "bool"; index: 3; lineNumber: 17 }
}
Component {
file: "panelinterface.hpp"
lineNumber: 57
name: "ExclusionMode"
accessSemantics: "none"
exports: ["Quickshell._Window/ExclusionMode 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Enum"
type: "quint8"
lineNumber: 61
values: ["Normal", "Ignore", "Auto"]
}
}
Component {
file: "floatingwindow.hpp"
lineNumber: 86
name: "FloatingWindowInterface"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "WindowInterface"
exports: ["Quickshell._Window/FloatingWindow 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "title"
type: "QString"
bindable: "bindableTitle"
read: "default"
write: "default"
notify: "titleChanged"
index: 0
lineNumber: 90
}
Property {
name: "minimumSize"
type: "QSize"
bindable: "bindableMinimumSize"
read: "default"
write: "default"
notify: "minimumSizeChanged"
index: 1
lineNumber: 92
}
Property {
name: "maximumSize"
type: "QSize"
bindable: "bindableMaximumSize"
read: "default"
write: "default"
notify: "maximumSizeChanged"
index: 2
lineNumber: 94
}
Property {
name: "minimized"
type: "bool"
read: "isMinimized"
write: "setMinimized"
notify: "minimizedChanged"
index: 3
lineNumber: 96
}
Property {
name: "maximized"
type: "bool"
read: "isMaximized"
write: "setMaximized"
notify: "maximizedChanged"
index: 4
lineNumber: 98
}
Property {
name: "fullscreen"
type: "bool"
read: "isFullscreen"
write: "setFullscreen"
notify: "fullscreenChanged"
index: 5
lineNumber: 100
}
Property {
name: "parentWindow"
type: "QObject"
isPointer: true
read: "parentWindow"
write: "setParentWindow"
notify: "parentWindowChanged"
index: 6
lineNumber: 105
}
Signal { name: "minimumSizeChanged"; lineNumber: 136 }
Signal { name: "maximumSizeChanged"; lineNumber: 137 }
Signal { name: "titleChanged"; lineNumber: 138 }
Signal { name: "minimizedChanged"; lineNumber: 139 }
Signal { name: "maximizedChanged"; lineNumber: 140 }
Signal { name: "fullscreenChanged"; lineNumber: 141 }
Signal { name: "parentWindowChanged"; lineNumber: 142 }
Method { name: "onWindowConnected"; lineNumber: 145 }
Method { name: "onWindowStateChanged"; lineNumber: 146 }
Method { name: "startSystemMove"; type: "bool"; isMethodConstant: true; lineNumber: 128 }
Method {
name: "startSystemResize"
type: "bool"
isMethodConstant: true
lineNumber: 130
Parameter { name: "edges"; type: "Qt::Edges" }
}
}
Component {
file: "panelinterface.hpp"
lineNumber: 96
name: "PanelWindowInterface"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "WindowInterface"
exports: ["Quickshell._Window/PanelWindow 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property {
name: "anchors"
type: "Anchors"
read: "anchors"
write: "setAnchors"
notify: "anchorsChanged"
index: 0
lineNumber: 105
}
Property {
name: "margins"
type: "Margins"
read: "margins"
write: "setMargins"
notify: "marginsChanged"
index: 1
lineNumber: 109
}
Property {
name: "exclusiveZone"
type: "int"
read: "exclusiveZone"
write: "setExclusiveZone"
notify: "exclusiveZoneChanged"
index: 2
lineNumber: 114
}
Property {
name: "exclusionMode"
type: "ExclusionMode::Enum"
read: "exclusionMode"
write: "setExclusionMode"
notify: "exclusionModeChanged"
index: 3
lineNumber: 116
}
Property {
name: "aboveWindows"
type: "bool"
read: "aboveWindows"
write: "setAboveWindows"
notify: "aboveWindowsChanged"
index: 4
lineNumber: 120
}
Property {
name: "focusable"
type: "bool"
read: "focusable"
write: "setFocusable"
notify: "focusableChanged"
index: 5
lineNumber: 124
}
Signal { name: "anchorsChanged"; lineNumber: 152 }
Signal { name: "marginsChanged"; lineNumber: 153 }
Signal { name: "exclusiveZoneChanged"; lineNumber: 154 }
Signal { name: "exclusionModeChanged"; lineNumber: 155 }
Signal { name: "aboveWindowsChanged"; lineNumber: 156 }
Signal { name: "focusableChanged"; lineNumber: 157 }
}
Component {
file: "popupwindow.hpp"
lineNumber: 43
name: "ProxyPopupWindow"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "ProxyWindowBase"
exports: ["Quickshell._Window/PopupWindow 0.0"]
exportMetaObjectRevisions: [0]
Property {
name: "parentWindow"
type: "QObject"
isPointer: true
read: "parentWindow"
write: "setParentWindow"
notify: "parentWindowChanged"
index: 0
lineNumber: 52
}
Property {
name: "relativeX"
type: "int"
read: "relativeX"
write: "setRelativeX"
notify: "relativeXChanged"
index: 1
lineNumber: 56
}
Property {
name: "relativeY"
type: "int"
read: "relativeY"
write: "setRelativeY"
notify: "relativeYChanged"
index: 2
lineNumber: 60
}
Property {
name: "anchor"
type: "PopupAnchor"
isPointer: true
read: "anchor"
index: 3
lineNumber: 74
isReadonly: true
isPropertyConstant: true
}
Property {
name: "grabFocus"
type: "bool"
bindable: "bindableGrabFocus"
read: "default"
write: "default"
notify: "grabFocusChanged"
index: 4
lineNumber: 87
}
Signal { name: "parentWindowChanged"; lineNumber: 120 }
Signal { name: "relativeXChanged"; lineNumber: 121 }
Signal { name: "relativeYChanged"; lineNumber: 122 }
Signal { name: "grabFocusChanged"; lineNumber: 123 }
Method { name: "onParentWindowChanged"; lineNumber: 126 }
Method { name: "onClosed"; lineNumber: 127 }
Method { name: "reposition"; lineNumber: 128 }
}
Component {
file: "proxywindow.hpp"
lineNumber: 38
name: "ProxyWindowBase"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "Reloadable"
Property {
name: "_backingWindow"
type: "QQuickWindow"
isPointer: true
read: "backingWindow"
index: 0
lineNumber: 48
isReadonly: true
}
Property {
name: "contentItem"
type: "QQuickItem"
isPointer: true
read: "contentItem"
index: 1
lineNumber: 49
isReadonly: true
isPropertyConstant: true
}
Property {
name: "visible"
type: "bool"
read: "isVisible"
write: "setVisible"
notify: "visibleChanged"
index: 2
lineNumber: 50
}
Property {
name: "implicitWidth"
type: "int"
read: "implicitWidth"
write: "setImplicitWidth"
notify: "implicitWidthChanged"
index: 3
lineNumber: 51
}
Property {
name: "implicitHeight"
type: "int"
read: "implicitHeight"
write: "setImplicitHeight"
notify: "implicitHeightChanged"
index: 4
lineNumber: 52
}
Property {
name: "width"
type: "int"
read: "width"
write: "setWidth"
notify: "widthChanged"
index: 5
lineNumber: 53
}
Property {
name: "height"
type: "int"
read: "height"
write: "setHeight"
notify: "heightChanged"
index: 6
lineNumber: 54
}
Property {
name: "devicePixelRatio"
type: "double"
read: "devicePixelRatio"
notify: "devicePixelRatioChanged"
index: 7
lineNumber: 55
isReadonly: true
}
Property {
name: "screen"
type: "QuickshellScreenInfo"
isPointer: true
read: "screen"
write: "setScreen"
notify: "screenChanged"
index: 8
lineNumber: 56
}
Property {
name: "color"
type: "QColor"
read: "color"
write: "setColor"
notify: "colorChanged"
index: 9
lineNumber: 57
}
Property {
name: "mask"
type: "PendingRegion"
isPointer: true
read: "mask"
write: "setMask"
notify: "maskChanged"
index: 10
lineNumber: 58
}
Property {
name: "windowTransform"
type: "QObject"
isPointer: true
read: "windowTransform"
notify: "windowTransformChanged"
index: 11
lineNumber: 59
isReadonly: true
}
Property {
name: "backingWindowVisible"
type: "bool"
read: "isVisibleDirect"
notify: "backerVisibilityChanged"
index: 12
lineNumber: 60
isReadonly: true
}
Property {
name: "surfaceFormat"
type: "QsSurfaceFormat"
read: "surfaceFormat"
write: "setSurfaceFormat"
notify: "surfaceFormatChanged"
index: 13
lineNumber: 61
}
Property {
name: "updatesEnabled"
type: "bool"
read: "updatesEnabled"
write: "setUpdatesEnabled"
notify: "updatesEnabledChanged"
index: 14
lineNumber: 62
}
Property {
name: "data"
type: "QObject"
isList: true
read: "data"
index: 15
lineNumber: 63
isReadonly: true
}
Signal { name: "closed"; lineNumber: 156 }
Signal { name: "resourcesLost"; lineNumber: 157 }
Signal { name: "windowConnected"; lineNumber: 158 }
Signal { name: "windowDestroyed"; lineNumber: 159 }
Signal { name: "visibleChanged"; lineNumber: 160 }
Signal { name: "backerVisibilityChanged"; lineNumber: 161 }
Signal { name: "xChanged"; lineNumber: 162 }
Signal { name: "yChanged"; lineNumber: 163 }
Signal { name: "implicitWidthChanged"; lineNumber: 164 }
Signal { name: "implicitHeightChanged"; lineNumber: 165 }
Signal { name: "widthChanged"; lineNumber: 166 }
Signal { name: "heightChanged"; lineNumber: 167 }
Signal { name: "devicePixelRatioChanged"; lineNumber: 168 }
Signal { name: "windowTransformChanged"; lineNumber: 169 }
Signal { name: "screenChanged"; lineNumber: 170 }
Signal { name: "colorChanged"; lineNumber: 171 }
Signal { name: "maskChanged"; lineNumber: 172 }
Signal { name: "surfaceFormatChanged"; lineNumber: 173 }
Signal { name: "updatesEnabledChanged"; lineNumber: 174 }
Signal { name: "polished"; lineNumber: 175 }
Method { name: "onWidthChanged"; lineNumber: 178 }
Method { name: "onHeightChanged"; lineNumber: 179 }
Method { name: "onPolished"; lineNumber: 180 }
Method {
name: "onSceneGraphError"
lineNumber: 183
Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" }
Parameter { name: "message"; type: "QString" }
}
Method { name: "onVisibleChanged"; lineNumber: 184 }
Method { name: "onMaskChanged"; lineNumber: 185 }
Method { name: "onMaskDestroyed"; lineNumber: 186 }
Method { name: "onScreenDestroyed"; lineNumber: 187 }
Method { name: "onExposed"; lineNumber: 188 }
Method {
name: "itemPosition"
type: "QPointF"
isMethodConstant: true
lineNumber: 78
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "itemRect"
type: "QRectF"
isMethodConstant: true
lineNumber: 79
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 80
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "point"; type: "QPointF" }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 81
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 82
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "rect"; type: "QRectF" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 84
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
Parameter { name: "width"; type: "double" }
Parameter { name: "height"; type: "double" }
}
}
Component {
file: "windowinterface.hpp"
lineNumber: 18
name: "QsSurfaceFormat"
accessSemantics: "value"
exports: ["Quickshell._Window/surfaceFormat 0.0"]
isStructured: true
exportMetaObjectRevisions: [0]
Property { name: "opaque"; type: "bool"; write: "setOpaque"; index: 0; lineNumber: 22 }
}
Component {
file: "windowinterface.hpp"
lineNumber: 279
name: "QsWindowAttached"
accessSemantics: "reference"
prototype: "QObject"
Property {
name: "window"
type: "QObject"
isPointer: true
read: "window"
notify: "windowChanged"
index: 0
lineNumber: 281
isReadonly: true
}
Property {
name: "contentItem"
type: "QQuickItem"
isPointer: true
read: "contentItem"
notify: "windowChanged"
index: 1
lineNumber: 282
isReadonly: true
}
Signal { name: "windowChanged"; lineNumber: 300 }
Method { name: "updateWindow"; lineNumber: 303 }
Method {
name: "itemPosition"
type: "QPointF"
isMethodConstant: true
lineNumber: 290
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "itemRect"
type: "QRectF"
isMethodConstant: true
lineNumber: 291
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 292
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "point"; type: "QPointF" }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 293
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 294
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "rect"; type: "QRectF" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 297
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
Parameter { name: "width"; type: "double" }
Parameter { name: "height"; type: "double" }
}
}
Component {
file: "windowinterface.hpp"
lineNumber: 48
name: "WindowInterface"
accessSemantics: "reference"
defaultProperty: "data"
prototype: "Reloadable"
exports: ["Quickshell._Window/QsWindow 0.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
attachedType: "QsWindowAttached"
Property {
name: "contentItem"
type: "QQuickItem"
isPointer: true
read: "contentItem"
index: 0
lineNumber: 51
isReadonly: true
isPropertyConstant: true
}
Property {
name: "visible"
type: "bool"
read: "isVisible"
write: "setVisible"
notify: "visibleChanged"
index: 1
lineNumber: 53
}
Property {
name: "backingWindowVisible"
type: "bool"
read: "isBackingWindowVisible"
notify: "backingWindowVisibleChanged"
index: 2
lineNumber: 58
isReadonly: true
}
Property {
name: "implicitWidth"
type: "int"
read: "implicitWidth"
write: "setImplicitWidth"
notify: "implicitWidthChanged"
index: 3
lineNumber: 60
}
Property {
name: "implicitHeight"
type: "int"
read: "implicitHeight"
write: "setImplicitHeight"
notify: "implicitHeightChanged"
index: 4
lineNumber: 62
}
Property {
name: "width"
type: "int"
read: "width"
write: "setWidth"
notify: "widthChanged"
index: 5
lineNumber: 66
}
Property {
name: "height"
type: "int"
read: "height"
write: "setHeight"
notify: "heightChanged"
index: 6
lineNumber: 70
}
Property {
name: "devicePixelRatio"
type: "double"
read: "devicePixelRatio"
notify: "devicePixelRatioChanged"
index: 7
lineNumber: 76
isReadonly: true
}
Property {
name: "screen"
type: "QuickshellScreenInfo"
isPointer: true
read: "screen"
write: "setScreen"
notify: "screenChanged"
index: 8
lineNumber: 80
}
Property {
name: "windowTransform"
type: "QObject"
isPointer: true
read: "windowTransform"
notify: "windowTransformChanged"
index: 9
lineNumber: 86
isReadonly: true
}
Property {
name: "color"
type: "QColor"
read: "color"
write: "setColor"
notify: "colorChanged"
index: 10
lineNumber: 92
}
Property {
name: "mask"
type: "PendingRegion"
isPointer: true
read: "mask"
write: "setMask"
notify: "maskChanged"
index: 11
lineNumber: 135
}
Property {
name: "surfaceFormat"
type: "QsSurfaceFormat"
read: "surfaceFormat"
write: "setSurfaceFormat"
notify: "surfaceFormatChanged"
index: 12
lineNumber: 145
}
Property {
name: "updatesEnabled"
type: "bool"
read: "updatesEnabled"
write: "setUpdatesEnabled"
notify: "updatesEnabledChanged"
index: 13
lineNumber: 154
}
Property {
name: "data"
type: "QObject"
isList: true
read: "data"
index: 14
lineNumber: 155
isReadonly: true
}
Signal { name: "closed"; lineNumber: 253 }
Signal { name: "resourcesLost"; lineNumber: 259 }
Signal { name: "windowConnected"; lineNumber: 260 }
Signal { name: "visibleChanged"; lineNumber: 261 }
Signal { name: "backingWindowVisibleChanged"; lineNumber: 262 }
Signal { name: "implicitWidthChanged"; lineNumber: 263 }
Signal { name: "implicitHeightChanged"; lineNumber: 264 }
Signal { name: "widthChanged"; lineNumber: 265 }
Signal { name: "heightChanged"; lineNumber: 266 }
Signal { name: "devicePixelRatioChanged"; lineNumber: 267 }
Signal { name: "screenChanged"; lineNumber: 268 }
Signal { name: "windowTransformChanged"; lineNumber: 269 }
Signal { name: "colorChanged"; lineNumber: 270 }
Signal { name: "maskChanged"; lineNumber: 271 }
Signal { name: "surfaceFormatChanged"; lineNumber: 272 }
Signal { name: "updatesEnabledChanged"; lineNumber: 273 }
Method {
name: "itemPosition"
type: "QPointF"
isMethodConstant: true
lineNumber: 170
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "itemRect"
type: "QRectF"
isMethodConstant: true
lineNumber: 176
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 183
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "point"; type: "QPointF" }
}
Method {
name: "mapFromItem"
type: "QPointF"
isMethodConstant: true
lineNumber: 190
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 197
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "rect"; type: "QRectF" }
}
Method {
name: "mapFromItem"
type: "QRectF"
isMethodConstant: true
lineNumber: 205
Parameter { name: "item"; type: "QQuickItem"; isPointer: true }
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
Parameter { name: "width"; type: "double" }
Parameter { name: "height"; type: "double" }
}
}
}
@@ -0,0 +1,10 @@
module Quickshell
linktarget quickshell-coreplugin
optional plugin quickshell-coreplugin
classname QuickshellPlugin
typeinfo quickshell-core.qmltypes
optional import Quickshell._Window
default import Quickshell._Window
depends QtQuick
prefer :/qt/qml/Quickshell/
@@ -0,0 +1,7 @@
[Desktop Entry]
Version=1.5
Type=Application
NoDisplay=true
Name=Quickshell
Icon=org.quickshell
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="724.635" height="724.635"><path fill="#359757" stroke="#359757" stroke-linecap="square" stroke-linejoin="round" stroke-width="74.755" d="m37.378 160.237 122.859-122.86h527.02v527.02l-122.86 122.86H37.378Z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="12.201" d="M323.051 96.412a268.74 268.74 0 0 0-3.51.542c-4.052 14.481-7.815 29.941-14.904 42.692a230.02 230.02 0 0 0-59.406 24.679c-14.036-3.974-27.647-12.214-40.766-19.562a268.788 268.788 0 0 0-60.035 60.16c7.376 13.105 15.645 26.698 19.648 40.726a230.02 230.02 0 0 0-24.554 59.458c-12.735 7.115-28.186 10.913-42.66 14.994a268.789 268.789 0 0 0 .09 84.992c14.48 4.05 29.941 7.814 42.691 14.903a230.02 230.02 0 0 0 24.68 59.406c-3.974 14.037-12.215 27.647-19.563 40.766a268.788 268.788 0 0 0 60.161 60.035c13.104-7.376 26.696-15.645 40.725-19.648a230.02 230.02 0 0 0 59.457 24.555c7.116 12.735 10.913 28.186 14.995 42.659a268.788 268.788 0 0 0 84.99-.09c4.052-14.482 7.817-29.941 14.906-42.691a230.02 230.02 0 0 0 59.405-24.68c14.037 3.974 33.069 17.638 46.188 24.986a268.788 268.788 0 0 0 60.035-60.161c-7.376-13.105-21.068-32.12-25.071-46.149a230.02 230.02 0 0 0 24.555-59.457c12.735-7.116 28.186-10.912 42.659-14.993a268.788 268.788 0 0 0-.089-84.993c-14.482-4.051-29.942-7.814-42.692-14.904a230.02 230.02 0 0 0-24.68-59.405c3.974-14.037 12.216-27.647 19.565-40.767a268.788 268.788 0 0 0-60.161-60.035c-13.105 7.376-26.698 15.645-40.726 19.649a230.02 230.02 0 0 0-59.458-24.555c-7.115-12.735-10.913-28.187-14.994-42.66a268.788 268.788 0 0 0-81.481-.452zm15.778 106.85c58.282-8.328 116.455 15.865 151.643 63.065 35.19 47.2 41.766 109.86 17.144 163.337l-41.728-22.688s-38.558 31.44-57.344 63.012l23.893 36.326a160.78 160.78 0 0 1-46.633 15.058c-87.854 12.99-169.6-47.708-182.573-135.564-12.974-87.855 47.74-169.59 135.598-182.546Z"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,10 @@
[Trigger]
Operation = Upgrade
Operation = Install
Type = Package
Target = qt6-base
Target = qt6-wayland
[Action]
Description = Querying Quickshell compatibility after Qt6 update...
When = PostTransaction
Exec = /usr/bin/quickshell --private-check-compat
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
@@ -0,0 +1,13 @@
a1a150fab00a93ea983aaca5df55304bc837f51b not-for-merge branch '0.2' of https://git.outfoxxed.me/quickshell/quickshell
da4ea5ff95d3ec2905bd957e138821aeffa423b8 not-for-merge branch 'cpptrace2' of https://git.outfoxxed.me/quickshell/quickshell
fb08eced449e87e47321e95beeb890a63d2c67bd not-for-merge branch 'dmabuf-mgpu' of https://git.outfoxxed.me/quickshell/quickshell
11ca60be22b063478ed9586ca1d7f92f0f261caf not-for-merge branch 'master' of https://git.outfoxxed.me/quickshell/quickshell
56633822be9fa3d646eb56bd5c3526ff0c46d3ee not-for-merge branch 'notifyInternal2-crash-debug' of https://git.outfoxxed.me/quickshell/quickshell
59e9c47b0eb48a9e4bcf9631fa062ee939bd2e83 not-for-merge branch 'staging' of https://git.outfoxxed.me/quickshell/quickshell
6705e2da778d216e81dbdc3764a3f50e89bfd87d not-for-merge branch 'wip-ext-workspace' of https://git.outfoxxed.me/quickshell/quickshell
cad9198241ff5f4306051ac7fc05c5d3d2a28983 not-for-merge 'refs/pull/1/head' of https://git.outfoxxed.me/quickshell/quickshell
703a3789083d2f990c4e99cd25c97c2a4cccbd81 not-for-merge tag 'v0.1.0' of https://git.outfoxxed.me/quickshell/quickshell
a5431dd02dc23d9ef1680e67777fed00fe5f7cda not-for-merge tag 'v0.2.0' of https://git.outfoxxed.me/quickshell/quickshell
a1a150fab00a93ea983aaca5df55304bc837f51b not-for-merge tag 'v0.2.1' of https://git.outfoxxed.me/quickshell/quickshell
b8d4367cc337f84c85005f9c9bc1d683ad600542 not-for-merge tag 'v0.3.0' of https://git.outfoxxed.me/quickshell/quickshell
06f73a5ef6b23f78de4dc009c6318c3e38e98e13 not-for-merge tag 'v0.3.1' of https://git.outfoxxed.me/quickshell/quickshell
@@ -0,0 +1 @@
ref: refs/heads/master
@@ -0,0 +1,9 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
url = https://git.outfoxxed.me/quickshell/quickshell.git
tagOpt = --no-tags
fetch = +refs/*:refs/*
mirror = true
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
@@ -0,0 +1,15 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:
@@ -0,0 +1,74 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".
# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
# This example catches duplicate Signed-off-by lines and messages that
# would confuse 'git am'.
ret=0
test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
ret=1
}
comment_re="$(
{
git config --get-regexp "^core\.comment(char|string)\$" ||
echo '#'
} | sed -n -e '
${
s/^[^ ]* //
s|[][*./\]|\\&|g
s/^auto$/[#;@!$%^&|:]/
p
}'
)"
scissors_line="^${comment_re} -\{8,\} >8 -\{8,\}\$"
comment_line="^${comment_re}.*"
blank_line='^[ ]*$'
# Disallow lines starting with "diff -" or "Index: " in the body of the
# message. Stop looking if we see a scissors line.
line="$(sed -n -e "
# Skip comments and blank lines at the start of the file.
/${scissors_line}/q
/${comment_line}/d
/${blank_line}/d
# The first paragraph will become the subject header so
# does not need to be checked.
: subject
n
/${scissors_line}/q
/${blank_line}/!b subject
# Check the body of the message for problematic
# prefixes.
: body
n
/${scissors_line}/q
/${comment_line}/b body
/^diff -/{p;q;}
/^Index: /{p;q;}
b body
" "$1")"
if test -n "$line"
then
echo >&2 "Message contains a diff that will confuse 'git am'."
echo >&2 "To fix this indent the diff."
ret=1
fi
exit $ret
@@ -0,0 +1,168 @@
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open2;
# An example hook script to integrate Watchman
# (https://facebook.github.io/watchman/) with git to speed up detecting
# new and modified files.
#
# The hook is passed a version (currently 2) and last update token
# formatted as a string and outputs to stdout a new update token and
# all files that have been modified since the update token. Paths must
# be relative to the root of the working tree and separated by a single NUL.
#
# To enable this hook, rename this file to "query-watchman" and set
# 'git config core.fsmonitor .git/hooks/query-watchman'
#
my ($version, $last_update_token) = @ARGV;
# Uncomment for debugging
# print STDERR "$0 $version $last_update_token\n";
# Check the hook interface version
if ($version ne 2) {
die "Unsupported query-fsmonitor hook version '$version'.\n" .
"Falling back to scanning...\n";
}
my $git_work_tree = get_working_dir();
my $json_pkg;
eval {
require JSON::XS;
$json_pkg = "JSON::XS";
1;
} or do {
require JSON::PP;
$json_pkg = "JSON::PP";
};
launch_watchman();
sub launch_watchman {
my $o = watchman_query();
if (is_work_tree_watched($o)) {
output_result($o->{clock}, @{$o->{files}});
}
}
sub output_result {
my ($clockid, @files) = @_;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# binmode $fh, ":utf8";
# print $fh "$clockid\n@files\n";
# close $fh;
binmode STDOUT, ":utf8";
print $clockid;
print "\0";
local $, = "\0";
print @files;
}
sub watchman_clock {
my $response = qx/watchman clock "$git_work_tree"/;
die "Failed to get clock id on '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
return $json_pkg->new->utf8->decode($response);
}
sub watchman_query {
my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
or die "open2() failed: $!\n" .
"Falling back to scanning...\n";
# In the query expression below we're asking for names of files that
# changed since $last_update_token but not from the .git folder.
#
# To accomplish this, we're using the "since" generator to use the
# recency index to select candidate nodes and "fields" to limit the
# output to file names only. Then we're using the "expression" term to
# further constrain the results.
my $last_update_line = "";
if (substr($last_update_token, 0, 1) eq "c") {
$last_update_token = "\"$last_update_token\"";
$last_update_line = qq[\n"since": $last_update_token,];
}
my $query = <<" END";
["query", "$git_work_tree", {$last_update_line
"fields": ["name"],
"expression": ["not", ["dirname", ".git"]]
}]
END
# Uncomment for debugging the watchman query
# open (my $fh, ">", ".git/watchman-query.json");
# print $fh $query;
# close $fh;
print CHLD_IN $query;
close CHLD_IN;
my $response = do {local $/; <CHLD_OUT>};
# Uncomment for debugging the watch response
# open ($fh, ">", ".git/watchman-response.json");
# print $fh $response;
# close $fh;
die "Watchman: command returned no output.\n" .
"Falling back to scanning...\n" if $response eq "";
die "Watchman: command returned invalid output: $response\n" .
"Falling back to scanning...\n" unless $response =~ /^\{/;
return $json_pkg->new->utf8->decode($response);
}
sub is_work_tree_watched {
my ($output) = @_;
my $error = $output->{error};
if ($error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
my $response = qx/watchman watch "$git_work_tree"/;
die "Failed to make watchman watch '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
$output = $json_pkg->new->utf8->decode($response);
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# close $fh;
# Watchman will always return all files on the first query so
# return the fast "everything is dirty" flag to git and do the
# Watchman query just to get it over with now so we won't pay
# the cost in git to look up each individual file.
my $o = watchman_clock();
$error = $o->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
output_result($o->{clock}, ("/"));
return 0;
}
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
return 1;
}
sub get_working_dir {
my $working_dir;
if ($^O =~ 'msys' || $^O =~ 'cygwin') {
$working_dir = Win32::GetCwd();
$working_dir =~ tr/\\/\//;
} else {
require Cwd;
$working_dir = Cwd::cwd();
}
return $working_dir;
}
@@ -0,0 +1,8 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info
@@ -0,0 +1,14 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:
@@ -0,0 +1,49 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=$(git hash-object -t tree /dev/null)
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --type=bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff-index --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --
@@ -0,0 +1,13 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
:
@@ -0,0 +1,53 @@
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local oid> <remote ref> <remote oid>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).
remote="$1"
url="$2"
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
while read local_ref local_oid remote_ref remote_oid
do
if test "$local_oid" = "$zero"
then
# Handle delete
:
else
if test "$remote_oid" = "$zero"
then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi
# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done
exit 0
@@ -0,0 +1,169 @@
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $2 -- the branch being rebased (or empty when rebasing the current branch).
#
# This sample shows how to prevent topic branches that are already
# merged to 'next' branch from getting rebased, because allowing it
# would result in rebasing already published history.
publish=next
basebranch="$1"
if test "$#" = 2
then
topic="refs/heads/$2"
else
topic=`git symbolic-ref HEAD` ||
exit 0 ;# we do not interrupt rebasing detached HEAD
fi
case "$topic" in
refs/heads/??/*)
;;
*)
exit 0 ;# we do not interrupt others.
;;
esac
# Now we are dealing with a topic branch being rebased
# on top of master. Is it OK to rebase it?
# Does the topic really exist?
git show-ref -q "$topic" || {
echo >&2 "No such branch $topic"
exit 1
}
# Is topic fully merged to master?
not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
if test -z "$not_in_master"
then
echo >&2 "$topic is fully merged to master; better remove it."
exit 1 ;# we could allow it, but there is no point.
fi
# Is topic ever merged to next? If so you should not be rebasing it.
only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
only_next_2=`git rev-list ^master ${publish} | sort`
if test "$only_next_1" = "$only_next_2"
then
not_in_topic=`git rev-list "^$topic" master`
if test -z "$not_in_topic"
then
echo >&2 "$topic is already up to date with master"
exit 1 ;# we could allow it, but there is no point.
else
exit 0
fi
else
not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
/usr/bin/perl -e '
my $topic = $ARGV[0];
my $msg = "* $topic has commits already merged to public branch:\n";
my (%not_in_next) = map {
/^([0-9a-f]+) /;
($1 => 1);
} split(/\n/, $ARGV[1]);
for my $elem (map {
/^([0-9a-f]+) (.*)$/;
[$1 => $2];
} split(/\n/, $ARGV[2])) {
if (!exists $not_in_next{$elem->[0]}) {
if ($msg) {
print STDERR $msg;
undef $msg;
}
print STDERR " $elem->[1]\n";
}
}
' "$topic" "$not_in_next" "$not_in_master"
exit 1
fi
<<\DOC_END
This sample hook safeguards topic branches that have been
published from being rewound.
The workflow assumed here is:
* Once a topic branch forks from "master", "master" is never
merged into it again (either directly or indirectly).
* Once a topic branch is fully cooked and merged into "master",
it is deleted. If you need to build on top of it to correct
earlier mistakes, a new topic branch is created by forking at
the tip of the "master". This is not strictly necessary, but
it makes it easier to keep your history simple.
* Whenever you need to test or publish your changes to topic
branches, merge them into "next" branch.
The script, being an example, hardcodes the publish branch name
to be "next", but it is trivial to make it configurable via
$GIT_DIR/config mechanism.
With this workflow, you would want to know:
(1) ... if a topic branch has ever been merged to "next". Young
topic branches can have stupid mistakes you would rather
clean up before publishing, and things that have not been
merged into other branches can be easily rebased without
affecting other people. But once it is published, you would
not want to rewind it.
(2) ... if a topic branch has been fully merged to "master".
Then you can delete it. More importantly, you should not
build on top of it -- other people may already want to
change things related to the topic as patches against your
"master", so if you need further changes, it is better to
fork the topic (perhaps with the same name) afresh from the
tip of "master".
Let's look at this example:
o---o---o---o---o---o---o---o---o---o "next"
/ / / /
/ a---a---b A / /
/ / / /
/ / c---c---c---c B /
/ / / \ /
/ / / b---b C \ /
/ / / / \ /
---o---o---o---o---o---o---o---o---o---o---o "master"
A, B and C are topic branches.
* A has one fix since it was merged up to "next".
* B has finished. It has been fully merged up to "master" and "next",
and is ready to be deleted.
* C has not merged to "next" at all.
We would want to allow C to be rebased, refuse A, and encourage
B to be deleted.
To compute (1):
git rev-list ^master ^topic next
git rev-list ^master next
if these match, topic has not merged in next at all.
To compute (2):
git rev-list master..topic
if this is empty, it is fully merged to "master".
DOC_END
@@ -0,0 +1,24 @@
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"
then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
esac
i=$((i + 1))
done
fi
@@ -0,0 +1,42 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# the commit is aborted.
#
# To enable this hook, rename this file to "prepare-commit-msg".
# This hook includes three examples. The first one removes the
# "# Please enter the commit message..." help message.
#
# The second includes the output of "git diff --name-status -r"
# into the message, just before the "git status" output. It is
# commented because it doesn't cope with --amend or with squashed
# commits.
#
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
# /usr/bin/perl -i.bak -pe '
# print "\n" . `git diff --cached --name-status -r`
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
# *) ;;
# esac
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
# fi
@@ -0,0 +1,78 @@
#!/bin/sh
# An example hook script to update a checked-out tree on a git push.
#
# This hook is invoked by git-receive-pack(1) when it reacts to git
# push and updates reference(s) in its repository, and when the push
# tries to update the branch that is currently checked out and the
# receive.denyCurrentBranch configuration variable is set to
# updateInstead.
#
# By default, such a push is refused if the working tree and the index
# of the remote repository has any difference from the currently
# checked out commit; when both the working tree and the index match
# the current commit, they are updated to match the newly pushed tip
# of the branch. This hook is to be used to override the default
# behaviour; however the code below reimplements the default behaviour
# as a starting point for convenient modification.
#
# The hook receives the commit with which the tip of the current
# branch is going to be updated:
commit=$1
# It can exit with a non-zero status to refuse the push (when it does
# so, it must not modify the index or the working tree).
die () {
echo >&2 "$*"
exit 1
}
# Or it can make any necessary changes to the working tree and to the
# index to bring them to the desired state when the tip of the current
# branch is updated to the new commit, and exit with a zero status.
#
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
# in order to emulate git fetch that is run in the reverse direction
# with git push, as the two-tree form of git read-tree -u -m is
# essentially the same as git switch or git checkout that switches
# branches while keeping the local changes in the working tree that do
# not interfere with the difference between the branches.
# The below is a more-or-less exact translation to shell of the C code
# for the default behaviour for git's push-to-checkout hook defined in
# the push_to_deploy() function in builtin/receive-pack.c.
#
# Note that the hook will be executed from the repository directory,
# not from the working tree, so if you want to perform operations on
# the working tree, you will have to adapt your code accordingly, e.g.
# by adding "cd .." or using relative paths.
if ! git update-index -q --ignore-submodules --refresh
then
die "Up-to-date check failed"
fi
if ! git diff-files --quiet --ignore-submodules --
then
die "Working directory has unstaged changes"
fi
# This is a rough translation of:
#
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
if git cat-file -e HEAD 2>/dev/null
then
head=HEAD
else
head=$(git hash-object -t tree --stdin </dev/null)
fi
if ! git diff-index --quiet --cached --ignore-submodules $head --
then
die "Working directory has staged changes"
fi
if ! git read-tree -u -m "$commit"
then
die "Could not update working tree to new HEAD"
fi
@@ -0,0 +1,77 @@
#!/bin/sh
# An example hook script to validate a patch (and/or patch series) before
# sending it via email.
#
# The hook should exit with non-zero status after issuing an appropriate
# message if it wants to prevent the email(s) from being sent.
#
# To enable this hook, rename this file to "sendemail-validate".
#
# By default, it will only check that the patch(es) can be applied on top of
# the default upstream branch without conflicts in a secondary worktree. After
# validation (successful or not) of the last patch of a series, the worktree
# will be deleted.
#
# The following config variables can be set to change the default remote and
# remote ref that are used to apply the patches against:
#
# sendemail.validateRemote (default: origin)
# sendemail.validateRemoteRef (default: HEAD)
#
# Replace the TODO placeholders with appropriate checks according to your
# needs.
validate_cover_letter () {
file="$1"
# TODO: Replace with appropriate checks (e.g. spell checking).
true
}
validate_patch () {
file="$1"
# Ensure that the patch applies without conflicts.
git am -3 "$file" || return
# TODO: Replace with appropriate checks for this patch
# (e.g. checkpatch.pl).
true
}
validate_series () {
# TODO: Replace with appropriate checks for the whole series
# (e.g. quick build, coding style checks, etc.).
true
}
# main -------------------------------------------------------------------------
if test "$GIT_SENDEMAIL_FILE_COUNTER" = 1
then
remote=$(git config --default origin --get sendemail.validateRemote) &&
ref=$(git config --default HEAD --get sendemail.validateRemoteRef) &&
worktree=$(mktemp --tmpdir -d sendemail-validate.XXXXXXX) &&
git worktree add -fd --checkout "$worktree" "refs/remotes/$remote/$ref" &&
git config --replace-all sendemail.validateWorktree "$worktree"
else
worktree=$(git config --get sendemail.validateWorktree)
fi || {
echo "sendemail-validate: error: failed to prepare worktree" >&2
exit 1
}
unset GIT_DIR GIT_WORK_TREE
cd "$worktree" &&
if grep -q "^diff --git " "$1"
then
validate_patch "$1"
else
validate_cover_letter "$1"
fi &&
if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL"
then
git config --unset-all sendemail.validateWorktree &&
trap 'git worktree remove -ff "$worktree"' EXIT &&
validate_series
fi
@@ -0,0 +1,128 @@
#!/bin/sh
#
# An example hook script to block unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into the
# repository. By default they won't be.
# hooks.allowdeletetag
# This boolean sets whether deleting tags will be allowed in the
# repository. By default they won't be.
# hooks.allowmodifytag
# This boolean sets whether a tag may be modified after creation. By default
# it won't be.
# hooks.allowdeletebranch
# This boolean sets whether deleting branches will be allowed in the
# repository. By default they won't be.
# hooks.denycreatebranch
# This boolean sets whether remotely creating branches will be denied
# in the repository. By default this is allowed.
#
# --- Command line
refname="$1"
oldrev="$2"
newrev="$3"
# --- Safety check
if [ -z "$GIT_DIR" ]; then
echo "Don't run this script from the command line." >&2
echo " (if you want, you could supply GIT_DIR then run" >&2
echo " $0 <ref> <oldrev> <newrev>)" >&2
exit 1
fi
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
exit 1
fi
# --- Config
allowunannotated=$(git config --type=bool hooks.allowunannotated)
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git cat-file -t $newrev)
fi
case "$refname","$newrev_type" in
refs/tags/*,commit)
# un-annotated tag
short_refname=${refname##refs/tags/}
if [ "$allowunannotated" != "true" ]; then
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
exit 1
fi
;;
refs/tags/*,delete)
# delete tag
if [ "$allowdeletetag" != "true" ]; then
echo "*** Deleting a tag is not allowed in this repository" >&2
exit 1
fi
;;
refs/tags/*,tag)
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
then
echo "*** Tag '$refname' already exists." >&2
echo "*** Modifying a tag is not allowed in this repository." >&2
exit 1
fi
;;
refs/heads/*,commit)
# branch
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
echo "*** Creating a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/heads/*,delete)
# delete branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/remotes/*,commit)
# tracking branch
;;
refs/remotes/*,delete)
# delete tracking branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
exit 1
fi
;;
*)
# Anything else (is there anything else?)
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
exit 1
;;
esac
# --- Finished
exit 0

Some files were not shown because too many files have changed in this diff Show More