Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorWayland::IdleNotifier Class Reference

#include <phosphor-wayland/include/PhosphorWayland/IdleNotifier.h>

Inheritance diagram for PhosphorWayland::IdleNotifier:
[legend]

Signals

void timeoutChanged ()
 
void idleChanged ()
 
void idled ()
 
void resumed ()
 

Public Member Functions

 IdleNotifier (QObject *parent=nullptr)
 
 ~IdleNotifier () override
 
void setTimeout (std::chrono::milliseconds timeout)
 
std::chrono::milliseconds timeout () const
 
bool isIdle () const
 

Static Public Member Functions

static bool isSupported ()
 

Constructor & Destructor Documentation

◆ IdleNotifier()

PhosphorWayland::IdleNotifier::IdleNotifier ( QObject *  parent = nullptr)
explicit

◆ ~IdleNotifier()

PhosphorWayland::IdleNotifier::~IdleNotifier ( )
override

Member Function Documentation

◆ idleChanged

void PhosphorWayland::IdleNotifier::idleChanged ( )
signal

◆ idled

void PhosphorWayland::IdleNotifier::idled ( )
signal

◆ isIdle()

bool PhosphorWayland::IdleNotifier::isIdle ( ) const

◆ isSupported()

static bool PhosphorWayland::IdleNotifier::isSupported ( )
static

◆ resumed

void PhosphorWayland::IdleNotifier::resumed ( )
signal

◆ setTimeout()

void PhosphorWayland::IdleNotifier::setTimeout ( std::chrono::milliseconds  timeout)

◆ timeout()

std::chrono::milliseconds PhosphorWayland::IdleNotifier::timeout ( ) const

◆ timeoutChanged

void PhosphorWayland::IdleNotifier::timeoutChanged ( )
signal

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