TimeControl Class Reference

Base class of virtual controls. More...

#include <timecontrol.h>

Inheritance diagram for TimeControl:
DelayAfterTimeControl DelayTimeControl FischerAfterTimeControl FischerTimeControl HourGlassTimeControl NoTimeControl

List of all members.

Public Member Functions

virtual QString getName ()=0
 Name of the time control.
virtual QString getDescription ()=0
 Description of the time control.
virtual QIcon getIcon ()
 Icon of the time control.
virtual ClocksWidgetinitGame (bool useLastSettings=false)=0
 Init new game.

Detailed Description

Base class of virtual controls.

Author:
Arto Hyvättinen
Date:
2010-08-15

Definition at line 35 of file timecontrol.h.


Member Function Documentation

virtual QString TimeControl::getDescription (  )  [pure virtual]
virtual QIcon TimeControl::getIcon (  )  [inline, virtual]

Icon of the time control.

Reimplemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.

Definition at line 43 of file timecontrol.h.

virtual QString TimeControl::getName (  )  [pure virtual]
virtual ClocksWidget* TimeControl::initGame ( bool  useLastSettings = false  )  [pure virtual]

Init new game.

Ask options, and init new game.

Parameters:
useLastSettings Use last settings, don't ask
Returns:
Clocks widget for new game, or NULL if unsuccess.

Implemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.


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