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 |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Protected Slots | |
virtual void | fire () |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
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.
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.