Major new release: Several events can now be defined and one can set events to occur...
[timedsilencer] / mainwindow.h
index 1242af8..8d66bc3 100644 (file)
 
 #include <QMainWindow>
 
-struct QMaemo5ValueButton;
-struct QAction;
-struct QCheckBox;
 struct QPushButton;
+struct SwitchingEventList;
 
 class MainWindow : public QMainWindow {
   Q_OBJECT
@@ -33,16 +31,13 @@ public:
   ~MainWindow();
 
 protected slots:
-  void saveSettings();
   void loadSettings();
-  void setProfileEvents();
-  void saveAndClose();
+  void saveSettings();
+  void addEvent();
 
 private:
-  QMaemo5ValueButton *from_button, *to_button;
-  QAction *active_action;
-  QCheckBox *cb_enable;
-  QPushButton *done_btn;
+  QPushButton *addEventBtn;
+  SwitchingEventList *eventList;
 };
 
 #endif // MAINWINDOW_H