Key for layout assignment (screen + desktop + activity)
More...
#include <phosphor-zones/include/PhosphorZones/AssignmentEntry.h>
Key for layout assignment (screen + desktop + activity)
◆ fromGroupName()
| static LayoutAssignmentKey PhosphorZones::LayoutAssignmentKey::fromGroupName |
( |
const QString & |
groupName, |
|
|
const QString & |
prefix |
|
) |
| |
|
inlinestatic |
Parse a "<prefix><screenId>[:Desktop:N][:Activity:uuid]" group name.
Expects suffixes in canonical order: :Desktop:N before :Activity:uuid. Group names are always constructed internally in this order.
- Parameters
-
| groupName | Full group name from the config backend. |
| prefix | Schema-defined prefix (the lib's own wire format uses "Assignment:" — defined as a private constant in layoutregistry_persistence.cpp). Passing it explicitly keeps this header free of any cpp-side constant dependency. |
- Returns
- Key with populated fields; screenId is empty on parse failure.
◆ operator==()
◆ activity
| QString PhosphorZones::LayoutAssignmentKey::activity |
◆ screenId
| QString PhosphorZones::LayoutAssignmentKey::screenId |
◆ virtualDesktop
| int PhosphorZones::LayoutAssignmentKey::virtualDesktop = 0 |
The documentation for this struct was generated from the following file: