#include <tobackground.h>
Inheritance diagram for toTimer:

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 |
Definition at line 45 of file tobackground.h.
| toTimer::toTimer | ( | QObject * | parent = 0, |
|
| const char * | name = 0 | |||
| ) | [inline] |
Create timer.
| parent | Parent object of timer. | |
| name | Name of timer. |
Definition at line 52 of file tobackground.h.
00053 : QTimer(parent,name) 00054 { }
| int toTimer::start | ( | int | msec, | |
| bool | sshot = false | |||
| ) | [inline] |
Start timer.
| 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.
Definition at line 64 of file tobackground.h.
References LastTimer.
00065 { return LastTimer; }
int toTimer::LastTimer [private] |
1.5.1