Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
DragTypes.h File Reference
#include <PhosphorProtocol/ZoneTypes.h>
#include <PhosphorProtocol/phosphorprotocoltypes_export.h>
#include <QMetaType>
#include <QRect>
#include <QString>

Go to the source code of this file.

Classes

struct  PhosphorProtocol::DragPolicy
 Drag policy — daemon-authoritative decision about how a drag should be handled. More...
 
struct  PhosphorProtocol::DragOutcome
 Drag outcome — daemon-authoritative decision about what to apply at drag end. More...
 

Namespaces

namespace  PhosphorProtocol
 D-Bus marshalling for the autotile value types (see AutotileTypes.h).
 

Enumerations

enum class  PhosphorProtocol::DragBypassReason : int { PhosphorProtocol::None = 0 , PhosphorProtocol::AutotileScreen = 1 , PhosphorProtocol::SnappingDisabled = 2 , PhosphorProtocol::ContextDisabled = 3 }
 Why a drag was bypassed from the canonical snap pipeline. More...
 

Functions

PHOSPHORPROTOCOLTYPES_EXPORT QString PhosphorProtocol::toWireString (DragBypassReason r)
 Convert to the legacy wire-format string. Returns an empty QString for None.
 
PHOSPHORPROTOCOLTYPES_EXPORT DragBypassReason PhosphorProtocol::bypassReasonFromWireString (const QString &s)
 Parse from the legacy wire-format string. Unknown values map to None.
 
PHOSPHORPROTOCOLTYPES_EXPORT QDebug PhosphorProtocol::operator<< (QDebug debug, DragBypassReason r)
 QDebug streaming for logging. Prints the enum name (e.g. "AutotileScreen").