ChessClockWindow Class Reference

#include <chessclockwindow.h>

List of all members.

Public Slots

void startGame (TimeControl *timecontrol)
void pause ()
void newGame ()
void visitWeb ()
 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_
QStackedWidget * stack_

Detailed Description

Definition at line 33 of file chessclockwindow.h.


Constructor & Destructor Documentation

ChessClockWindow::ChessClockWindow ( QWidget *  parent = 0  ) 

Definition at line 46 of file chessclockwindow.cpp.

ChessClockWindow::~ChessClockWindow (  ) 

Definition at line 153 of file chessclockwindow.cpp.


Member Function Documentation

void ChessClockWindow::about (  )  [slot]

Definition at line 111 of file chessclockwindow.cpp.

void ChessClockWindow::aboutQt (  )  [slot]

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.

void ChessClockWindow::initTimeControls (  )  [protected]

Definition at line 129 of file chessclockwindow.cpp.

void ChessClockWindow::newGame (  )  [slot]

Definition at line 87 of file chessclockwindow.cpp.

void ChessClockWindow::pause (  )  [slot]

Definition at line 81 of file chessclockwindow.cpp.

void ChessClockWindow::startGame ( TimeControl timecontrol  )  [slot]

Definition at line 139 of file chessclockwindow.cpp.

void ChessClockWindow::visitWeb (  )  [slot]

Visit ChessClock web page.

Definition at line 104 of file chessclockwindow.cpp.


Member Data Documentation

Definition at line 62 of file chessclockwindow.h.

QStackedWidget* ChessClockWindow::stack_ [protected]

Definition at line 64 of file chessclockwindow.h.

Definition at line 63 of file chessclockwindow.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3