README
[n9profile] / timeprofile.h
1 #ifndef TIMEPROFILE_H
2 #define TIMEPROFILE_H
3
4 /*! \file timeprofile.h
5     \brief File .H for class  timed profile
6 \author Jakub Šplíchal <jakub.bzouk@gmail.com>
7 Header file
8 */
9 #include <QtCore/QStringList>
10 #include <QWidget>
11 class QSettings;
12 class QTimer;
13
14 /** \class TimeProfile
15   \brief class for setting timed profile
16  */
17
18 class TimeProfile : public QWidget {
19     Q_OBJECT
20 public:
21     TimeProfile(QWidget *parent = 0, QSettings *set = 0);
22
23     void SetTimer(QStringList  list_of_profiles_n);
24
25 private:
26     QSettings * settings;
27     QTimer *timer;
28     QString profile;
29
30 public slots:
31     void ChangeInProfles(QStringList list_profiles);
32 private slots:
33     void TimerTimeout();
34
35 signals:
36     void s_set_timed_profile(QString Profile_name);
37 };
38
39 #endif // TIMEPROFILE_H