From d145b92ee23ef361bbfd91eef606cfc3ed9994fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arto=20Hyv=C3=A4ttinen?= Date: Tue, 12 Oct 2010 22:15:52 +0300 Subject: [PATCH] Screen will turn black after 30 min API doc updated --- chessclockwindow.cpp | 7 + chessclockwindow.h | 6 + classes/chessclock.cpp | 13 + classes/chessclock.h | 9 +- classes/clockswidget.cpp | 8 + classes/clockswidget.h | 2 + main.cpp | 2 +- www/html/annotated.html | 2 +- www/html/basicdialog_8cpp.html | 2 +- www/html/basicdialog_8cpp_source.html | 2 +- www/html/basicdialog_8h.html | 2 +- www/html/basicdialog_8h_source.html | 2 +- www/html/chessclock_8cpp.html | 3 +- www/html/chessclock_8cpp_source.html | 305 +++++----- www/html/chessclock_8h.html | 2 +- www/html/chessclock_8h_source.html | 51 +- www/html/chessclockwidget_8cpp.html | 2 +- www/html/chessclockwidget_8cpp_source.html | 2 +- www/html/chessclockwidget_8h.html | 2 +- www/html/chessclockwidget_8h_source.html | 2 +- www/html/chessclockwindow_8cpp.html | 2 +- www/html/chessclockwindow_8cpp_source.html | 264 +++++---- www/html/chessclockwindow_8h.html | 2 +- www/html/chessclockwindow_8h_source.html | 61 +- www/html/class_basic_dialog-members.html | 2 +- www/html/class_basic_dialog.html | 2 +- www/html/class_chess_clock-members.html | 5 +- www/html/class_chess_clock.html | 104 +++- www/html/class_chess_clock_widget-members.html | 5 +- www/html/class_chess_clock_widget.html | 2 +- www/html/class_chess_clock_window-members.html | 4 +- www/html/class_chess_clock_window.html | 88 ++- www/html/class_clocks_widget-members.html | 3 +- www/html/class_clocks_widget.html | 59 +- www/html/class_delay_after_clock-members.html | 5 +- www/html/class_delay_after_clock.html | 2 +- .../class_delay_after_time_control-members.html | 2 +- www/html/class_delay_after_time_control.html | 2 +- www/html/class_delay_clock-members.html | 5 +- www/html/class_delay_clock.html | 2 +- www/html/class_delay_time_control-members.html | 2 +- www/html/class_delay_time_control.html | 2 +- www/html/class_fischer_after_clock-members.html | 5 +- www/html/class_fischer_after_clock.html | 2 +- .../class_fischer_after_time_control-members.html | 2 +- www/html/class_fischer_after_time_control.html | 2 +- www/html/class_fischer_clock-members.html | 5 +- www/html/class_fischer_clock.html | 2 +- www/html/class_fischer_time_control-members.html | 2 +- www/html/class_fischer_time_control.html | 2 +- www/html/class_hour_glass_clock-members.html | 5 +- www/html/class_hour_glass_clock.html | 2 +- .../class_hour_glass_time_control-members.html | 2 +- www/html/class_hour_glass_time_control.html | 2 +- www/html/class_no_time_control-members.html | 2 +- www/html/class_no_time_control.html | 2 +- www/html/class_screen_lit_keeper-members.html | 2 +- www/html/class_screen_lit_keeper.html | 2 +- www/html/class_start_widget-members.html | 2 +- www/html/class_start_widget.html | 2 +- www/html/class_time_control-members.html | 2 +- www/html/class_time_control.html | 2 +- www/html/class_turn_information-members.html | 2 +- www/html/class_turn_information.html | 2 +- www/html/class_welcome_screen_widget-members.html | 2 +- www/html/class_welcome_screen_widget.html | 2 +- www/html/classes.html | 2 +- www/html/clockswidget_8cpp.html | 2 +- www/html/clockswidget_8cpp_source.html | 226 +++---- www/html/clockswidget_8h.html | 2 +- www/html/clockswidget_8h_source.html | 59 +- www/html/delayafterclock_8cpp.html | 2 +- www/html/delayafterclock_8cpp_source.html | 2 +- www/html/delayafterclock_8h.html | 2 +- www/html/delayafterclock_8h_source.html | 2 +- www/html/delayaftertimecontrol_8cpp.html | 2 +- www/html/delayaftertimecontrol_8cpp_source.html | 2 +- www/html/delayaftertimecontrol_8h.html | 2 +- www/html/delayaftertimecontrol_8h_source.html | 2 +- www/html/delayclock_8cpp.html | 2 +- www/html/delayclock_8cpp_source.html | 2 +- www/html/delayclock_8h.html | 2 +- www/html/delayclock_8h_source.html | 2 +- www/html/delaytimecontrol_8cpp.html | 2 +- www/html/delaytimecontrol_8cpp_source.html | 2 +- www/html/delaytimecontrol_8h.html | 2 +- www/html/delaytimecontrol_8h_source.html | 2 +- www/html/files.html | 2 +- www/html/fischerafterclock_8cpp.html | 2 +- www/html/fischerafterclock_8cpp_source.html | 2 +- www/html/fischerafterclock_8h.html | 2 +- www/html/fischerafterclock_8h_source.html | 2 +- www/html/fischeraftertimecontrol_8cpp.html | 2 +- www/html/fischeraftertimecontrol_8cpp_source.html | 2 +- www/html/fischeraftertimecontrol_8h.html | 2 +- www/html/fischeraftertimecontrol_8h_source.html | 2 +- www/html/fischerclock_8cpp.html | 2 +- www/html/fischerclock_8cpp_source.html | 2 +- www/html/fischerclock_8h.html | 2 +- www/html/fischerclock_8h_source.html | 2 +- www/html/fischertimecontrol_8cpp.html | 2 +- www/html/fischertimecontrol_8cpp_source.html | 2 +- www/html/fischertimecontrol_8h.html | 2 +- www/html/fischertimecontrol_8h_source.html | 2 +- www/html/functions.html | 614 +------------------- www/html/functions_enum.html | 2 +- www/html/functions_eval.html | 2 +- www/html/functions_func.html | 12 +- www/html/functions_vars.html | 8 +- www/html/globals.html | 2 +- www/html/globals_func.html | 2 +- www/html/hierarchy.html | 2 +- www/html/hourglassclock_8cpp.html | 2 +- www/html/hourglassclock_8cpp_source.html | 2 +- www/html/hourglassclock_8h.html | 2 +- www/html/hourglassclock_8h_source.html | 2 +- www/html/hourglasstimecontrol_8cpp.html | 2 +- www/html/hourglasstimecontrol_8cpp_source.html | 2 +- www/html/hourglasstimecontrol_8h.html | 2 +- www/html/hourglasstimecontrol_8h_source.html | 2 +- www/html/index.html | 4 +- www/html/main_8cpp.html | 2 +- www/html/main_8cpp_source.html | 4 +- www/html/notimecontrol_8cpp.html | 2 +- www/html/notimecontrol_8cpp_source.html | 2 +- www/html/notimecontrol_8h.html | 2 +- www/html/notimecontrol_8h_source.html | 2 +- www/html/pages.html | 2 +- www/html/screenlitkeeper_8cpp.html | 2 +- www/html/screenlitkeeper_8cpp_source.html | 2 +- www/html/screenlitkeeper_8h.html | 2 +- www/html/screenlitkeeper_8h_source.html | 2 +- www/html/search/all_64.html | 26 +- www/html/search/all_65.html | 7 +- www/html/search/all_73.html | 62 +- www/html/search/functions_64.html | 12 + www/html/search/functions_65.html | 7 +- www/html/search/functions_73.html | 34 +- www/html/search/variables_64.html | 14 +- www/html/startwidget_8cpp.html | 2 +- www/html/startwidget_8cpp_source.html | 2 +- www/html/startwidget_8h.html | 2 +- www/html/startwidget_8h_source.html | 2 +- www/html/timecontrol_8h.html | 2 +- www/html/timecontrol_8h_source.html | 2 +- www/html/todo.html | 9 +- www/html/turninformation_8cpp.html | 2 +- www/html/turninformation_8cpp_source.html | 2 +- www/html/turninformation_8h.html | 2 +- www/html/turninformation_8h_source.html | 2 +- www/html/welcomescreenwidget_8cpp.html | 2 +- www/html/welcomescreenwidget_8cpp_source.html | 2 +- www/html/welcomescreenwidget_8h.html | 2 +- www/html/welcomescreenwidget_8h_source.html | 2 +- 154 files changed, 1063 insertions(+), 1289 deletions(-) diff --git a/chessclockwindow.cpp b/chessclockwindow.cpp index 2a7c7cb..c5fde01 100644 --- a/chessclockwindow.cpp +++ b/chessclockwindow.cpp @@ -25,6 +25,7 @@ #include "classes/chessclockwidget.h" #include "classes/startwidget.h" #include "classes/timecontrol.h" +#include "classes/turninformation.h" // Time controls #include "classes/timecontrol/notimecontrol.h" @@ -144,6 +145,7 @@ void ChessClockWindow::startGame(TimeControl *timecontrol) clocks_ = newWidget; stack_->addWidget(clocks_); stack_->setCurrentWidget(clocks_); + connect( clocks_, SIGNAL(TurnFinished(TurnInformation*)), this, SLOT(dontEatMemory(TurnInformation*))); } } @@ -163,3 +165,8 @@ bool ChessClockWindow::eventFilter(QObject *obj, QEvent *event) return QObject::eventFilter(obj, event); } } + +void ChessClockWindow::dontEatMemory(TurnInformation *turnInformation) +{ + delete turnInformation; // hopefully don't cause Segematation Fault +} diff --git a/chessclockwindow.h b/chessclockwindow.h index 4fe01c5..752f909 100644 --- a/chessclockwindow.h +++ b/chessclockwindow.h @@ -28,6 +28,7 @@ class ClocksWidget; class StartWidget; class TimeControl; class QStackedWidget; +class TurnInformation; class ChessClockWindow : public QMainWindow { @@ -45,6 +46,11 @@ public slots: 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: diff --git a/classes/chessclock.cpp b/classes/chessclock.cpp index cc9269e..aedf531 100644 --- a/classes/chessclock.cpp +++ b/classes/chessclock.cpp @@ -24,6 +24,7 @@ #include "turninformation.h" const int ChessClock::UPDATEINTERVAL; +const int ChessClock::DONTEATBATTERYTIME; ChessClock::ChessClock(bool white, QWidget *parent) : QWidget(parent) @@ -31,6 +32,7 @@ ChessClock::ChessClock(bool white, QWidget *parent) : isWhite_ = white; loser_ = false; turn_ = 0; + dontEatBatteryEmitted_ = false; timePlayedBeforeTurn_ = 0; status_ = NotRunning; another_ = 0; @@ -47,6 +49,7 @@ ChessClock::ChessClock(bool white, QWidget *parent) : void ChessClock::startTurn() { turn_++; + dontEatBatteryEmitted_ = false; // Turn information for this new turn currentTurn_ = new TurnInformation(turn_, isWhite_); @@ -143,8 +146,18 @@ int ChessClock::currentTurnPlayed() { // Update current time if( status_ == Running ) + { currentTurn_->addTime( clockTime_.restart()); + // since 1.1.2 + // emit dontEatBattery signal when screen should not to be keeped on + if ( currentTurn_->getDuration() > DONTEATBATTERYTIME && dontEatBatteryEmitted_ == false ) + { + dontEatBatteryEmitted_ = true; + emit dontEatBattery(); + } + } + // Return current time return currentTurn_->getDuration(); } diff --git a/classes/chessclock.h b/classes/chessclock.h index 793cd84..1f8f262 100644 --- a/classes/chessclock.h +++ b/classes/chessclock.h @@ -110,6 +110,12 @@ public: signals: void timeOutLoser(); void turnEnded(); + /*! Emitted after 30 min played one turn. + + Will cause screen not to keeped lit. + @since 1.1.2 + */ + void dontEatBattery(); public slots: @@ -126,6 +132,7 @@ protected: int turn_; /*! Current turn */ RunningStatus status_; TurnInformation* currentTurn_; + bool dontEatBatteryEmitted_; int timePlayedBeforeTurn_; /*! Time played in this game BEFORE this turn msecs */ int timeAvailableBeforeTurn_; /*! Time available for play BEFORE this turn msecs !*/ @@ -136,7 +143,7 @@ protected: QTimer updateTimer_; static const int UPDATEINTERVAL = 1000; /** Clock updating interval in msecs */ - + static const int DONTEATBATTERYTIME = 30 * 60 * 1000; /*! Time after screen not to keep lit */ }; #endif // CHESSCLOCK_H diff --git a/classes/clockswidget.cpp b/classes/clockswidget.cpp index eba9628..0daf329 100644 --- a/classes/clockswidget.cpp +++ b/classes/clockswidget.cpp @@ -109,6 +109,9 @@ ClocksWidget::ClocksWidget(ChessClock *white, ChessClock *black, QWidget *parent // ScreenLitKeeper to keep screen lit when playing keeper_ = new ScreenLitKeeper(this); + + connect( white, SIGNAL(dontEatBattery()), this, SLOT(saveScreen())); + connect( black, SIGNAL(dontEatBattery()), this, SLOT(saveScreen())); } ClocksWidget::~ClocksWidget() @@ -147,6 +150,11 @@ void ClocksWidget::stopPlay() status_ = Stopped; } +void ClocksWidget::saveScreen() +{ + keeper_->keepScreenLit(false); +} + void ClocksWidget::mouseReleaseEvent(QMouseEvent *event) { diff --git a/classes/clockswidget.h b/classes/clockswidget.h index 2c0fe1a..d7810c1 100644 --- a/classes/clockswidget.h +++ b/classes/clockswidget.h @@ -66,6 +66,8 @@ public slots: void pause(); /*! End the game */ void stopPlay(); + /*! Not to keep screen lit */ + void saveScreen(); protected: ChessClock* white_; diff --git a/main.cpp b/main.cpp index 6a3656c..53ba074 100644 --- a/main.cpp +++ b/main.cpp @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) a.setApplicationName( a.tr("Chess Clock","Application name") ); a.setOrganizationName("Chess Clock"); a.setOrganizationDomain("chessclock.garage.maemo.org"); - a.setApplicationVersion("1.1.1"); + a.setApplicationVersion("1.1.2"); ChessClockWindow w; diff --git a/www/html/annotated.html b/www/html/annotated.html index 38edb73..9b21217 100644 --- a/www/html/annotated.html +++ b/www/html/annotated.html @@ -83,7 +83,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8cpp.html b/www/html/basicdialog_8cpp.html index 7c9a4af..452df3d 100644 --- a/www/html/basicdialog_8cpp.html +++ b/www/html/basicdialog_8cpp.html @@ -75,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8cpp_source.html b/www/html/basicdialog_8cpp_source.html index fa1fba0..612d063 100644 --- a/www/html/basicdialog_8cpp_source.html +++ b/www/html/basicdialog_8cpp_source.html @@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8h.html b/www/html/basicdialog_8h.html index dae6b76..72a8c71 100644 --- a/www/html/basicdialog_8h.html +++ b/www/html/basicdialog_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8h_source.html b/www/html/basicdialog_8h_source.html index 9888a02..0b16477 100644 --- a/www/html/basicdialog_8h_source.html +++ b/www/html/basicdialog_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8cpp.html b/www/html/chessclock_8cpp.html index 68690bd..95a6d70 100644 --- a/www/html/chessclock_8cpp.html +++ b/www/html/chessclock_8cpp.html @@ -48,6 +48,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include <QWidget>
#include <QTime>
#include <QTimer>
+#include "turninformation.h"

