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

Engines

TimeEngine Class Reference

This engine provides the current date and time for a given timezone. More...

#include <timeengine.h>

Inheritance diagram for TimeEngine:

Inheritance graph
[legend]

List of all members.


Public Member Functions

void init ()
QStringList sources () const
 TimeEngine (QObject *parent, const QVariantList &args)

Protected Member Functions

bool sourceRequestEvent (const QString &name)
bool updateSourceEvent (const QString &source)

Detailed Description

This engine provides the current date and time for a given timezone.

"Local" is a special source that is an alias for the current timezone.

Definition at line 32 of file timeengine.h.


Constructor & Destructor Documentation

TimeEngine::TimeEngine ( QObject *  parent,
const QVariantList &  args 
)

Definition at line 37 of file timeengine.cpp.


Member Function Documentation

void TimeEngine::init (  ) 

Definition at line 48 of file timeengine.cpp.

bool TimeEngine::sourceRequestEvent ( const QString &  name  )  [protected]

Definition at line 62 of file timeengine.cpp.

QStringList TimeEngine::sources (  )  const

Definition at line 55 of file timeengine.cpp.

bool TimeEngine::updateSourceEvent ( const QString &  source  )  [protected]

Definition at line 67 of file timeengine.cpp.


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

Engines

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

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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