Added sound to the alert
[kitchenalert] / src / choosetimersequencedialog.cpp
1 /**************************************************************************
2         KitchenAlert
3
4         Copyright (C) 2010  Heli Hyvättinen
5
6         This file is part of KitchenAlert.
7
8         Kitchen Alert is free software: you can redistribute it and/or modify
9         it under the terms of the GNU General Public License as published by
10         the Free Software Foundation, either version 3 of the License, or
11         (at your option) any later version.
12
13         This program is distributed in the hope that it will be useful,
14         but WITHOUT ANY WARRANTY; without even the implied warranty of
15         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16         GNU General Public License for more details.
17
18         You should have received a copy of the GNU General Public License
19         along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
21 **************************************************************************/
22
23
24
25
26
27 #include "choosetimersequencedialog.h"
28 #include "ui_choosetimersequencedialog.h"
29
30 ChooseTimerSequenceDialog::ChooseTimerSequenceDialog(QWidget *parent) :
31     QDialog(parent),
32     ui(new Ui::ChooseTimerSequenceDialog)
33 {
34     ui->setupUi(this);
35 }
36
37 ChooseTimerSequenceDialog::~ChooseTimerSequenceDialog()
38 {
39     delete ui;
40 }
41
42 void ChooseTimerSequenceDialog::changeEvent(QEvent *e)
43 {
44     QDialog::changeEvent(e);
45     switch (e->type()) {
46     case QEvent::LanguageChange:
47         ui->retranslateUi(this);
48         break;
49     default:
50         break;
51     }
52 }
53
54
55 TimerSchedule ChooseTimerSequenceDialog::giveTimers()
56 {
57 //TODO!!!
58 }