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 shared tiling-family value types (see AutotileTypes.h; the file names predate the autotile-to-tiling generalization and are load-bearing across the build, so only the docs moved with the split).
 

Enumerations

enum class  PhosphorProtocol::DragBypassReason : int {
  PhosphorProtocol::None = 0 , PhosphorProtocol::EngineOwnedScreen = 1 , PhosphorProtocol::SnappingDisabled = 2 , PhosphorProtocol::ContextDisabled = 3 ,
  PhosphorProtocol::LayoutSuppressed = 4
}
 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.
 

Variables

constexpr int PhosphorProtocol::DragBypassReasonCount = 5
 Number of DragBypassReason values.