Go to the source code of this file.

@@ -67,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8cpp_source.html b/www/html/chessclock_8cpp_source.html index faf52c1..a9417cc 100644 --- a/www/html/chessclock_8cpp_source.html +++ b/www/html/chessclock_8cpp_source.html @@ -68,151 +68,164 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00024 #include "turninformation.h" 00025 00026 const int ChessClock::UPDATEINTERVAL; -00027 -00028 ChessClock::ChessClock(bool white, QWidget *parent) : -00029 QWidget(parent) -00030 { -00031 isWhite_ = white; -00032 loser_ = false; -00033 turn_ = 0; -00034 timePlayedBeforeTurn_ = 0; -00035 status_ = NotRunning; -00036 another_ = 0; -00037 currentTurn_ = 0; -00038 -00039 // Set clock timer calculating played time -00040 clockTime_.start(); -00041 -00042 // Set updating timer -00043 updateTimer_.setInterval( UPDATEINTERVAL ); -00044 connect( &updateTimer_, SIGNAL(timeout()),this,SLOT(updateClock())); -00045 } -00046 -00047 void ChessClock::startTurn() -00048 { -00049 turn_++; -00050 -00051 // Turn information for this new turn -00052 currentTurn_ = new TurnInformation(turn_, isWhite_); -00053 clockTime_.restart(); -00054 updateTimer_.start(); -00055 status_=Running; -00056 -00057 // Repaint clock -00058 updateClock(); -00059 } -00060 -00061 void ChessClock::pauseTurn() -00062 { -00063 updateTimer_.stop(); -00064 // Update turn time -00065 currentTurn_->addTime( clockTime_.restart() ); -00066 status_ = Paused; -00067 updateClock(); -00068 } -00069 -00070 void ChessClock::continueTurn() -00071 { -00072 // Continue paused game -00073 // Add pause duration to information object -00074 currentTurn_->addPause( clockTime_.restart() ); -00075 status_ = Running; -00076 updateTimer_.start(); -00077 updateClock(); -00078 } -00079 -00080 -00081 TurnInformation* ChessClock::endTurn() -00082 { -00083 updateTimer_.stop(); -00084 status_ = NotRunning; -00085 -00086 updateClock(); -00087 // Count time played -00088 timePlayedBeforeTurn_ = getTimePlayed(); -00089 -00090 // Count time available -00091 // This update current turn -00092 timeAvailableBeforeTurn_ = getTimeAvailable(); -00093 -00094 -00095 // Close and return turn information -00096 currentTurn_->turnReady(timeAvailableBeforeTurn_ ); -00097 TurnInformation* information = currentTurn_; -00098 currentTurn_ = 0; -00099 -00100 emit turnEnded(); -00101 return information; -00102 } -00103 -00104 void ChessClock::setAnother(ChessClock *another) -00105 { -00106 another_ = another; -00107 } -00108 -00109 int ChessClock::getTimeAvailable() -00110 { -00111 // Most simple - will be overwritten in more complex time controls: -00112 // subtract duration time! -00113 if( currentTurn_) -00114 { -00115 // Update turn time -00116 return timeAvailableBeforeTurn_-currentTurnPlayed(); -00117 } -00118 else -00119 return timeAvailableBeforeTurn_; -00120 } -00121 -00122 -00123 int ChessClock::getTimePlayed() -00124 { -00125 return timePlayedBeforeTurn_ + currentTurnPlayed(); -00126 } -00127 -00128 -00129 void ChessClock::setTimeAvailable(int msecs) -00130 { -00131 timeAvailableBeforeTurn_ = msecs; -00132 } -00133 -00134 -00135 void ChessClock::addTime(int msecs) -00136 { -00137 timeAvailableBeforeTurn_ += msecs; -00138 } -00139 -00140 int ChessClock::currentTurnPlayed() -00141 { -00142 if( currentTurn_ ) -00143 { -00144 // Update current time -00145 if( status_ == Running ) -00146 currentTurn_->addTime( clockTime_.restart()); -00147 -00148 // Return current time -00149 return currentTurn_->getDuration(); -00150 } -00151 else -00152 // No current turn! -00153 return 0; -00154 } -00155 -00156 void ChessClock::updateClock() -00157 { -00158 // Check loser -00159 if( another_ && !another_->isLoser()) -00160 { -00161 if( getTimeAvailable() < 0 && !loser_) -00162 { -00163 loser_ = true; -00164 emit timeOutLoser(); -00165 } -00166 -00167 } -00168 repaintClock(); -00169 -00170 } -00171 +00027 const int ChessClock::DONTEATBATTERYTIME; +00028 +00029 ChessClock::ChessClock(bool white, QWidget *parent) : +00030 QWidget(parent) +00031 { +00032 isWhite_ = white; +00033 loser_ = false; +00034 turn_ = 0; +00035 dontEatBatteryEmitted_ = false; +00036 timePlayedBeforeTurn_ = 0; +00037 status_ = NotRunning; +00038 another_ = 0; +00039 currentTurn_ = 0; +00040 +00041 // Set clock timer calculating played time +00042 clockTime_.start(); +00043 +00044 // Set updating timer +00045 updateTimer_.setInterval( UPDATEINTERVAL ); +00046 connect( &updateTimer_, SIGNAL(timeout()),this,SLOT(updateClock())); +00047 } +00048 +00049 void ChessClock::startTurn() +00050 { +00051 turn_++; +00052 dontEatBatteryEmitted_ = false; +00053 +00054 // Turn information for this new turn +00055 currentTurn_ = new TurnInformation(turn_, isWhite_); +00056 clockTime_.restart(); +00057 updateTimer_.start(); +00058 status_=Running; +00059 +00060 // Repaint clock +00061 updateClock(); +00062 } +00063 +00064 void ChessClock::pauseTurn() +00065 { +00066 updateTimer_.stop(); +00067 // Update turn time +00068 currentTurn_->addTime( clockTime_.restart() ); +00069 status_ = Paused; +00070 updateClock(); +00071 } +00072 +00073 void ChessClock::continueTurn() +00074 { +00075 // Continue paused game +00076 // Add pause duration to information object +00077 currentTurn_->addPause( clockTime_.restart() ); +00078 status_ = Running; +00079 updateTimer_.start(); +00080 updateClock(); +00081 } +00082 +00083 +00084 TurnInformation* ChessClock::endTurn() +00085 { +00086 updateTimer_.stop(); +00087 status_ = NotRunning; +00088 +00089 updateClock(); +00090 // Count time played +00091 timePlayedBeforeTurn_ = getTimePlayed(); +00092 +00093 // Count time available +00094 // This update current turn +00095 timeAvailableBeforeTurn_ = getTimeAvailable(); +00096 +00097 +00098 // Close and return turn information +00099 currentTurn_->turnReady(timeAvailableBeforeTurn_ ); +00100 TurnInformation* information = currentTurn_; +00101 currentTurn_ = 0; +00102 +00103 emit turnEnded(); +00104 return information; +00105 } +00106 +00107 void ChessClock::setAnother(ChessClock *another) +00108 { +00109 another_ = another; +00110 } +00111 +00112 int ChessClock::getTimeAvailable() +00113 { +00114 // Most simple - will be overwritten in more complex time controls: +00115 // subtract duration time! +00116 if( currentTurn_) +00117 { +00118 // Update turn time +00119 return timeAvailableBeforeTurn_-currentTurnPlayed(); +00120 } +00121 else +00122 return timeAvailableBeforeTurn_; +00123 } +00124 +00125 +00126 int ChessClock::getTimePlayed() +00127 { +00128 return timePlayedBeforeTurn_ + currentTurnPlayed(); +00129 } +00130 +00131 +00132 void ChessClock::setTimeAvailable(int msecs) +00133 { +00134 timeAvailableBeforeTurn_ = msecs; +00135 } +00136 +00137 +00138 void ChessClock::addTime(int msecs) +00139 { +00140 timeAvailableBeforeTurn_ += msecs; +00141 } +00142 +00143 int ChessClock::currentTurnPlayed() +00144 { +00145 if( currentTurn_ ) +00146 { +00147 // Update current time +00148 if( status_ == Running ) +00149 { +00150 currentTurn_->addTime( clockTime_.restart()); +00151 +00152 // since 1.1.2 +00153 // emit dontEatBattery signal when screen should not to be keeped on +00154 if ( currentTurn_->getDuration() > DONTEATBATTERYTIME && dontEatBatteryEmitted_ == false ) +00155 { +00156 dontEatBatteryEmitted_ = true; +00157 emit dontEatBattery(); +00158 } +00159 } +00160 +00161 // Return current time +00162 return currentTurn_->getDuration(); +00163 } +00164 else +00165 // No current turn! +00166 return 0; +00167 } +00168 +00169 void ChessClock::updateClock() +00170 { +00171 // Check loser +00172 if( another_ && !another_->isLoser()) +00173 { +00174 if( getTimeAvailable() < 0 && !loser_) +00175 { +00176 loser_ = true; +00177 emit timeOutLoser(); +00178 } +00179 +00180 } +00181 repaintClock(); +00182 +00183 } +00184
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8h.html b/www/html/chessclock_8h.html index 0ed895b..dfd2a39 100644 --- a/www/html/chessclock_8h.html +++ b/www/html/chessclock_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8h_source.html b/www/html/chessclock_8h_source.html index 9ab4941..3663a0f 100644 --- a/www/html/chessclock_8h_source.html +++ b/www/html/chessclock_8h_source.html @@ -116,30 +116,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00110 signals: 00111 void timeOutLoser(); 00112 void turnEnded(); -00113 -00114 public slots: -00115 -00117 virtual void repaintClock() = 0; -00118 -00120 virtual void updateClock(); +00118 void dontEatBattery(); +00119 +00120 public slots: 00121 -00122 protected: -00123 ChessClock* another_; -00125 bool loser_; -00126 int turn_; -00127 RunningStatus status_; -00128 TurnInformation* currentTurn_; -00129 -00130 int timePlayedBeforeTurn_; -00131 int timeAvailableBeforeTurn_; -00133 bool isWhite_; -00135 QTime clockTime_; -00136 QTimer updateTimer_; -00137 -00138 static const int UPDATEINTERVAL = 1000; -00140 }; -00141 -00142 #endif // CHESSCLOCK_H +00123 virtual void repaintClock() = 0; +00124 +00126 virtual void updateClock(); +00127 +00128 protected: +00129 ChessClock* another_; +00131 bool loser_; +00132 int turn_; +00133 RunningStatus status_; +00134 TurnInformation* currentTurn_; +00135 bool dontEatBatteryEmitted_; +00136 +00137 int timePlayedBeforeTurn_; +00138 int timeAvailableBeforeTurn_; +00140 bool isWhite_; +00142 QTime clockTime_; +00143 QTimer updateTimer_; +00144 +00145 static const int UPDATEINTERVAL = 1000; +00146 static const int DONTEATBATTERYTIME = 30 * 60 * 1000; +00147 }; +00148 +00149 #endif // CHESSCLOCK_H
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8cpp.html b/www/html/chessclockwidget_8cpp.html index 4f9c303..cdf6949 100644 --- a/www/html/chessclockwidget_8cpp.html +++ b/www/html/chessclockwidget_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8cpp_source.html b/www/html/chessclockwidget_8cpp_source.html index eb93f97..9f4cea4 100644 --- a/www/html/chessclockwidget_8cpp_source.html +++ b/www/html/chessclockwidget_8cpp_source.html @@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8h.html b/www/html/chessclockwidget_8h.html index 951ead3..78760f9 100644 --- a/www/html/chessclockwidget_8h.html +++ b/www/html/chessclockwidget_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8h_source.html b/www/html/chessclockwidget_8h_source.html index 6f45162..4955b51 100644 --- a/www/html/chessclockwidget_8h_source.html +++ b/www/html/chessclockwidget_8h_source.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8cpp.html b/www/html/chessclockwindow_8cpp.html index 21d0f23..40d1511 100644 --- a/www/html/chessclockwindow_8cpp.html +++ b/www/html/chessclockwindow_8cpp.html @@ -78,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8cpp_source.html b/www/html/chessclockwindow_8cpp_source.html index e47d27d..a446726 100644 --- a/www/html/chessclockwindow_8cpp_source.html +++ b/www/html/chessclockwindow_8cpp_source.html @@ -69,129 +69,151 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00025 #include "classes/chessclockwidget.h" 00026 #include "classes/startwidget.h" 00027 #include "classes/timecontrol.h" -00028 -00029 // Time controls -00030 #include "classes/timecontrol/notimecontrol.h" -00031 #include "classes/timecontrol/fischertimecontrol.h" -00032 #include "classes/timecontrol/fischeraftertimecontrol.h" -00033 #include "classes/timecontrol/delaytimecontrol.h" -00034 #include "classes/timecontrol/delayaftertimecontrol.h" -00035 #include "classes/timecontrol/hourglasstimecontrol.h" -00036 -00037 #include <QIcon> -00038 #include <QApplication> -00039 #include <QMenuBar> -00040 #include <QMessageBox> -00041 #include <QStackedWidget> -00042 #include <QProcess> -00043 +00028 #include "classes/turninformation.h" +00029 +00030 // Time controls +00031 #include "classes/timecontrol/notimecontrol.h" +00032 #include "classes/timecontrol/fischertimecontrol.h" +00033 #include "classes/timecontrol/fischeraftertimecontrol.h" +00034 #include "classes/timecontrol/delaytimecontrol.h" +00035 #include "classes/timecontrol/delayaftertimecontrol.h" +00036 #include "classes/timecontrol/hourglasstimecontrol.h" +00037 +00038 #include <QIcon> +00039 #include <QApplication> +00040 #include <QMenuBar> +00041 #include <QMessageBox> +00042 #include <QStackedWidget> +00043 #include <QProcess> 00044 -00045 ChessClockWindow::ChessClockWindow(QWidget *parent) -00046 : QMainWindow(parent) -00047 { -00048 -00049 setWindowIcon( QIcon(":/rc/pic/chessclock.png")); -00050 setWindowTitle( QString("%1 %2").arg(qApp->applicationName()).arg(qApp->applicationVersion()) ); -00051 -00052 // Start widget to select time control -00053 start_ = new StartWidget; -00054 clocks_ = 0; -00055 -00056 initTimeControls(); -00057 -00058 stack_ = new QStackedWidget; -00059 stack_->addWidget(start_); -00060 -00061 setCentralWidget( stack_ ); -00062 -00063 connect( start_, SIGNAL(selected(TimeControl*)), this, SLOT(startGame(TimeControl*))); -00064 +00045 +00046 ChessClockWindow::ChessClockWindow(QWidget *parent) +00047 : QMainWindow(parent) +00048 { +00049 +00050 setWindowIcon( QIcon(":/rc/pic/chessclock.png")); +00051 setWindowTitle( QString("%1 %2").arg(qApp->applicationName()).arg(qApp->applicationVersion()) ); +00052 +00053 // Start widget to select time control +00054 start_ = new StartWidget; +00055 clocks_ = 0; +00056 +00057 initTimeControls(); +00058 +00059 stack_ = new QStackedWidget; +00060 stack_->addWidget(start_); +00061 +00062 setCentralWidget( stack_ ); +00063 +00064 connect( start_, SIGNAL(selected(TimeControl*)), this, SLOT(startGame(TimeControl*))); 00065 -00066 // Set up menu -00067 // menuBar()->addAction( tr("Pause"), this, SLOT(pause())); // UNUSED - Pause button -00068 menuBar()->addAction( tr("New game"), this, SLOT(newGame())); -00069 -00070 menuBar()->addAction( tr("Visit web page"), this, SLOT(visitWeb())); -00071 menuBar()->addAction( tr("About"),this, SLOT(about())); -00072 menuBar()->addAction(tr("About Qt"), this, SLOT(aboutQt())); -00073 -00074 } -00075 -00076 void ChessClockWindow::pause() -00077 { -00078 if( clocks_ ) -00079 clocks_->pause(); -00080 } -00081 -00082 void ChessClockWindow::newGame() -00083 { -00084 pause(); -00085 if( clocks_ == 0 || !clocks_->isPlayStarted() || QMessageBox::question(this, tr("Start new game"), -00086 tr("Really quit the current game and start a new one?"), -00087 QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) -00088 { -00089 stack_->setCurrentWidget(start_); -00090 -00091 if( clocks_ ) -00092 { stack_->removeWidget(clocks_); -00093 delete clocks_; -00094 } -00095 clocks_=0; -00096 } -00097 } -00098 -00099 void ChessClockWindow::visitWeb() -00100 { -00101 pause(); -00102 QProcess* process = new QProcess(this); -00103 process->start(QString("browser --url=chessclock.garage.maemo.org")); -00104 } -00105 -00106 void ChessClockWindow::about() -00107 { -00108 pause(); -00109 QMessageBox::about(this, tr("About ChessClock"), -00110 tr("<h1>Chess Clock %1</h1>" -00111 "&copy;Arto Hyv&auml;ttinen 2010" -00112 "<p>Chess Clock is free software under the terms of GNU General Public License 3" -00113 "<p>Bugtracker and instructions at <a>http://chessclock.garage.maemo.org</a>" -00114 ).arg(qApp->applicationVersion())) ; -00115 } -00116 -00117 void ChessClockWindow::aboutQt() -00118 { -00119 pause(); -00120 qApp->aboutQt(); -00121 } -00122 -00123 -00124 void ChessClockWindow::initTimeControls() -00125 { -00126 start_->addTimeControl( new NoTimeControl ); -00127 start_->addTimeControl( new FischerTimeControl); -00128 start_->addTimeControl( new FischerAfterTimeControl); -00129 start_->addTimeControl( new DelayTimeControl ); -00130 start_->addTimeControl( new DelayAfterTimeControl); -00131 start_->addTimeControl( new HourGlassTimeControl); -00132 } -00133 -00134 void ChessClockWindow::startGame(TimeControl *timecontrol) -00135 { -00136 ClocksWidget* newWidget = timecontrol->initGame(false); -00137 if( newWidget ) -00138 { -00139 -00140 clocks_ = newWidget; -00141 stack_->addWidget(clocks_); -00142 stack_->setCurrentWidget(clocks_); -00143 } -00144 } -00145 -00146 -00147 ChessClockWindow::~ChessClockWindow() -00148 { -00149 +00066 +00067 // Set up menu +00068 // menuBar()->addAction( tr("Pause"), this, SLOT(pause())); // UNUSED - Pause button +00069 menuBar()->addAction( tr("New game"), this, SLOT(newGame())); +00070 +00071 menuBar()->addAction( tr("Visit web page"), this, SLOT(visitWeb())); +00072 menuBar()->addAction( tr("About"),this, SLOT(about())); +00073 menuBar()->addAction(tr("About Qt"), this, SLOT(aboutQt())); +00074 +00075 //set the event filter to grap window deactivate +00076 +00077 installEventFilter(this); +00078 +00079 } +00080 +00081 void ChessClockWindow::pause() +00082 { +00083 if( clocks_ ) +00084 clocks_->pause(); +00085 } +00086 +00087 void ChessClockWindow::newGame() +00088 { +00089 pause(); +00090 if( clocks_ == 0 || !clocks_->isPlayStarted() || QMessageBox::question(this, tr("Start new game"), +00091 tr("Really quit the current game and start a new one?"), +00092 QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) +00093 { +00094 stack_->setCurrentWidget(start_); +00095 +00096 if( clocks_ ) +00097 { stack_->removeWidget(clocks_); +00098 delete clocks_; +00099 } +00100 clocks_=0; +00101 } +00102 } +00103 +00104 void ChessClockWindow::visitWeb() +00105 { +00106 pause(); +00107 QProcess* process = new QProcess(this); +00108 process->start(QString("browser --url=chessclock.garage.maemo.org")); +00109 } +00110 +00111 void ChessClockWindow::about() +00112 { +00113 pause(); +00114 QMessageBox::about(this, tr("About ChessClock"), +00115 tr("<h1>Chess Clock %1</h1>" +00116 "&copy;Arto Hyv&auml;ttinen 2010" +00117 "<p>Chess Clock is free software under the terms of GNU General Public License 3" +00118 "<p>Bugtracker and instructions at <a>http://chessclock.garage.maemo.org</a>" +00119 ).arg(qApp->applicationVersion())) ; +00120 } +00121 +00122 void ChessClockWindow::aboutQt() +00123 { +00124 pause(); +00125 qApp->aboutQt(); +00126 } +00127 +00128 +00129 void ChessClockWindow::initTimeControls() +00130 { +00131 start_->addTimeControl( new NoTimeControl ); +00132 start_->addTimeControl( new FischerTimeControl); +00133 start_->addTimeControl( new FischerAfterTimeControl); +00134 start_->addTimeControl( new DelayTimeControl ); +00135 start_->addTimeControl( new DelayAfterTimeControl); +00136 start_->addTimeControl( new HourGlassTimeControl); +00137 } +00138 +00139 void ChessClockWindow::startGame(TimeControl *timecontrol) +00140 { +00141 ClocksWidget* newWidget = timecontrol->initGame(false); +00142 if( newWidget ) +00143 { +00144 +00145 clocks_ = newWidget; +00146 stack_->addWidget(clocks_); +00147 stack_->setCurrentWidget(clocks_); +00148 connect( clocks_, SIGNAL(TurnFinished(TurnInformation*)), this, SLOT(dontEatMemory(TurnInformation*))); +00149 } 00150 } +00151 +00152 +00153 ChessClockWindow::~ChessClockWindow() +00154 { +00155 +00156 } +00157 +00158 bool ChessClockWindow::eventFilter(QObject *obj, QEvent *event) +00159 { +00160 if (event->type() == QEvent::WindowDeactivate) { +00161 pause(); +00162 return QObject::eventFilter(obj,event); +00163 } else { +00164 // standard event processing +00165 return QObject::eventFilter(obj, event); +00166 } +00167 } +00168 +00169 void ChessClockWindow::dontEatMemory(TurnInformation *turnInformation) +00170 { +00171 delete turnInformation; // hopefully don't cause Segematation Fault +00172 }
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8h.html b/www/html/chessclockwindow_8h.html index a0a2ea1..c46da2d 100644 --- a/www/html/chessclockwindow_8h.html +++ b/www/html/chessclockwindow_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8h_source.html b/www/html/chessclockwindow_8h_source.html index 6680395..076474e 100644 --- a/www/html/chessclockwindow_8h_source.html +++ b/www/html/chessclockwindow_8h_source.html @@ -72,34 +72,37 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00028 class StartWidget; 00029 class TimeControl; 00030 class QStackedWidget; -00031 -00032 class ChessClockWindow : public QMainWindow -00033 { -00034 Q_OBJECT -00035 -00036 public: -00037 ChessClockWindow(QWidget *parent = 0); -00038 ~ChessClockWindow(); -00039 -00040 public slots: -00041 void startGame( TimeControl* timecontrol); -00042 void pause(); -00043 void newGame(); -00045 void visitWeb(); -00046 void about(); -00047 void aboutQt(); -00048 -00049 -00050 protected: -00051 void initTimeControls(); -00052 -00053 protected: -00054 ClocksWidget* clocks_; -00055 StartWidget* start_; -00056 QStackedWidget* stack_; -00057 }; -00058 -00059 #endif // CHESSCLOCKWINDOW_H +00031 class TurnInformation; +00032 +00033 class ChessClockWindow : public QMainWindow +00034 { +00035 Q_OBJECT +00036 +00037 public: +00038 ChessClockWindow(QWidget *parent = 0); +00039 ~ChessClockWindow(); +00040 +00041 public slots: +00042 void startGame( TimeControl* timecontrol); +00043 void pause(); +00044 void newGame(); +00046 void visitWeb(); +00047 void about(); +00048 void aboutQt(); +00053 void dontEatMemory(TurnInformation* turnInformation); +00054 +00055 +00056 protected: +00057 void initTimeControls(); +00059 bool eventFilter(QObject *obj, QEvent *event); +00060 +00061 protected: +00062 ClocksWidget* clocks_; +00063 StartWidget* start_; +00064 QStackedWidget* stack_; +00065 }; +00066 +00067 #endif // CHESSCLOCKWINDOW_H
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_basic_dialog-members.html b/www/html/class_basic_dialog-members.html index 21c598c..de6626d 100644 --- a/www/html/class_basic_dialog-members.html +++ b/www/html/class_basic_dialog-members.html @@ -90,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_basic_dialog.html b/www/html/class_basic_dialog.html index eb2fa64..39bf66f 100644 --- a/www/html/class_basic_dialog.html +++ b/www/html/class_basic_dialog.html @@ -673,7 +673,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock-members.html b/www/html/class_chess_clock-members.html index f0b8fd1..9304330 100644 --- a/www/html/class_chess_clock-members.html +++ b/www/html/class_chess_clock-members.html @@ -53,6 +53,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+ + + @@ -95,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock.html b/www/html/class_chess_clock.html index e81ff17..433284f 100644 --- a/www/html/class_chess_clock.html +++ b/www/html/class_chess_clock.html @@ -81,6 +81,8 @@ Inheritance diagram for ChessClock:
+ + @@ -116,6 +118,7 @@ Inheritance diagram for ChessClock: + @@ -126,6 +129,7 @@ Inheritance diagram for ChessClock: +
continueTurn()ChessClock [virtual]
currentTurn_ChessClock [protected]
currentTurnPlayed()ChessClock
dontEatBattery()ChessClock [signal]
dontEatBatteryEmitted_ChessClock [protected]
DONTEATBATTERYTIMEChessClock [protected, static]
endTurn()ChessClock [virtual]
getStatus() const ChessClock [inline]
getTimeAvailable()ChessClock [virtual]

