#include <kgamelcd.h>
Inheritance diagram for KGameLCDClock:


Public Slots | |
| virtual void | reset () |
| Stop the clock and reset it to zero. | |
| virtual void | stop () |
| Stop the clock but do not reset it to zero. | |
| virtual void | start () |
| Start the clock from the current time. | |
Public Member Functions | |
| KGameLCDClock (QWidget *parent=0, const char *name=0) | |
| ~KGameLCDClock () | |
| uint | seconds () const |
| QString | pretty () const |
| void | setTime (uint seconds) |
| Set the time. | |
| void | setTime (const QString &s) |
| Set the time (format should be "mm:ss"). | |
Protected Slots | |
| virtual void | timeoutClock () |
It has a maximum duration of 3599 seconds (one hour) and it gets updated every second.
Definition at line 126 of file kgamelcd.h.
|
||||||||||||
|
Definition at line 113 of file kgamelcd.cpp. References timeoutClock(). |
|
|
Definition at line 120 of file kgamelcd.cpp. |
|
|
Definition at line 135 of file kgamelcd.cpp. |
|
|
Stop the clock and reset it to zero.
Definition at line 147 of file kgamelcd.cpp. |
|
|
Definition at line 165 of file kgamelcd.cpp. |
|
|
Set the time (format should be "mm:ss").
Definition at line 178 of file kgamelcd.cpp. References setTime(). Here is the call graph for this function: ![]() |
|
|
Set the time.
Definition at line 170 of file kgamelcd.cpp. Referenced by setTime(). |
|
|
Start the clock from the current time.
Definition at line 155 of file kgamelcd.cpp. |
|
|
Stop the clock but do not reset it to zero.
Definition at line 160 of file kgamelcd.cpp. |
|
|
Definition at line 123 of file kgamelcd.cpp. Referenced by KGameLCDClock(). |
1.4.6