Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorProtocol::SnapAllResultEntry Struct Reference

D-Bus struct for snap-all result entries: (sssiiii) Carries targetZoneId so the plugin can confirm snaps without a second JSON parse. More...

#include <PhosphorProtocol/NavigationTypes.h>

Public Member Functions

QRect toRect () const
WindowGeometryEntry toGeometryEntry () const

Public Attributes

QString windowId
QString targetZoneId
QString sourceZoneId
int x = 0
int y = 0
int width = 0
int height = 0

Detailed Description

D-Bus struct for snap-all result entries: (sssiiii) Carries targetZoneId so the plugin can confirm snaps without a second JSON parse.

Member Function Documentation

◆ toGeometryEntry()

WindowGeometryEntry PhosphorProtocol::SnapAllResultEntry::toGeometryEntry ( ) const
inline

◆ toRect()

QRect PhosphorProtocol::SnapAllResultEntry::toRect ( ) const
inline

Member Data Documentation

◆ height

int PhosphorProtocol::SnapAllResultEntry::height = 0

◆ sourceZoneId

QString PhosphorProtocol::SnapAllResultEntry::sourceZoneId

◆ targetZoneId

QString PhosphorProtocol::SnapAllResultEntry::targetZoneId

◆ width

int PhosphorProtocol::SnapAllResultEntry::width = 0

◆ windowId

QString PhosphorProtocol::SnapAllResultEntry::windowId

◆ x

int PhosphorProtocol::SnapAllResultEntry::x = 0

◆ y

int PhosphorProtocol::SnapAllResultEntry::y = 0

The documentation for this struct was generated from the following file: