README
[n9profile] / timedprofildialog.h
1 #ifndef TIMEDPROFILDIALOG_H
2 #define TIMEDPROFILDIALOG_H
3
4 /*! \file timedprofildialog.h
5     \brief File .H for class  TimedProfilDialog
6 \author Jakub Šplíchal <jakub.bzouk@gmail.com>
7 Header file
8 */
9 #include <QDialog>
10 class QStringList;
11 class QMaemo5ListPickSelector;
12 class QMaemo5ValueButton;
13 class QMaemo5TimePickSelector;
14 #include <QtCore/QTime>
15 namespace Ui {
16     class TimedprofilDialog;
17 }
18
19 /** \class TimedProfilDialog
20   \brief class for dialog for timed profiles
21  */
22 class TimedProfilDialog : public QDialog {
23     Q_OBJECT
24 public:
25     TimedProfilDialog(QStringList list, QWidget *parent = 0);
26     ~TimedProfilDialog();
27     QTime GetTime();
28     QString GetName();
29 protected:
30     void changeEvent(QEvent *e);
31     void accept();
32
33 private:
34     Ui::TimedprofilDialog *ui;
35
36     QMaemo5ValueButton *v1;
37     QMaemo5ValueButton *v2;
38
39     QMaemo5ListPickSelector * list_pick;
40     QMaemo5TimePickSelector * time_pick;
41
42     QString name_of_profile;
43     QTime time_for_set;
44
45     void createNewLabels();
46     void createNewMaemoButtons(QStringList list);
47
48 };
49
50 #endif // TIMEDPROFILDIALOG_H