Signals

void timeOutLoser ()
void turnEnded ()
void dontEatBattery ()
 Emitted after 30 min played one turn.

Public Member Functions

 ChessClock (bool white, QWidget *parent=0)
bool isLoser () const
RunningStatus status_
 Current turn.
TurnInformationcurrentTurn_
bool dontEatBatteryEmitted_
int timePlayedBeforeTurn_
int timeAvailableBeforeTurn_
 Time played in this game BEFORE this turn msecs.
QTimer updateTimer_

Static Protected Attributes

static const int UPDATEINTERVAL = 1000
static const int DONTEATBATTERYTIME = 30 * 60 * 1000

Detailed Description

Clock of a individual player.

@@ -190,7 +194,7 @@ Inheritance diagram for ChessClock:
-

Definition at line 28 of file chessclock.cpp.

+

Definition at line 29 of file chessclock.cpp.

@@ -220,7 +224,7 @@ Inheritance diagram for ChessClock: -

Definition at line 135 of file chessclock.cpp.

+

Definition at line 138 of file chessclock.cpp.

@@ -241,7 +245,7 @@ Inheritance diagram for ChessClock:

Continue paused game.

-

Definition at line 70 of file chessclock.cpp.

+

Definition at line 73 of file chessclock.cpp.

@@ -263,7 +267,28 @@ Inheritance diagram for ChessClock:

