Pages
API Documentation
On this page

KSystemClockSkewNotifier Class

The KSystemClockSkewNotifier class provides a way for monitoring system clock changes. This class was introduced in Qt 6.15. More...

  • Header: #include <KSystemClockSkewNotifier>
  • Since: Qt 6.15
  • CMake: find_package(KF6 REQUIRED COMPONENTS CoreAddons)
    target_link_libraries(mytarget PRIVATE KF6::CoreAddons)
  • Inherits: QObject

List of all members, including inherited members

Public Functions

Signals

Detailed Description

The KSystemClockSkewNotifier 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().

Member Function Documentation

[signal] void KSystemClockSkewNotifier::activeChanged()

This signal is emitted whenever the active property is changed.

Note: Notifier signal for property active.

bool KSystemClockSkewNotifier::isActive() const

Returns true if the notifier is active; otherwise returns false.

Note: Getter function for property active.

void KSystemClockSkewNotifier::setActive(bool active)

Sets the active status of the clock skew notifier to active.

The skewed() signal won't be emitted while the notifier is inactive.

The notifier is inactive by default.

Note: Setter function for property active.

See also isActive(), activeChanged()

[signal] void KSystemClockSkewNotifier::skewed()

This signal is emitted whenever the system clock is changed.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.