Repository information in web pages
[chessclock] / classes / clockswidget.h
index 7872915..d7e2ba7 100644 (file)
@@ -47,7 +47,8 @@ class ClocksWidget : public QWidget
     Q_OBJECT
 public:
     ClocksWidget(ChessClock* white, ChessClock* black, QWidget *parent = 0);
-
+    ~ClocksWidget();
+    bool isPlayStarted()  { return (status_!=Welcome); }
 
 protected:
     void mouseReleaseEvent(QMouseEvent *event);
@@ -82,7 +83,10 @@ protected:
     GameStatus status_;
     QTime delayTimer_; /*! To avoid double clicks */
 
-    static int const CLICKDELAY = 500 ; /*! Click delay in msecs */
+    int recentX;
+    int recentY;
+
+    static int const CLICKDELAY = 1500 ; /*! Click delay in msecs */