Get time played current turn.

Returns:
Time in msecs
-

Definition at line 140 of file chessclock.cpp.

+

Definition at line 143 of file chessclock.cpp.

+ + + + +
+
+ + + + + + + + +
void ChessClock::dontEatBattery ( )  [signal]
+
+
+ +

Emitted after 30 min played one turn.

+

Will cause screen not to keeped lit.

+
Since:
1.1.2
@@ -288,7 +313,7 @@ Inheritance diagram for ChessClock:

Reimplemented in DelayAfterClock, FischerAfterClock, and HourGlassClock.

-

Definition at line 81 of file chessclock.cpp.

+

Definition at line 84 of file chessclock.cpp.

@@ -332,7 +357,7 @@ Inheritance diagram for ChessClock:

Reimplemented in DelayClock, and HourGlassClock.

-

Definition at line 109 of file chessclock.cpp.

+

Definition at line 112 of file chessclock.cpp.

@@ -354,7 +379,7 @@ Inheritance diagram for ChessClock:

Get total time played.

Returns:
Time played in msecs
-

Definition at line 123 of file chessclock.cpp.

+

Definition at line 126 of file chessclock.cpp.

@@ -432,7 +457,7 @@ Inheritance diagram for ChessClock:

Pause clock.

-

Definition at line 61 of file chessclock.cpp.

+

Definition at line 64 of file chessclock.cpp.

@@ -481,7 +506,7 @@ Inheritance diagram for ChessClock: -

Definition at line 104 of file chessclock.cpp.

+

Definition at line 107 of file chessclock.cpp.

@@ -509,7 +534,7 @@ Inheritance diagram for ChessClock: -

Definition at line 129 of file chessclock.cpp.

+

Definition at line 132 of file chessclock.cpp.

@@ -532,7 +557,7 @@ Inheritance diagram for ChessClock:

Reimplemented in FischerClock.

-

Definition at line 47 of file chessclock.cpp.

+

Definition at line 49 of file chessclock.cpp.

@@ -589,7 +614,7 @@ Inheritance diagram for ChessClock:

Reimplemented in HourGlassClock.

-

Definition at line 156 of file chessclock.cpp.

+

Definition at line 169 of file chessclock.cpp.

@@ -605,7 +630,7 @@ Inheritance diagram for ChessClock:
-

Definition at line 123 of file chessclock.h.

+

Definition at line 129 of file chessclock.h.

@@ -622,7 +647,7 @@ Inheritance diagram for ChessClock:

True if white player.

-

Definition at line 135 of file chessclock.h.

+

Definition at line 142 of file chessclock.h.

@@ -637,7 +662,38 @@ Inheritance diagram for ChessClock:
-

