6#include "phosphorscreenscore_export.h"
24inline constexpr QLatin1StringView
Left{
"left"};
25inline constexpr QLatin1StringView
Right{
"right"};
26inline constexpr QLatin1StringView
Up{
"up"};
27inline constexpr QLatin1StringView
Down{
"down"};
Pluggable persistence for virtual-screen configurations.
Definition IConfigStore.h:37
Scoped helper that performs virtual-screen swap and rotate operations against an injected IConfigStor...
Definition Swapper.h:46
Result swapInDirection(const QString ¤tVirtualScreenId, const QString &direction)
Swap the region of currentVirtualScreenId with the adjacent sibling VS in the given direction within ...
static QString reasonString(Result result)
Translate a Result to a stable string token suitable for OSD reasons and D-Bus logs.
VirtualScreenSwapper(IConfigStore *store)
Result rotate(const QString &physicalScreenId, bool clockwise)
Rotate all VS regions on physicalScreenId.
Result
Structured outcome for swap/rotate operations.
Definition Swapper.h:52
constexpr QLatin1StringView Down
Definition Swapper.h:27
constexpr QLatin1StringView Up
Definition Swapper.h:26
constexpr QLatin1StringView Left
Definition Swapper.h:24
constexpr QLatin1StringView Right
Definition Swapper.h:25
Definition IWindowTrackingService.h:26