KGameLCDClock Class Reference
This class is a digital clock widget. More...
#include <kgamelcd.h>
Inheritance diagram for KGameLCDClock:


Public Slots | |
virtual void | reset () |
virtual void | stop () |
virtual void | start () |
Public Member Functions | |
KGameLCDClock (QWidget *parent=0, const char *name=0) | |
uint | seconds () const |
QString | pretty () const |
void | setTime (uint seconds) |
void | setTime (const QString &s) |
Protected Slots | |
virtual void | timeoutClock () |
Detailed Description
This class is a digital clock widget.It has a maximum duration of 3599 seconds (one hour) and it gets updated every second.
- Since:
- 3.2
Definition at line 126 of file kgamelcd.h.
Member Function Documentation
|
Definition at line 165 of file kgamelcd.cpp. |
|
Definition at line 135 of file kgamelcd.cpp. |
|
Set the time.
Definition at line 170 of file kgamelcd.cpp. Referenced by setTime(). |
|
Set the time (format should be "mm:ss").
Definition at line 178 of file kgamelcd.cpp. References setTime(). |
|
Stop the clock and reset it to zero.
Definition at line 147 of file kgamelcd.cpp. |
|
Stop the clock but do not reset it to zero.
Definition at line 160 of file kgamelcd.cpp. |
|
Start the clock from the current time.
Definition at line 155 of file kgamelcd.cpp. |
The documentation for this class was generated from the following files: