class toTimer

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

Definition#include <tobackground.h>
InheritsQTimer (qt) [public ]
Inherited bytoBackground
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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

 toTimer (QObject *parent=0,const char * name=0)

toTimer

Create timer.

Parameters:
parentParent object of timer.
nameName of timer.

int  start (int msec,bool sshot=false)

start

Start timer.

Parameters:
msecMilliseconds to timeout.
sshotSet to true if only timeout once.

Reimplemented from QTimer.

int  lastTimer (void)

lastTimer

Get last timer start timeout.

Returns: Last timeout in millisecond.