KWin
|
#include <clockskewnotifier.h>
Classes | |
class | Private |
Signals | |
void | activeChanged () |
void | clockSkewed () |
Public Member Functions | |
ClockSkewNotifier (QObject *parent=nullptr) | |
~ClockSkewNotifier () override | |
bool | isActive () const |
void | setActive (bool active) |
Properties | |
bool | active |
The ClockSkewNotifier class provides a way for monitoring system clock changes.
The ClockSkewNotifier class makes it possible to detect discontinuous changes to the system clock. Such changes are usually initiated by the user adjusting values in the Date and Time KCM or calls made to functions like settimeofday().
Definition at line 22 of file clockskewnotifier.h.
|
explicit |
Definition at line 45 of file clockskewnotifier.cpp.
|
override |
Definition at line 52 of file clockskewnotifier.cpp.
|
signal |
This signal is emitted whenever the active property is changed.
|
signal |
This signal is emitted whenever the system clock is changed.
bool KWin::ClockSkewNotifier::isActive | ( | ) | const |
Returns true
if the notifier is active; otherwise returns false
.
Definition at line 56 of file clockskewnotifier.cpp.
void KWin::ClockSkewNotifier::setActive | ( | bool | active | ) |
Sets the active status of the clock skew notifier to active
.
clockSkewed() signal won't be emitted while the notifier is inactive.
The notifier is inactive by default.
Definition at line 61 of file clockskewnotifier.cpp.
|
readwrite |
Definition at line 25 of file clockskewnotifier.h.