#include <kgamelcd.h>


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) | |
| ~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 122 of file kgamelcd.h.
| KGameLCDClock::KGameLCDClock | ( | QWidget * | parent = 0 |
) |
| KGameLCDClock::~KGameLCDClock | ( | ) |
Definition at line 121 of file kgamelcd.cpp.
| uint KGameLCDClock::seconds | ( | ) | const |
| QString KGameLCDClock::pretty | ( | ) | const |
| void KGameLCDClock::setTime | ( | uint | seconds | ) |
| void KGameLCDClock::setTime | ( | const QString & | s | ) |
Set the time (format should be "mm:ss").
Definition at line 179 of file kgamelcd.cpp.
References setTime().

| void KGameLCDClock::reset | ( | ) | [virtual, slot] |
| void KGameLCDClock::stop | ( | ) | [virtual, slot] |
| void KGameLCDClock::start | ( | ) | [virtual, slot] |
| void KGameLCDClock::timeoutClock | ( | ) | [protected, virtual, slot] |
1.5.3