Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
Phosphor::Screens::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 PlasmaZones org.plasmazones.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

constexpr QLatin1StringView Phosphor::Screens::Direction::Down {"down"}
inlineconstexpr

◆ Left

constexpr QLatin1StringView Phosphor::Screens::Direction::Left {"left"}
inlineconstexpr

◆ Right

constexpr QLatin1StringView Phosphor::Screens::Direction::Right {"right"}
inlineconstexpr

◆ Up

constexpr QLatin1StringView Phosphor::Screens::Direction::Up {"up"}
inlineconstexpr