CCIMXDesktop
Loading...
Searching...
No Matches
GlobalClockSources.h
1
#ifndef GLOBALCLOCKSOURCES_H
2
#define GLOBALCLOCKSOURCES_H
3
#include <QObject>
4
#include <QTime>
5
class
QTimer;
6
12
class
GlobalClockSources
:
public
QObject {
13
Q_OBJECT
14
static
constexpr
const
unsigned
short
SEC_PERIOD = 1000;
15
16
public
:
21
explicit
GlobalClockSources
(QObject* parent =
nullptr
);
22
23
signals:
29
void
timeUpdate
(QTime newTime);
30
31
private
:
32
QTimer* internal_updater;
33
};
34
35
#endif
// GLOBALCLOCKSOURCES_H
GlobalClockSources
The GlobalClockSources class holds the desktop timer sessions, defaulty, we use the QTimer API For th...
Definition
GlobalClockSources.h:12
GlobalClockSources::timeUpdate
void timeUpdate(QTime newTime)
timeUpdate will update all the relative events to update its time
builtin
core
global_clock_src
GlobalClockSources.h
Generated by
1.9.8