/*! The main window class of KitchenAlert'
@author Heli Hyvättinen
- @date 2011-03-29
- @version 0.2.1
+ @date 2011-04-26
+ @version 0.3.0
Operates the UI.
Q_OBJECT
-
-
public:
explicit KitchenAlertMainWindow(QWidget *parent = 0);
~KitchenAlertMainWindow();
*/
void remove();
+ /*! Opens a dialog for saving the selected timer and, if confirmed, saves the timer to a file.
+ */
+ void saveTimer();
+
+ /*! Opens a dialog for reading a timer from a timer file, and if confirmed opens and starts the timer.
+ */
+ void loadTimer();
+
+
signals:
void defaultSoundEnabled();
CurrentAlertsTableModel model_; /*! The model that stores the alerts */
+ QString defaultSaveDirectory_;
+
/*!
Returns a QMoldelIndex pointing to the cell in the column 0 of the row that is currently selected.
*/
*/
void initializeAlertSound();
+ void initializeTimer(Timer * p_timer);
+
};