Definition at line 128 of file chessclock.h.

+

Definition at line 134 of file chessclock.h.

+ +
+ + +
+
+ + + + +
bool ChessClock::dontEatBatteryEmitted_ [protected]
+
+
+ +

Definition at line 135 of file chessclock.h.

+ +
+
+ +
+
+ + + + +
const int ChessClock::DONTEATBATTERYTIME = 30 * 60 * 1000 [static, protected]
+
+
+

Clock updating interval in msecs

+ +

Definition at line 146 of file chessclock.h.

@@ -654,7 +710,7 @@ Inheritance diagram for ChessClock:

Time available for play BEFORE this turn msecs !

-

Definition at line 133 of file chessclock.h.

+

Definition at line 140 of file chessclock.h.

@@ -671,7 +727,7 @@ Inheritance diagram for ChessClock:

Another player's clock.

-

Definition at line 125 of file chessclock.h.

+

Definition at line 131 of file chessclock.h.

@@ -688,7 +744,7 @@ Inheritance diagram for ChessClock:

Current turn.

-

Definition at line 127 of file chessclock.h.

+

Definition at line 133 of file chessclock.h.

@@ -705,7 +761,7 @@ Inheritance diagram for ChessClock:

Time played in this game BEFORE this turn msecs.

-

Definition at line 131 of file chessclock.h.

+

Definition at line 138 of file chessclock.h.

@@ -720,7 +776,7 @@ Inheritance diagram for ChessClock:
-

Definition at line 130 of file chessclock.h.

+

Definition at line 137 of file chessclock.h.

@@ -737,7 +793,7 @@ Inheritance diagram for ChessClock:

Is player losed because of timeout.

-

Definition at line 126 of file chessclock.h.

+

Definition at line 132 of file chessclock.h.

@@ -752,7 +808,7 @@ Inheritance diagram for ChessClock:
-

Definition at line 138 of file chessclock.h.

+

Definition at line 145 of file chessclock.h.

@@ -767,7 +823,7 @@ Inheritance diagram for ChessClock:
-

Definition at line 136 of file chessclock.h.

+

Definition at line 143 of file chessclock.h.

@@ -790,7 +846,7 @@ Inheritance diagram for ChessClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_widget-members.html b/www/html/class_chess_clock_widget-members.html index 136a977..248dd11 100644 --- a/www/html/class_chess_clock_widget-members.html +++ b/www/html/class_chess_clock_widget-members.html @@ -54,6 +54,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); continueTurn()ChessClock [virtual] currentTurn_ChessClock [protected] currentTurnPlayed()ChessClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()ChessClock [virtual] getStatus() const ChessClock [inline] getTimeAvailable()ChessClock [virtual] @@ -114,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_widget.html b/www/html/class_chess_clock_widget.html index 0354545..c7e6e5e 100644 --- a/www/html/class_chess_clock_widget.html +++ b/www/html/class_chess_clock_widget.html @@ -497,7 +497,7 @@ Inheritance diagram for ChessClockWidget: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_window-members.html b/www/html/class_chess_clock_window-members.html index 3ae4b80..c5fe04e 100644 --- a/www/html/class_chess_clock_window-members.html +++ b/www/html/class_chess_clock_window-members.html @@ -50,6 +50,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); aboutQt()ChessClockWindow [slot] ChessClockWindow(QWidget *parent=0)ChessClockWindow clocks_ChessClockWindow [protected] + dontEatMemory(TurnInformation *turnInformation)ChessClockWindow [slot] + eventFilter(QObject *obj, QEvent *event)ChessClockWindow [protected] initTimeControls()ChessClockWindow [protected] newGame()ChessClockWindow [slot] pause()ChessClockWindow [slot] @@ -73,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_window.html b/www/html/class_chess_clock_window.html index 12ce2df..cdae6a5 100644 --- a/www/html/class_chess_clock_window.html +++ b/www/html/class_chess_clock_window.html @@ -58,11 +58,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  Visit ChessClock web page.
void about () void aboutQt () +void dontEatMemory (TurnInformation *turnInformation) + Delete turn information to avoid memory leaks.

Public Member Functions

 ChessClockWindow (QWidget *parent=0)  ~ChessClockWindow ()

Protected Member Functions

void initTimeControls () +bool eventFilter (QObject *obj, QEvent *event) + Pauses the game if the application main window is not active e.g.

Protected Attributes

ClocksWidgetclocks_ StartWidgetstart_ @@ -70,7 +74,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Detailed Description

-

Definition at line 32 of file chessclockwindow.h.

+

Definition at line 33 of file chessclockwindow.h.


Constructor & Destructor Documentation

@@ -88,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 45 of file chessclockwindow.cpp.

+

Definition at line 46 of file chessclockwindow.cpp.

@@ -107,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 147 of file chessclockwindow.cpp.

+

Definition at line 153 of file chessclockwindow.cpp.

@@ -127,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 106 of file chessclockwindow.cpp.

+

Definition at line 111 of file chessclockwindow.cpp.

@@ -146,7 +150,63 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 117 of file chessclockwindow.cpp.

+

Definition at line 122 of file chessclockwindow.cpp.

+ +
+ + +
+
+ + + + + + + + + +
void ChessClockWindow::dontEatMemory (TurnInformation turnInformation )  [slot]
+
+
+ +

Delete turn information to avoid memory leaks.

+
Todo:
Save turn log and function to show it.
+
Since:
1.1.2
+ +

Definition at line 169 of file chessclockwindow.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool ChessClockWindow::eventFilter (QObject *  obj,
QEvent *  event 
) [protected]
+
+
+ +

Pauses the game if the application main window is not active e.g.

+

the app is minimized

+ +

Definition at line 158 of file chessclockwindow.cpp.

@@ -165,7 +225,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 124 of file chessclockwindow.cpp.

+

Definition at line 129 of file chessclockwindow.cpp.

@@ -184,7 +244,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 82 of file chessclockwindow.cpp.

+

Definition at line 87 of file chessclockwindow.cpp.

@@ -203,7 +263,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 76 of file chessclockwindow.cpp.

+

Definition at line 81 of file chessclockwindow.cpp.

@@ -223,7 +283,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 134 of file chessclockwindow.cpp.

+

Definition at line 139 of file chessclockwindow.cpp.

@@ -244,7 +304,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Visit ChessClock web page.

-

Definition at line 99 of file chessclockwindow.cpp.

+

Definition at line 104 of file chessclockwindow.cpp.

@@ -260,7 +320,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 54 of file chessclockwindow.h.

+

Definition at line 62 of file chessclockwindow.h.

@@ -275,7 +335,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 56 of file chessclockwindow.h.

+

Definition at line 64 of file chessclockwindow.h.

@@ -290,7 +350,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 55 of file chessclockwindow.h.

+

Definition at line 63 of file chessclockwindow.h.

@@ -313,7 +373,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_clocks_widget-members.html b/www/html/class_clocks_widget-members.html index 7483147..0a0974a 100644 --- a/www/html/class_clocks_widget-members.html +++ b/www/html/class_clocks_widget-members.html @@ -63,6 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); pauseLabel_ClocksWidget [protected] recentXClocksWidget [protected] recentYClocksWidget [protected] + saveScreen()ClocksWidget [slot] status_ClocksWidget [protected] Stopped enum valueClocksWidget [protected] stopPlay()ClocksWidget [slot] @@ -88,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_clocks_widget.html b/www/html/class_clocks_widget.html index fb4286f..0b8f93e 100644 --- a/www/html/class_clocks_widget.html +++ b/www/html/class_clocks_widget.html @@ -58,6 +58,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  Pause game.
void stopPlay ()  End the game.
+void saveScreen () + Not to keep screen lit.

Signals

void TurnFinished (TurnInformation *turnInfo) void ClickedWhenStopped () @@ -130,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -

Definition at line 79 of file clockswidget.h.

+

Definition at line 81 of file clockswidget.h.

@@ -185,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 114 of file clockswidget.cpp.

+

Definition at line 117 of file clockswidget.cpp.

@@ -232,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 212 of file clockswidget.cpp.

+

Definition at line 220 of file clockswidget.cpp.

@@ -271,7 +273,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 151 of file clockswidget.cpp.

+

Definition at line 159 of file clockswidget.cpp.

@@ -292,7 +294,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Pause game.

-

Definition at line 120 of file clockswidget.cpp.

+

Definition at line 123 of file clockswidget.cpp.

+ + + + +
+
+ + + + + + + + +
void ClocksWidget::saveScreen ( )  [slot]
+
+
+ +

Not to keep screen lit.

+ +

Definition at line 153 of file clockswidget.cpp.

@@ -313,7 +336,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

End the game.

-

Definition at line 141 of file clockswidget.cpp.

+

Definition at line 144 of file clockswidget.cpp.

@@ -347,7 +370,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 72 of file clockswidget.h.

+

Definition at line 74 of file clockswidget.h.

@@ -362,7 +385,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 94 of file clockswidget.h.

+

Definition at line 96 of file clockswidget.h.

@@ -377,7 +400,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 89 of file clockswidget.h.

+

Definition at line 91 of file clockswidget.h.

@@ -392,7 +415,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 77 of file clockswidget.h.

+

Definition at line 79 of file clockswidget.h.

@@ -407,7 +430,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 76 of file clockswidget.h.

+

Definition at line 78 of file clockswidget.h.

@@ -422,7 +445,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 74 of file clockswidget.h.

+

Definition at line 76 of file clockswidget.h.

@@ -439,7 +462,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

To avoid double clicks.

-

Definition at line 91 of file clockswidget.h.

+

Definition at line 93 of file clockswidget.h.

@@ -454,7 +477,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 92 of file clockswidget.h.

+

Definition at line 94 of file clockswidget.h.

@@ -469,7 +492,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 88 of file clockswidget.h.

+

Definition at line 90 of file clockswidget.h.

@@ -484,7 +507,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 75 of file clockswidget.h.

+

Definition at line 77 of file clockswidget.h.

@@ -499,7 +522,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 71 of file clockswidget.h.

+

Definition at line 73 of file clockswidget.h.

