CCIMXDesktop
 
Loading...
Searching...
No Matches
alarmynotifier.h
1#ifndef ALARMYNOTIFIER_H
2#define ALARMYNOTIFIER_H
3
4#include <QObject>
5class AlarmyNote;
6class AlarmyNotifier : public QObject {
7 Q_OBJECT
8public:
9 explicit AlarmyNotifier(QObject* parent = nullptr);
10
11 void installAlarmyTime(std::shared_ptr<AlarmyNote> time);
12 void removeAlarmyTime(std::shared_ptr<AlarmyNote> time);
18 std::shared_ptr<AlarmyNote> searchWithTime(QTime time);
19
20signals:
21 void notifyTimeStart(std::shared_ptr<AlarmyNote> note);
22
23private slots:
24 void check_time();
25private:
26 QList<std::shared_ptr<AlarmyNote>> notes_holdings;
27 QTimer* check_timer;
28};
29
30#endif // ALARMYNOTIFIER_H
Definition alarmynote.h:4
Definition alarmynotifier.h:6
std::shared_ptr< AlarmyNote > searchWithTime(QTime time)
searchWithTime search the notifier with clock
Definition alarmynotifier.cpp:24