camerauis/cameraxui/cxui/inc/cxuiselftimer.h
changeset 29 699651f2666f
parent 21 fa6d9f75d6a6
child 32 5c1e3c6aa4ef
--- a/camerauis/cameraxui/cxui/inc/cxuiselftimer.h	Fri May 14 15:40:46 2010 +0300
+++ b/camerauis/cameraxui/cxui/inc/cxuiselftimer.h	Thu May 27 12:43:29 2010 +0300
@@ -19,6 +19,7 @@
 
 #include <QObject>
 #include <QTimer>
+#include <QSound>
 
 class CxeSettings;
 class CxuiDocumentLoader;
@@ -45,17 +46,17 @@
 public slots:
     void changeTimeOut(int seconds);
     void startTimer();
-    void reset();
+    void reset(bool update = true);
     void cancel();
 
 protected slots:
     void timeout();
 
 private:
-    void reset(bool update);
     void updateWidgets();
     void showWidgets();
     void hideWidgets();
+    void playSound();
 
 private:
     Q_DISABLE_COPY(CxuiSelfTimer)
@@ -74,6 +75,7 @@
     // settings, not own
     CxeSettings &mSettings;
 
+    QSound mSound;
 };
 
 #endif // CXUISELFTIMER_H