@@ -522,7 +545,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_clock-members.html b/www/html/class_delay_after_clock-members.html index 6c71da3..043c036 100644 --- a/www/html/class_delay_after_clock-members.html +++ b/www/html/class_delay_after_clock-members.html @@ -56,6 +56,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); currentTurnPlayed()ChessClock delay_DelayAfterClock [protected] DelayAfterClock(bool white, int delay, QWidget *parent=0)DelayAfterClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()DelayAfterClock [virtual] getStatus() const ChessClock [inline] getTimeAvailable()ChessClock [virtual] @@ -116,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_clock.html b/www/html/class_delay_after_clock.html index cbea20d..e5e2e89 100644 --- a/www/html/class_delay_after_clock.html +++ b/www/html/class_delay_after_clock.html @@ -174,7 +174,7 @@ Inheritance diagram for DelayAfterClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_time_control-members.html b/www/html/class_delay_after_time_control-members.html index 12a9bee..45ecc41 100644 --- a/www/html/class_delay_after_time_control-members.html +++ b/www/html/class_delay_after_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_time_control.html b/www/html/class_delay_after_time_control.html index f7fced2..e41d2e1 100644 --- a/www/html/class_delay_after_time_control.html +++ b/www/html/class_delay_after_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for DelayAfterTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_clock-members.html b/www/html/class_delay_clock-members.html index 0742faa..643a14d 100644 --- a/www/html/class_delay_clock-members.html +++ b/www/html/class_delay_clock-members.html @@ -56,6 +56,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); currentTurnPlayed()ChessClock delay_DelayClock [protected] DelayClock(bool white, int delay, QWidget *parent=0)DelayClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()ChessClock [virtual] getStatus() const ChessClock [inline] getTimeAvailable()DelayClock [virtual] @@ -116,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_clock.html b/www/html/class_delay_clock.html index b780750..60bf1c5 100644 --- a/www/html/class_delay_clock.html +++ b/www/html/class_delay_clock.html @@ -174,7 +174,7 @@ Inheritance diagram for DelayClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_time_control-members.html b/www/html/class_delay_time_control-members.html index 9fc74a7..dcfdb4c 100644 --- a/www/html/class_delay_time_control-members.html +++ b/www/html/class_delay_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_time_control.html b/www/html/class_delay_time_control.html index 3b240da..4b5f1e3 100644 --- a/www/html/class_delay_time_control.html +++ b/www/html/class_delay_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for DelayTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_clock-members.html b/www/html/class_fischer_after_clock-members.html index 83daa76..90b669e 100644 --- a/www/html/class_fischer_after_clock-members.html +++ b/www/html/class_fischer_after_clock-members.html @@ -55,6 +55,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); continueTurn()ChessClock [virtual] currentTurn_ChessClock [protected] currentTurnPlayed()ChessClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()FischerAfterClock [virtual] FischerAfterClock(bool white, int addition, int perTurns, QWidget *parent=0)FischerAfterClock getStatus() const ChessClock [inline] @@ -117,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_clock.html b/www/html/class_fischer_after_clock.html index b6d6184..75738a3 100644 --- a/www/html/class_fischer_after_clock.html +++ b/www/html/class_fischer_after_clock.html @@ -196,7 +196,7 @@ Inheritance diagram for FischerAfterClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_time_control-members.html b/www/html/class_fischer_after_time_control-members.html index c96c93b..829fe59 100644 --- a/www/html/class_fischer_after_time_control-members.html +++ b/www/html/class_fischer_after_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_time_control.html b/www/html/class_fischer_after_time_control.html index ae3de57..c76d58d 100644 --- a/www/html/class_fischer_after_time_control.html +++ b/www/html/class_fischer_after_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for FischerAfterTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_clock-members.html b/www/html/class_fischer_clock-members.html index f0668fa..85896c5 100644 --- a/www/html/class_fischer_clock-members.html +++ b/www/html/class_fischer_clock-members.html @@ -55,6 +55,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); continueTurn()ChessClock [virtual] currentTurn_ChessClock [protected] currentTurnPlayed()ChessClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()ChessClock [virtual] FischerClock(bool white, int addition, int perTurns, QWidget *parent=0)FischerClock getStatus() const ChessClock [inline] @@ -117,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_clock.html b/www/html/class_fischer_clock.html index 2c4a997..e57e4bd 100644 --- a/www/html/class_fischer_clock.html +++ b/www/html/class_fischer_clock.html @@ -188,7 +188,7 @@ Inheritance diagram for FischerClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_time_control-members.html b/www/html/class_fischer_time_control-members.html index 0c6525e..7bcbb37 100644 --- a/www/html/class_fischer_time_control-members.html +++ b/www/html/class_fischer_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_time_control.html b/www/html/class_fischer_time_control.html index 3fde346..88bc951 100644 --- a/www/html/class_fischer_time_control.html +++ b/www/html/class_fischer_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for FischerTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_clock-members.html b/www/html/class_hour_glass_clock-members.html index 3c9f0d6..33d68b7 100644 --- a/www/html/class_hour_glass_clock-members.html +++ b/www/html/class_hour_glass_clock-members.html @@ -54,6 +54,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); continueTurn()ChessClock [virtual] currentTurn_ChessClock [protected] currentTurnPlayed()ChessClock + dontEatBattery()ChessClock [signal] + dontEatBatteryEmitted_ChessClock [protected] + DONTEATBATTERYTIMEChessClock [protected, static] endTurn()HourGlassClock [virtual] getStatus() const ChessClock [inline] getTimeAvailable()HourGlassClock [virtual] @@ -115,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_clock.html b/www/html/class_hour_glass_clock.html index ef99166..8fb6c80 100644 --- a/www/html/class_hour_glass_clock.html +++ b/www/html/class_hour_glass_clock.html @@ -197,7 +197,7 @@ Inheritance diagram for HourGlassClock: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_time_control-members.html b/www/html/class_hour_glass_time_control-members.html index 9533747..2a7af92 100644 --- a/www/html/class_hour_glass_time_control-members.html +++ b/www/html/class_hour_glass_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_time_control.html b/www/html/class_hour_glass_time_control.html index 8b7d342..3d4de40 100644 --- a/www/html/class_hour_glass_time_control.html +++ b/www/html/class_hour_glass_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for HourGlassTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_no_time_control-members.html b/www/html/class_no_time_control-members.html index 2176552..672b003 100644 --- a/www/html/class_no_time_control-members.html +++ b/www/html/class_no_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_no_time_control.html b/www/html/class_no_time_control.html index 0e47aa1..ba9a486 100644 --- a/www/html/class_no_time_control.html +++ b/www/html/class_no_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for NoTimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_screen_lit_keeper-members.html b/www/html/class_screen_lit_keeper-members.html index ddf146b..704e0f0 100644 --- a/www/html/class_screen_lit_keeper-members.html +++ b/www/html/class_screen_lit_keeper-members.html @@ -63,7 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_screen_lit_keeper.html b/www/html/class_screen_lit_keeper.html index ebf07c5..63d9e18 100644 --- a/www/html/class_screen_lit_keeper.html +++ b/www/html/class_screen_lit_keeper.html @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_start_widget-members.html b/www/html/class_start_widget-members.html index 1f13d38..8026ccc 100644 --- a/www/html/class_start_widget-members.html +++ b/www/html/class_start_widget-members.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_start_widget.html b/www/html/class_start_widget.html index 5543cb6..26d3481 100644 --- a/www/html/class_start_widget.html +++ b/www/html/class_start_widget.html @@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_time_control-members.html b/www/html/class_time_control-members.html index 9f64eb0..fdf225a 100644 --- a/www/html/class_time_control-members.html +++ b/www/html/class_time_control-members.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_time_control.html b/www/html/class_time_control.html index 1533d6f..c021a1f 100644 --- a/www/html/class_time_control.html +++ b/www/html/class_time_control.html @@ -198,7 +198,7 @@ Inheritance diagram for TimeControl: -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_turn_information-members.html b/www/html/class_turn_information-members.html index 9dd4694..634e979 100644 --- a/www/html/class_turn_information-members.html +++ b/www/html/class_turn_information-members.html @@ -76,7 +76,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_turn_information.html b/www/html/class_turn_information.html index b34a81a..b1c5eb7 100644 --- a/www/html/class_turn_information.html +++ b/www/html/class_turn_information.html @@ -421,7 +421,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_welcome_screen_widget-members.html b/www/html/class_welcome_screen_widget-members.html index 135279d..c5677f9 100644 --- a/www/html/class_welcome_screen_widget-members.html +++ b/www/html/class_welcome_screen_widget-members.html @@ -62,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_welcome_screen_widget.html b/www/html/class_welcome_screen_widget.html index 0c0771a..affae8b 100644 --- a/www/html/class_welcome_screen_widget.html +++ b/www/html/class_welcome_screen_widget.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/classes.html b/www/html/classes.html index 05ae277..6857442 100644 --- a/www/html/classes.html +++ b/www/html/classes.html @@ -72,7 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8cpp.html b/www/html/clockswidget_8cpp.html index 97853fb..1b6557f 100644 --- a/www/html/clockswidget_8cpp.html +++ b/www/html/clockswidget_8cpp.html @@ -79,7 +79,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8cpp_source.html b/www/html/clockswidget_8cpp_source.html index 705cc89..150e80d 100644 --- a/www/html/clockswidget_8cpp_source.html +++ b/www/html/clockswidget_8cpp_source.html @@ -153,120 +153,128 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00109 00110 // ScreenLitKeeper to keep screen lit when playing 00111 keeper_ = new ScreenLitKeeper(this); -00112 } -00113 -00114 ClocksWidget::~ClocksWidget() -00115 { -00116 delete white_; -00117 delete black_; -00118 } -00119 -00120 void ClocksWidget::pause() -00121 { -00122 if(status_ == WhiteTurn) -00123 { -00124 status_= WhitePause; -00125 white_->pauseTurn(); -00126 pauseLabel_->setVisible(true); -00127 pauseButton_->setVisible(false); -00128 keeper_->keepScreenLit(false); -00129 -00130 } -00131 else if( status_ == BlackTurn) -00132 { -00133 status_ = BlackPause; -00134 black_->pauseTurn(); -00135 pauseLabel_->setVisible(true); -00136 pauseButton_->setVisible(false); -00137 keeper_->keepScreenLit(false); -00138 } -00139 } -00140 -00141 void ClocksWidget::stopPlay() -00142 { -00143 if( status_ == BlackTurn || status_ == BlackPause ) -00144 emit TurnFinished( black_->endTurn()); -00145 else if( status_ == WhiteTurn || status_ == WhitePause ) -00146 emit TurnFinished( white_->endTurn()); -00147 status_ = Stopped; -00148 } -00149 -00150 -00151 void ClocksWidget::mouseReleaseEvent(QMouseEvent *event) -00152 { -00153 -00154 // To avoid double clicks -00155 // a) delay (default 1,2 secs) OR -00156 // b) distance more than 90 pixels in axis. -00157 if( delayTimer_.elapsed() > CLICKDELAY || -00158 std::abs( event->x() - recentX ) > 90 || -00159 std::abs( event->y() - recentY ) > 90 -00160 ) -00161 { -00162 delayTimer_.start(); // to reset delay timer! -00163 switch( status_) -00164 { -00165 case Welcome : -00166 // Start game! -00167 welcomeLabel_->setVisible(false); -00168 pauseButton_->setVisible(true); -00169 keeper_->keepScreenLit(true); -00170 white_->startTurn(); -00171 status_ = WhiteTurn; -00172 break; -00173 case WhiteTurn: -00174 // White turn finished, then black -00175 emit TurnFinished( white_->endTurn()); -00176 black_->startTurn(); -00177 status_=BlackTurn; -00178 break; -00179 case BlackTurn: -00180 // Black finished, then white -00181 emit TurnFinished( black_->endTurn()); -00182 white_->startTurn(); -00183 status_=WhiteTurn; -00184 break; -00185 case WhitePause: -00186 // Continue play -00187 keeper_->keepScreenLit(true); -00188 pauseLabel_->setVisible(false); -00189 pauseButton_->setVisible(true); -00190 white_->continueTurn(); +00112 +00113 connect( white, SIGNAL(dontEatBattery()), this, SLOT(saveScreen())); +00114 connect( black, SIGNAL(dontEatBattery()), this, SLOT(saveScreen())); +00115 } +00116 +00117 ClocksWidget::~ClocksWidget() +00118 { +00119 delete white_; +00120 delete black_; +00121 } +00122 +00123 void ClocksWidget::pause() +00124 { +00125 if(status_ == WhiteTurn) +00126 { +00127 status_= WhitePause; +00128 white_->pauseTurn(); +00129 pauseLabel_->setVisible(true); +00130 pauseButton_->setVisible(false); +00131 keeper_->keepScreenLit(false); +00132 +00133 } +00134 else if( status_ == BlackTurn) +00135 { +00136 status_ = BlackPause; +00137 black_->pauseTurn(); +00138 pauseLabel_->setVisible(true); +00139 pauseButton_->setVisible(false); +00140 keeper_->keepScreenLit(false); +00141 } +00142 } +00143 +00144 void ClocksWidget::stopPlay() +00145 { +00146 if( status_ == BlackTurn || status_ == BlackPause ) +00147 emit TurnFinished( black_->endTurn()); +00148 else if( status_ == WhiteTurn || status_ == WhitePause ) +00149 emit TurnFinished( white_->endTurn()); +00150 status_ = Stopped; +00151 } +00152 +00153 void ClocksWidget::saveScreen() +00154 { +00155 keeper_->keepScreenLit(false); +00156 } +00157 +00158 +00159 void ClocksWidget::mouseReleaseEvent(QMouseEvent *event) +00160 { +00161 +00162 // To avoid double clicks +00163 // a) delay (default 1,2 secs) OR +00164 // b) distance more than 90 pixels in axis. +00165 if( delayTimer_.elapsed() > CLICKDELAY || +00166 std::abs( event->x() - recentX ) > 90 || +00167 std::abs( event->y() - recentY ) > 90 +00168 ) +00169 { +00170 delayTimer_.start(); // to reset delay timer! +00171 switch( status_) +00172 { +00173 case Welcome : +00174 // Start game! +00175 welcomeLabel_->setVisible(false); +00176 pauseButton_->setVisible(true); +00177 keeper_->keepScreenLit(true); +00178 white_->startTurn(); +00179 status_ = WhiteTurn; +00180 break; +00181 case WhiteTurn: +00182 // White turn finished, then black +00183 emit TurnFinished( white_->endTurn()); +00184 black_->startTurn(); +00185 status_=BlackTurn; +00186 break; +00187 case BlackTurn: +00188 // Black finished, then white +00189 emit TurnFinished( black_->endTurn()); +00190 white_->startTurn(); 00191 status_=WhiteTurn; 00192 break; -00193 case BlackPause: +00193 case WhitePause: 00194 // Continue play -00195 keeper_->keepScreenLit(false); +00195 keeper_->keepScreenLit(true); 00196 pauseLabel_->setVisible(false); 00197 pauseButton_->setVisible(true); -00198 black_->continueTurn(); -00199 status_=BlackTurn; +00198 white_->continueTurn(); +00199 status_=WhiteTurn; 00200 break; -00201 case Stopped: -00202 emit ClickedWhenStopped(); -00203 -00204 -00205 } -00206 } -00207 recentX = event->x(); -00208 recentY = event->y(); -00209 } -00210 -00211 // to grap clicking pause or welcome label -00212 bool ClocksWidget::eventFilter(QObject *obj, QEvent *event) -00213 { -00214 if (event->type() == QEvent::MouseButtonRelease) { -00215 QMouseEvent *mEvent = static_cast<QMouseEvent *>(event); -00216 mouseReleaseEvent( mEvent ); -00217 return true; -00218 } else { -00219 // standard event processing -00220 return QObject::eventFilter(obj, event); -00221 } -00222 } -00223 -00224 -00225 int const ClocksWidget::CLICKDELAY; +00201 case BlackPause: +00202 // Continue play +00203 keeper_->keepScreenLit(true); +00204 pauseLabel_->setVisible(false); +00205 pauseButton_->setVisible(true); +00206 black_->continueTurn(); +00207 status_=BlackTurn; +00208 break; +00209 case Stopped: +00210 emit ClickedWhenStopped(); +00211 +00212 +00213 } +00214 } +00215 recentX = event->x(); +00216 recentY = event->y(); +00217 } +00218 +00219 // to grap clicking pause or welcome label +00220 bool ClocksWidget::eventFilter(QObject *obj, QEvent *event) +00221 { +00222 if (event->type() == QEvent::MouseButtonRelease) { +00223 QMouseEvent *mEvent = static_cast<QMouseEvent *>(event); +00224 mouseReleaseEvent( mEvent ); +00225 return true; +00226 } else { +00227 // standard event processing +00228 return QObject::eventFilter(obj, event); +00229 } +00230 } +00231 +00232 +00233 int const ClocksWidget::CLICKDELAY;
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8h.html b/www/html/clockswidget_8h.html index 0a309b4..80f3d4a 100644 --- a/www/html/clockswidget_8h.html +++ b/www/html/clockswidget_8h.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8h_source.html b/www/html/clockswidget_8h_source.html index 9e3a5b7..94eaaea 100644 --- a/www/html/clockswidget_8h_source.html +++ b/www/html/clockswidget_8h_source.html @@ -98,34 +98,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00064 public slots: 00066 void pause(); 00068 void stopPlay(); -00069 -00070 protected: -00071 ChessClock* white_; -00072 ChessClock* black_; -00073 -00074 QLabel* pauseLabel_; -00075 QLabel* welcomeLabel_; -00076 QToolButton* pauseButton_; -00077 ScreenLitKeeper* keeper_; -00078 -00079 enum GameStatus { -00080 Stopped , -00081 WhiteTurn, -00082 BlackTurn, -00083 WhitePause, -00084 BlackPause, -00085 Welcome -00086 }; -00087 -00088 GameStatus status_; -00089 QTime delayTimer_; -00091 int recentX; -00092 int recentY; -00093 -00094 static int const CLICKDELAY = 1500 ; -00098 }; -00099 -00100 #endif // CLOCKSWIDGET_H +00070 void saveScreen(); +00071 +00072 protected: +00073 ChessClock* white_; +00074 ChessClock* black_; +00075 +00076 QLabel* pauseLabel_; +00077 QLabel* welcomeLabel_; +00078 QToolButton* pauseButton_; +00079 ScreenLitKeeper* keeper_; +00080 +00081 enum GameStatus { +00082 Stopped , +00083 WhiteTurn, +00084 BlackTurn, +00085 WhitePause, +00086 BlackPause, +00087 Welcome +00088 }; +00089 +00090 GameStatus status_; +00091 QTime delayTimer_; +00093 int recentX; +00094 int recentY; +00095 +00096 static int const CLICKDELAY = 1500 ; +00100 }; +00101 +00102 #endif // CLOCKSWIDGET_H
-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8cpp.html b/www/html/delayafterclock_8cpp.html index b58ba89..24db6e2 100644 --- a/www/html/delayafterclock_8cpp.html +++ b/www/html/delayafterclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8cpp_source.html b/www/html/delayafterclock_8cpp_source.html index 98a442d..2f5ca7c 100644 --- a/www/html/delayafterclock_8cpp_source.html +++ b/www/html/delayafterclock_8cpp_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8h.html b/www/html/delayafterclock_8h.html index 2a3306e..a49f8b9 100644 --- a/www/html/delayafterclock_8h.html +++ b/www/html/delayafterclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8h_source.html b/www/html/delayafterclock_8h_source.html index ab2fec0..d6e42ae 100644 --- a/www/html/delayafterclock_8h_source.html +++ b/www/html/delayafterclock_8h_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8cpp.html b/www/html/delayaftertimecontrol_8cpp.html index 31514de..58f481c 100644 --- a/www/html/delayaftertimecontrol_8cpp.html +++ b/www/html/delayaftertimecontrol_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8cpp_source.html b/www/html/delayaftertimecontrol_8cpp_source.html index 6e2b11e..2467793 100644 --- a/www/html/delayaftertimecontrol_8cpp_source.html +++ b/www/html/delayaftertimecontrol_8cpp_source.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8h.html b/www/html/delayaftertimecontrol_8h.html index 45b2580..3afb700 100644 --- a/www/html/delayaftertimecontrol_8h.html +++ b/www/html/delayaftertimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8h_source.html b/www/html/delayaftertimecontrol_8h_source.html index da61e7d..a1534b8 100644 --- a/www/html/delayaftertimecontrol_8h_source.html +++ b/www/html/delayaftertimecontrol_8h_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8cpp.html b/www/html/delayclock_8cpp.html index e9279dc..f51a154 100644 --- a/www/html/delayclock_8cpp.html +++ b/www/html/delayclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8cpp_source.html b/www/html/delayclock_8cpp_source.html index e228d0f..029a7e8 100644 --- a/www/html/delayclock_8cpp_source.html +++ b/www/html/delayclock_8cpp_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8h.html b/www/html/delayclock_8h.html index 7cdd286..5839a25 100644 --- a/www/html/delayclock_8h.html +++ b/www/html/delayclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8h_source.html b/www/html/delayclock_8h_source.html index dc99e3a..cc8e630 100644 --- a/www/html/delayclock_8h_source.html +++ b/www/html/delayclock_8h_source.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8cpp.html b/www/html/delaytimecontrol_8cpp.html index 2997a6e..0fd6512 100644 --- a/www/html/delaytimecontrol_8cpp.html +++ b/www/html/delaytimecontrol_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8cpp_source.html b/www/html/delaytimecontrol_8cpp_source.html index 55efc5f..fafa24e 100644 --- a/www/html/delaytimecontrol_8cpp_source.html +++ b/www/html/delaytimecontrol_8cpp_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8h.html b/www/html/delaytimecontrol_8h.html index 891c577..b6cad43 100644 --- a/www/html/delaytimecontrol_8h.html +++ b/www/html/delaytimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8h_source.html b/www/html/delaytimecontrol_8h_source.html index 3f75a31..b3ac2e0 100644 --- a/www/html/delaytimecontrol_8h_source.html +++ b/www/html/delaytimecontrol_8h_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/files.html b/www/html/files.html index c8c9cd8..ad31764 100644 --- a/www/html/files.html +++ b/www/html/files.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8cpp.html b/www/html/fischerafterclock_8cpp.html index c8f308c..e3ce2fc 100644 --- a/www/html/fischerafterclock_8cpp.html +++ b/www/html/fischerafterclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8cpp_source.html b/www/html/fischerafterclock_8cpp_source.html index 524eaed..439fe70 100644 --- a/www/html/fischerafterclock_8cpp_source.html +++ b/www/html/fischerafterclock_8cpp_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8h.html b/www/html/fischerafterclock_8h.html index 5333035..23df85c 100644 --- a/www/html/fischerafterclock_8h.html +++ b/www/html/fischerafterclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8h_source.html b/www/html/fischerafterclock_8h_source.html index ed263de..1861965 100644 --- a/www/html/fischerafterclock_8h_source.html +++ b/www/html/fischerafterclock_8h_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8cpp.html b/www/html/fischeraftertimecontrol_8cpp.html index 785517a..f5c7e8e 100644 --- a/www/html/fischeraftertimecontrol_8cpp.html +++ b/www/html/fischeraftertimecontrol_8cpp.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8cpp_source.html b/www/html/fischeraftertimecontrol_8cpp_source.html index 9268b31..26c7e88 100644 --- a/www/html/fischeraftertimecontrol_8cpp_source.html +++ b/www/html/fischeraftertimecontrol_8cpp_source.html @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8h.html b/www/html/fischeraftertimecontrol_8h.html index 2ba3715..bfbd4d5 100644 --- a/www/html/fischeraftertimecontrol_8h.html +++ b/www/html/fischeraftertimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8h_source.html b/www/html/fischeraftertimecontrol_8h_source.html index c8332bd..bbc99cf 100644 --- a/www/html/fischeraftertimecontrol_8h_source.html +++ b/www/html/fischeraftertimecontrol_8h_source.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8cpp.html b/www/html/fischerclock_8cpp.html index c1aa2d0..cbc1463 100644 --- a/www/html/fischerclock_8cpp.html +++ b/www/html/fischerclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8cpp_source.html b/www/html/fischerclock_8cpp_source.html index 9e80da3..d98fcc2 100644 --- a/www/html/fischerclock_8cpp_source.html +++ b/www/html/fischerclock_8cpp_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8h.html b/www/html/fischerclock_8h.html index e75aa22..3c61273 100644 --- a/www/html/fischerclock_8h.html +++ b/www/html/fischerclock_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8h_source.html b/www/html/fischerclock_8h_source.html index 4a66924..613c62e 100644 --- a/www/html/fischerclock_8h_source.html +++ b/www/html/fischerclock_8h_source.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8cpp.html b/www/html/fischertimecontrol_8cpp.html index 9d34bf1..aaf99df 100644 --- a/www/html/fischertimecontrol_8cpp.html +++ b/www/html/fischertimecontrol_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8cpp_source.html b/www/html/fischertimecontrol_8cpp_source.html index 8a346c1..01e9b11 100644 --- a/www/html/fischertimecontrol_8cpp_source.html +++ b/www/html/fischertimecontrol_8cpp_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8h.html b/www/html/fischertimecontrol_8h.html index 9bea1ab..3333d7e 100644 --- a/www/html/fischertimecontrol_8h.html +++ b/www/html/fischertimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8h_source.html b/www/html/fischertimecontrol_8h_source.html index 1a9c590..d2631ed 100644 --- a/www/html/fischertimecontrol_8h_source.html +++ b/www/html/fischertimecontrol_8h_source.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions.html b/www/html/functions.html index 5ef78af..11643f1 100644 --- a/www/html/functions.html +++ b/www/html/functions.html @@ -54,27 +54,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -109,576 +109,6 @@ Here is a list of all class members with links to the classes they belong to: : ChessClock - - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- g -

