6#include "phosphorscreens_export.h"
36 QString
method = QStringLiteral(
"getEffectiveScreenAt");
Resolve a global cursor position to the effective screen ID.
Definition Resolver.h:54
static QString effectiveScreenAtCursor(const ResolverEndpoint &endpoint=ResolverEndpoint{}, int timeoutMs=PhosphorProtocol::Service::SyncCallTimeoutMs)
Convenience wrapper: resolve at the current QCursor::pos().
static QString effectiveScreenAt(const QPoint &pos, const ResolverEndpoint &endpoint=ResolverEndpoint{}, int timeoutMs=PhosphorProtocol::Service::SyncCallTimeoutMs)
Resolve a screen coordinate to an effective screen ID.
constexpr QLatin1String Screen("org.plasmazones.Screen")
constexpr int SyncCallTimeoutMs
Definition ServiceConstants.h:99
constexpr QLatin1String Name("org.plasmazones")
D-Bus service constants shared by all compositor plugins.
constexpr QLatin1String ObjectPath("/PlasmaZones")
Definition IWindowTrackingService.h:26
D-Bus endpoint that ScreenResolver queries.
Definition Resolver.h:32
QString method
Definition Resolver.h:36
QString interfaceName
Definition Resolver.h:35
QString path
Definition Resolver.h:34
QString service
Definition Resolver.h:33