toTimer Class Reference

#include <tobackground.h>

Inheritance diagram for toTimer:

QTimer toBackground

Public Member Functions

 toTimer (QObject *parent=0, const char *name=0)
int start (int msec, bool sshot=false)
int lastTimer (void)

Private Attributes

int LastTimer

Detailed Description

A timer descendant which also keep track of the last timer setting sent to it.

Definition at line 45 of file tobackground.h.


Constructor & Destructor Documentation

toTimer::toTimer ( QObject parent = 0,
const char *  name = 0 
) [inline]

Create timer.

Parameters:
parent Parent object of timer.
name Name of timer.

Definition at line 52 of file tobackground.h.

00053     : QTimer(parent,name)
00054   { }


Member Function Documentation

int toTimer::start ( int  msec,
bool  sshot = false 
) [inline]

Start timer.

Parameters:
msec Milliseconds to timeout.
sshot Set to true if only timeout once.

Definition at line 59 of file tobackground.h.

References LastTimer, and start.

00060   { LastTimer=msec; return QTimer::start(msec,sshot); }

int toTimer::lastTimer ( void   )  [inline]

Get last timer start timeout.

Returns:
Last timeout in millisecond.

Definition at line 64 of file tobackground.h.

References LastTimer.

00065   { return LastTimer; }


Field Documentation

int toTimer::LastTimer [private]

Definition at line 46 of file tobackground.h.

Referenced by lastTimer(), and start().


The documentation for this class was generated from the following file:
Generated on Sat Dec 15 00:02:22 2007 for BulmaGes by  doxygen 1.5.1