*/
void loadTimer();
+ /*! Opens a dialog for choosing which timers to preload at start */
+ void openStickyDialog();
signals:
*/
void disableSelectionDependentButtons();
+ bool loadStickies();
+
+
+
private:
Ui::KitchenAlertMainWindow *ui;
*/
void initializeAlertSound();
- void initializeTimer(Timer * p_timer);
-
+ void initializeTimer(Timer * p_timer, bool startImmediately = true);
+ //Adds the timer to the model and optionally starts it on success, gives an error message on failure
+ bool loadTimer(QString filename, bool startImmediately);
};
#endif // KITCHENALERTMAINWINDOW_H