- - -

- h -

- - -

- i -

- - -

- k -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- p -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- ~ -

-
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions_enum.html b/www/html/functions_enum.html index 90f9b05..4907639 100644 --- a/www/html/functions_enum.html +++ b/www/html/functions_enum.html @@ -77,7 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions_eval.html b/www/html/functions_eval.html index c0652be..bd8b24e 100644 --- a/www/html/functions_eval.html +++ b/www/html/functions_eval.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions_func.html b/www/html/functions_func.html index 4cf8c8f..fa2a85d 100644 --- a/www/html/functions_func.html +++ b/www/html/functions_func.html @@ -154,6 +154,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • disableUnEquals() : BasicDialog
  • +
  • dontEatBattery() +: ChessClock +
  • +
  • dontEatMemory() +: ChessClockWindow +
  • @@ -166,6 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • eventFilter() : ClocksWidget +, ChessClockWindow
  • @@ -361,6 +368,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - s -

      +
    • saveScreen() +: ClocksWidget +
    • ScreenLitKeeper() : ScreenLitKeeper
    • @@ -471,7 +481,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
      Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
      Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/functions_vars.html b/www/html/functions_vars.html index 14be90e..7300f9e 100644 --- a/www/html/functions_vars.html +++ b/www/html/functions_vars.html @@ -133,6 +133,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • delayTimer_ : ClocksWidget
    • +
    • dontEatBatteryEmitted_ +: ChessClock +
    • +
    • DONTEATBATTERYTIME +: ChessClock +
    • duration_ : TurnInformation
    • @@ -338,7 +344,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
      Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
      Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/globals.html b/www/html/globals.html index d72b5db..14a6894 100644 --- a/www/html/globals.html +++ b/www/html/globals.html @@ -70,7 +70,7 @@ Here is a list of all file members with links to the files they belong to:
        -
        Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/globals_func.html b/www/html/globals_func.html index c4b1d32..2cc4074 100644 --- a/www/html/globals_func.html +++ b/www/html/globals_func.html @@ -70,7 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hierarchy.html b/www/html/hierarchy.html index 2eb8d43..4b7d9c6 100644 --- a/www/html/hierarchy.html +++ b/www/html/hierarchy.html @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglassclock_8cpp.html b/www/html/hourglassclock_8cpp.html index e15f10e..86fb677 100644 --- a/www/html/hourglassclock_8cpp.html +++ b/www/html/hourglassclock_8cpp.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglassclock_8cpp_source.html b/www/html/hourglassclock_8cpp_source.html index 7579c7c..8ee0c3a 100644 --- a/www/html/hourglassclock_8cpp_source.html +++ b/www/html/hourglassclock_8cpp_source.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglassclock_8h.html b/www/html/hourglassclock_8h.html index 9f1defa..c27a5dd 100644 --- a/www/html/hourglassclock_8h.html +++ b/www/html/hourglassclock_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglassclock_8h_source.html b/www/html/hourglassclock_8h_source.html index cb52210..0acac11 100644 --- a/www/html/hourglassclock_8h_source.html +++ b/www/html/hourglassclock_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglasstimecontrol_8cpp.html b/www/html/hourglasstimecontrol_8cpp.html index 68a83e1..241bc15 100644 --- a/www/html/hourglasstimecontrol_8cpp.html +++ b/www/html/hourglasstimecontrol_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglasstimecontrol_8cpp_source.html b/www/html/hourglasstimecontrol_8cpp_source.html index c6b6015..9b1986c 100644 --- a/www/html/hourglasstimecontrol_8cpp_source.html +++ b/www/html/hourglasstimecontrol_8cpp_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglasstimecontrol_8h.html b/www/html/hourglasstimecontrol_8h.html index 6497abc..c77771d 100644 --- a/www/html/hourglasstimecontrol_8h.html +++ b/www/html/hourglasstimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/hourglasstimecontrol_8h_source.html b/www/html/hourglasstimecontrol_8h_source.html index e8c95d7..b799292 100644 --- a/www/html/hourglasstimecontrol_8h_source.html +++ b/www/html/hourglasstimecontrol_8h_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/index.html b/www/html/index.html index bf6d6db..408065b 100644 --- a/www/html/index.html +++ b/www/html/index.html @@ -45,7 +45,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

        Copyright © Arto Hyvättinen 2010

        Chess Clock is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

        Chess Clock is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

        -
        Todo:
        Game log
        +
        Todo:
        Game log
        -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/main_8cpp.html b/www/html/main_8cpp.html index a142c3a..5d888fa 100644 --- a/www/html/main_8cpp.html +++ b/www/html/main_8cpp.html @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/main_8cpp_source.html b/www/html/main_8cpp_source.html index e67b6aa..e9c14dd 100644 --- a/www/html/main_8cpp_source.html +++ b/www/html/main_8cpp_source.html @@ -73,7 +73,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00056 a.setApplicationName( a.tr("Chess Clock","Application name") ); 00057 a.setOrganizationName("Chess Clock"); 00058 a.setOrganizationDomain("chessclock.garage.maemo.org"); -00059 a.setApplicationVersion("1.1.0"); +00059 a.setApplicationVersion("1.1.2"); 00060 00061 ChessClockWindow w; 00062 @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/notimecontrol_8cpp.html b/www/html/notimecontrol_8cpp.html index cd425d3..3681e6e 100644 --- a/www/html/notimecontrol_8cpp.html +++ b/www/html/notimecontrol_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/notimecontrol_8cpp_source.html b/www/html/notimecontrol_8cpp_source.html index b4ef259..81ada19 100644 --- a/www/html/notimecontrol_8cpp_source.html +++ b/www/html/notimecontrol_8cpp_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/notimecontrol_8h.html b/www/html/notimecontrol_8h.html index c6937eb..7178f9f 100644 --- a/www/html/notimecontrol_8h.html +++ b/www/html/notimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/notimecontrol_8h_source.html b/www/html/notimecontrol_8h_source.html index 9f3ddc4..a33954f 100644 --- a/www/html/notimecontrol_8h_source.html +++ b/www/html/notimecontrol_8h_source.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/pages.html b/www/html/pages.html index 61f923c..6c5adde 100644 --- a/www/html/pages.html +++ b/www/html/pages.html @@ -57,7 +57,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/screenlitkeeper_8cpp.html b/www/html/screenlitkeeper_8cpp.html index af54427..a40d856 100644 --- a/www/html/screenlitkeeper_8cpp.html +++ b/www/html/screenlitkeeper_8cpp.html @@ -64,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/screenlitkeeper_8cpp_source.html b/www/html/screenlitkeeper_8cpp_source.html index f5c253a..c4d1b98 100644 --- a/www/html/screenlitkeeper_8cpp_source.html +++ b/www/html/screenlitkeeper_8cpp_source.html @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/screenlitkeeper_8h.html b/www/html/screenlitkeeper_8h.html index d020c27..8f1ac54 100644 --- a/www/html/screenlitkeeper_8h.html +++ b/www/html/screenlitkeeper_8h.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/screenlitkeeper_8h_source.html b/www/html/screenlitkeeper_8h_source.html index faf7746..8df27ae 100644 --- a/www/html/screenlitkeeper_8h_source.html +++ b/www/html/screenlitkeeper_8h_source.html @@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
        Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  +
        Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3
        diff --git a/www/html/search/all_64.html b/www/html/search/all_64.html index f364a7c..ce62958 100644 --- a/www/html/search/all_64.html +++ b/www/html/search/all_64.html @@ -116,9 +116,33 @@ BasicDialog +
        +
        + dontEatBattery + ChessClock +
        +
        +
        +
        + dontEatBatteryEmitted_ + ChessClock +
        +
        +
        +
        + DONTEATBATTERYTIME + ChessClock +
        +
        +
        +
        + dontEatMemory + ChessClockWindow +
        +
        - duration_ + duration_ TurnInformation
        diff --git a/www/html/search/all_65.html b/www/html/search/all_65.html index cae06e9..da1816c 100644 --- a/www/html/search/all_65.html +++ b/www/html/search/all_65.html @@ -32,8 +32,11 @@
        Searching...
        diff --git a/www/html/search/all_73.html b/www/html/search/all_73.html index 3f80614..ed6218d 100644 --- a/www/html/search/all_73.html +++ b/www/html/search/all_73.html @@ -7,131 +7,137 @@
        Loading...
        +
        +
        + saveScreen + ClocksWidget +
        +
        - selectControl + selectControl StartWidget
        - selected + selected StartWidget
        - setAnother + setAnother ChessClock
        - setEquals + setEquals BasicDialog
        - setGreenTime + setGreenTime ChessClockWidget
        - stack_ + stack_ ChessClockWindow
        - start_ + start_ ChessClockWindow
        - startGame + startGame ChessClockWindow
        - Stopped + Stopped ClocksWidget
        - stopPlay + stopPlay ClocksWidget
        - store + store BasicDialog
        diff --git a/www/html/search/functions_64.html b/www/html/search/functions_64.html index a1c46c7..34cf690 100644 --- a/www/html/search/functions_64.html +++ b/www/html/search/functions_64.html @@ -49,6 +49,18 @@ BasicDialog
        +
        +
        + dontEatBattery + ChessClock +
        +
        +
        +
        + dontEatMemory + ChessClockWindow +
        +
        Searching...
        No Matches