Added spanish translation
[timedsilencer] / mainwindow.h
index 375ab19..8d66bc3 100644 (file)
 
 #include <QMainWindow>
 
-struct QMaemo5ValueButton;
-struct QAction;
-struct QCheckBox;
 struct QPushButton;
+struct SwitchingEventList;
 
 class MainWindow : public QMainWindow {
   Q_OBJECT
@@ -32,20 +30,14 @@ public:
   explicit MainWindow(QWidget *parent = 0);
   ~MainWindow();
 
-protected:
-  void closeEvent(QCloseEvent *event);
-
 protected slots:
-  void saveSettings();
   void loadSettings();
-  void enableSilencing(bool enabled);
-  void setProfileEvents();
+  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