Updated the web pages
[chessclock] / chessclockwindow.h
index 0e7f1c9..752f909 100644 (file)
@@ -28,6 +28,7 @@ class ClocksWidget;
 class StartWidget;
 class TimeControl;
 class QStackedWidget;
+class TurnInformation;
 
 class ChessClockWindow : public QMainWindow
 {
@@ -41,10 +42,21 @@ public slots:
     void startGame( TimeControl* timecontrol);
     void pause();
     void newGame();
+    /*! Visit ChessClock web page */
+    void visitWeb();
+    void about();
+    void aboutQt();
+    /*! Delete turn information to avoid memory leaks
+
+      @todo Save turn log and function to show it.
+    @since 1.1.2 */
+    void dontEatMemory(TurnInformation* turnInformation);
 
 
 protected:
     void initTimeControls();
+    /*! Pauses the game if the application main window is not active e.g. the app is minimized*/
+    bool eventFilter(QObject *obj, QEvent *event);
 
 protected:
     ClocksWidget*   clocks_;