4765387f1aabdcfbc4210934427ed63e3266706e
[kitchenalert] / src / createtimersequencedialog.h
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 #ifndef CREATETIMERSEQUENCEDIALOG_H
28 #define CREATETIMERSEQUENCEDIALOG_H
29
30 #include <QDialog>
31 #include <QList>
32 #include "timer.h"
33
34 namespace Ui {
35     class CreateTimerSequenceDialog;
36 }
37
38
39 /*! Class for the dialog for creating timers'
40
41   @author Heli Hyvättinen
42   @date 2010-07-20
43   @version 0.1
44
45 Class for the dialog for creating timers
46
47 */
48
49
50 class CreateTimerSequenceDialog : public QDialog
51 {
52     Q_OBJECT
53
54 public:
55     explicit CreateTimerSequenceDialog(QWidget *parent = 0);
56     ~CreateTimerSequenceDialog();
57
58     QList<Timer*> getTimers();
59
60 protected:
61     void changeEvent(QEvent *e);
62
63 private:
64     Ui::CreateTimerSequenceDialog *ui;
65 };
66
67 #endif // CREATETIMERSEQUENCEDIALOG_H