N9profile
[n9profile] / timeprofile.h
diff --git a/timeprofile.h b/timeprofile.h
new file mode 100644 (file)
index 0000000..22782a4
--- /dev/null
@@ -0,0 +1,39 @@
+#ifndef TIMEPROFILE_H
+#define TIMEPROFILE_H
+
+/*! \file timeprofile.h
+    \brief File .H for class  timed profile
+\author Jakub Šplíchal <jakub.bzouk@gmail.com>
+Header file
+*/
+#include <QtCore/QStringList>
+#include <QWidget>
+class QSettings;
+class QTimer;
+
+/** \class TimeProfile
+  \brief class for setting timed profile
+ */
+
+class TimeProfile : public QWidget {
+    Q_OBJECT
+public:
+    TimeProfile(QWidget *parent = 0, QSettings *set = 0);
+
+    void SetTimer(QStringList  list_of_profiles_n);
+
+private:
+    QSettings * settings;
+    QTimer *timer;
+    QString profile;
+
+public slots:
+    void ChangeInProfles(QStringList list_profiles);
+private slots:
+    void TimerTimeout();
+
+signals:
+    void s_set_timed_profile(QString Profile_name);
+};
+
+#endif // TIMEPROFILE_H