ktimer
#include <ktimer.h>

Public Types | |
| enum | States { Stopped, Paused, Started } |
Public Slots | |
| void | pause () |
| void | setCommand (const QString &cmd) |
| void | setDelay (unsigned int sec) |
| void | setDelay (int sec) |
| void | setLoop (bool loop) |
| void | setOneInstance (bool one) |
| void | setState (States state) |
| void | setValue (unsigned int value) |
| void | setValue (int value) |
| void | start () |
| void | stop () |
Signals | |
| void | changed (KTimerJob *job) |
| void | commandChanged (KTimerJob *job, const QString &cmd) |
| void | delayChanged (KTimerJob *job, unsigned int sec) |
| void | error (KTimerJob *job) |
| void | finished (KTimerJob *job, bool error) |
| void | fired (KTimerJob *job) |
| void | loopChanged (KTimerJob *job, bool loop) |
| void | oneInstanceChanged (KTimerJob *job, bool one) |
| void | stateChanged (KTimerJob *job, States state) |
| void | valueChanged (KTimerJob *job, unsigned int value) |
Public Member Functions | |
| KTimerJob (QObject *parent=0) | |
| virtual | ~KTimerJob () |
| QString | command () const |
| unsigned | delay () const |
| QString | formatTime (int seconds) const |
| void | load (KConfig *cfg, const QString &grp) |
| bool | loop () const |
| bool | oneInstance () const |
| void | save (KConfig *cfg, const QString &grp) |
| void | secondsToHMS (int secs, int *hours, int *minutes, int *seconds) const |
| void | setUser (void *user) |
| States | state () const |
| int | timeToSeconds (int hours, int minutes, int seconds) const |
| void * | user () |
| unsigned | value () const |
Protected Slots | |
| virtual void | fire () |
Detailed Description
Member Enumeration Documentation
| enum KTimerJob::States |
Constructor & Destructor Documentation
| KTimerJob::KTimerJob | ( | QObject * | parent = 0 | ) |
Definition at line 358 of file ktimer.cpp.
|
virtual |
Definition at line 375 of file ktimer.cpp.
Member Function Documentation
|
signal |
| QString KTimerJob::command | ( | ) | const |
Definition at line 486 of file ktimer.cpp.
|
signal |
| unsigned KTimerJob::delay | ( | ) | const |
Definition at line 441 of file ktimer.cpp.
|
signal |
|
signal |
|
signal |
|
protectedvirtualslot |
Definition at line 604 of file ktimer.cpp.
|
signal |
| QString KTimerJob::formatTime | ( | int | seconds | ) | const |
Definition at line 404 of file ktimer.cpp.
| void KTimerJob::load | ( | KConfig * | cfg, |
| const QString & | grp | ||
| ) |
Definition at line 392 of file ktimer.cpp.
| bool KTimerJob::loop | ( | ) | const |
Definition at line 502 of file ktimer.cpp.
|
signal |
| bool KTimerJob::oneInstance | ( | ) | const |
Definition at line 518 of file ktimer.cpp.
|
signal |
|
slot |
Definition at line 447 of file ktimer.cpp.
| void KTimerJob::save | ( | KConfig * | cfg, |
| const QString & | grp | ||
| ) |
Definition at line 381 of file ktimer.cpp.
| void KTimerJob::secondsToHMS | ( | int | secs, |
| int * | hours, | ||
| int * | minutes, | ||
| int * | seconds | ||
| ) | const |
Definition at line 420 of file ktimer.cpp.
|
slot |
Definition at line 492 of file ktimer.cpp.
|
slot |
|
slot |
Definition at line 462 of file ktimer.cpp.
|
slot |
Definition at line 508 of file ktimer.cpp.
|
slot |
Definition at line 524 of file ktimer.cpp.
|
slot |
Definition at line 556 of file ktimer.cpp.
| void KTimerJob::setUser | ( | void * | user | ) |
Definition at line 435 of file ktimer.cpp.
|
slot |
|
slot |
Definition at line 467 of file ktimer.cpp.
|
slot |
Definition at line 457 of file ktimer.cpp.
| KTimerJob::States KTimerJob::state | ( | ) | const |
Definition at line 550 of file ktimer.cpp.
|
slot |
Definition at line 452 of file ktimer.cpp.
| int KTimerJob::timeToSeconds | ( | int | hours, |
| int | minutes, | ||
| int | seconds | ||
| ) | const |
Definition at line 413 of file ktimer.cpp.
| void * KTimerJob::user | ( | ) |
Definition at line 429 of file ktimer.cpp.
| unsigned KTimerJob::value | ( | ) | const |
Definition at line 534 of file ktimer.cpp.
|
signal |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference