Logo Search packages:      
Sourcecode: tanglet version File versions  Download package

Classes | Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Attributes

Clock Class Reference

Collaboration diagram for Clock:
Collaboration graph

List of all members.


class  AllotmentTimer
class  ClassicTimer
class  DisciplineTimer
class  RefillTimer
class  StaminaTimer
class  StrikeoutTimer
class  TangletTimer
class  Timer

Public Types

enum  Mode {
  Tanglet, Classic, Refill, Stamina,
  Strikeout, Allotment, Discipline, TotalTimers


void finished ()

Public Member Functions

void addIncorrectWord (int score)
void addWord (int score)
 Clock (QWidget *parent=0)
bool isFinished () const
void setPaused (bool paused)
void setText (const QString &text)
void setTimer (int timer)
virtual QSize sizeHint () const
void start ()
void stop ()
int timer () const

Static Public Member Functions

static QString timerDescription (int timer)
static QString timerToString (int timer)

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)

Private Slots

void updateTime ()

Private Attributes

QString m_text
QTimer * m_update

Detailed Description

Definition at line 26 of file clock.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index