X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ftimer.h;h=ff2c22be730d52334d43df3c95451e38217d430c;hb=ef0252dea07c46470f7b1c94b903052aa68be3ba;hp=061475db026fba8ed974c7aa1d18eda57ec35978;hpb=c4037ede3790b9ec97001d9c9202cec1003f18e1;p=kitchenalert diff --git a/src/timer.h b/src/timer.h index 061475d..ff2c22b 100644 --- a/src/timer.h +++ b/src/timer.h @@ -39,7 +39,7 @@ /*! The timer class of KitchenAlert' @author Heli Hyvättinen - @date 2011-02-10 + @date 2011-04-05 @version 0.2.1 The timer class of KitchenAlert. @@ -72,6 +72,16 @@ public: /*! Returns whether the timer is alerting */ bool isAlerting(); + /*! Saves the timer to a file + @param filename The file to which to save. + */ + bool save(QString filename); + + /*! Loads a timer from a file + @param filename The file from which to load. + */ + bool load(QString filename); + signals: /*! Emitted when the remaining time in the timer has changed */