-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsnooze.h
More file actions
40 lines (32 loc) · 678 Bytes
/
snooze.h
File metadata and controls
40 lines (32 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef SNOOZE_H
#define SNOOZE_H
#include <QDialog>
#include <QTimer>
#include "alarm.h"
#include "schedules.h"
namespace Ui {
class snooze;
}
class snooze : public QDialog
{
Q_OBJECT
public:
explicit snooze(QWidget *parent = 0,Alarm * curAlarm=0, Schedules * schedule_list = 0);
~snooze();
bool isDismissed;
public slots:
void UpdateClock();
private slots:
void DismissClicked();
void SnoozeClicked();
void OtherAlarmCheck();
void timerOut();
private:
Ui::snooze *ui;
void SetupClock();
Alarm *_curAlarm;
Schedules * _schedule_list;
QTimer *_snoozeTimer;
QTimer *_otherAlarmCheckTimer;
};
#endif // SNOOZE_H