Base class of virtual controls. More...
#include <timecontrol.h>
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 ClocksWidget * | initGame (bool useLastSettings=false)=0 |
Init new game. |
Base class of virtual controls.
Definition at line 35 of file timecontrol.h.
virtual QString TimeControl::getDescription | ( | ) | [pure virtual] |
Description of the time control.
Implemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.
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] |
Name of the time control.
Implemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.
virtual ClocksWidget* TimeControl::initGame | ( | bool | useLastSettings = false |
) | [pure virtual] |
Init new game.
Ask options, and init new game.
useLastSettings | Use last settings, don't ask |
Implemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.