• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

ktimer

KTimerJob Class Reference

#include <ktimer.h>

Inheritance diagram for KTimerJob:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 30 of file ktimer.h.


Public Types

enum  States { Stopped, Paused, Started }

Public Slots

void pause ()
void setCommand (const QString &cmd)
void setDelay (int sec)
void setDelay (unsigned int sec)
void setLoop (bool loop)
void setOneInstance (bool one)
void setState (States state)
void setValue (int value)
void setValue (unsigned 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

QString command () const
unsigned delay () const
 KTimerJob (QObject *parent=0)
void load (KConfig *cfg, const QString &grp)
bool loop () const
bool oneInstance () const
void save (KConfig *cfg, const QString &grp)
void setUser (void *user)
States state () const
void * user ()
unsigned value () const
virtual ~KTimerJob ()

Protected Slots

virtual void fire ()

Member Enumeration Documentation

enum KTimerJob::States

Enumerator:
Stopped 
Paused 
Started 

Definition at line 37 of file ktimer.h.


Constructor & Destructor Documentation

KTimerJob::KTimerJob ( QObject *  parent = 0  ) 

Definition at line 316 of file ktimer.cpp.

KTimerJob::~KTimerJob (  )  [virtual]

Definition at line 333 of file ktimer.cpp.


Member Function Documentation

void KTimerJob::changed ( KTimerJob *  job  )  [signal]

QString KTimerJob::command (  )  const

Definition at line 418 of file ktimer.cpp.

void KTimerJob::commandChanged ( KTimerJob *  job,
const QString &  cmd 
) [signal]

unsigned KTimerJob::delay (  )  const

Definition at line 373 of file ktimer.cpp.

void KTimerJob::delayChanged ( KTimerJob *  job,
unsigned int  sec 
) [signal]

void KTimerJob::error ( KTimerJob *  job  )  [signal]

void KTimerJob::finished ( KTimerJob *  job,
bool  error 
) [signal]

void KTimerJob::fire (  )  [protected, virtual, slot]

Definition at line 536 of file ktimer.cpp.

void KTimerJob::fired ( KTimerJob *  job  )  [signal]

void KTimerJob::load ( KConfig *  cfg,
const QString &  grp 
)

Definition at line 350 of file ktimer.cpp.

bool KTimerJob::loop (  )  const

Definition at line 434 of file ktimer.cpp.

void KTimerJob::loopChanged ( KTimerJob *  job,
bool  loop 
) [signal]

bool KTimerJob::oneInstance (  )  const

Definition at line 450 of file ktimer.cpp.

void KTimerJob::oneInstanceChanged ( KTimerJob *  job,
bool  one 
) [signal]

void KTimerJob::pause (  )  [slot]

Definition at line 379 of file ktimer.cpp.

void KTimerJob::save ( KConfig *  cfg,
const QString &  grp 
)

Definition at line 339 of file ktimer.cpp.

void KTimerJob::setCommand ( const QString &  cmd  )  [slot]

Definition at line 424 of file ktimer.cpp.

void KTimerJob::setDelay ( int  sec  )  [slot]

Definition at line 394 of file ktimer.cpp.

void KTimerJob::setDelay ( unsigned int  sec  )  [slot]

void KTimerJob::setLoop ( bool  loop  )  [slot]

Definition at line 440 of file ktimer.cpp.

void KTimerJob::setOneInstance ( bool  one  )  [slot]

Definition at line 456 of file ktimer.cpp.

void KTimerJob::setState ( KTimerJob::States  state  )  [slot]

Definition at line 488 of file ktimer.cpp.

void KTimerJob::setUser ( void *  user  ) 

Definition at line 367 of file ktimer.cpp.

void KTimerJob::setValue ( int  value  )  [slot]

Definition at line 399 of file ktimer.cpp.

void KTimerJob::setValue ( unsigned int  value  )  [slot]

void KTimerJob::start (  )  [slot]

Definition at line 389 of file ktimer.cpp.

KTimerJob::States KTimerJob::state (  )  const

Definition at line 482 of file ktimer.cpp.

void KTimerJob::stateChanged ( KTimerJob *  job,
States  state 
) [signal]

void KTimerJob::stop (  )  [slot]

Definition at line 384 of file ktimer.cpp.

void * KTimerJob::user (  ) 

Definition at line 361 of file ktimer.cpp.

unsigned KTimerJob::value (  )  const

Definition at line 466 of file ktimer.cpp.

void KTimerJob::valueChanged ( KTimerJob *  job,
unsigned int  value 
) [signal]


The documentation for this class was generated from the following files:
  • ktimer.h
  • ktimer.cpp

ktimer

Skip menu "ktimer"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal