Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorScreens::Direction Namespace Reference

Canonical direction tokens accepted by VirtualScreenSwapper. More...

Variables

constexpr QLatin1StringView Left {"left"}
constexpr QLatin1StringView Right {"right"}
constexpr QLatin1StringView Up {"up"}
constexpr QLatin1StringView Down {"down"}

Detailed Description

Canonical direction tokens accepted by VirtualScreenSwapper.

Lower-case ASCII matches the D-Bus wire format used by the Phosphor org.phosphor_works.Placement.Screen.swapVirtualScreenInDirection method, so the adaptor can pass through the user's string verbatim. New callers should prefer constructing direction strings via these constants instead of hand-rolled string literals.

Variable Documentation

◆ Down

QLatin1StringView PhosphorScreens::Direction::Down {"down"}
inlineconstexpr

◆ Left

QLatin1StringView PhosphorScreens::Direction::Left {"left"}
inlineconstexpr

◆ Right

QLatin1StringView PhosphorScreens::Direction::Right {"right"}
inlineconstexpr

◆ Up

QLatin1StringView PhosphorScreens::Direction::Up {"up"}
inlineconstexpr