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

kmilo

Demo Class Reference

#include <demo.h>

Inheritance diagram for Demo:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 27 of file demo.h.


Public Member Functions

 Demo (QObject *parent, const char *name, const QStringList &)
virtual ~Demo ()
virtual bool init ()
virtual DisplayType poll ()
virtual int progress () const

Constructor & Destructor Documentation

Demo::Demo ( QObject *  parent,
const char *  name,
const QStringList &  args 
)

Definition at line 29 of file demo.cpp.

Demo::~Demo (  )  [virtual]

Definition at line 34 of file demo.cpp.


Member Function Documentation

bool Demo::init (  )  [virtual]

Called by kmilod to initialise this plugin.

The plugin must return true if its hardware is present and it should be loaded. If it returns false, it will be unloaded.

Reimplemented from KMilo::Monitor.

Definition at line 38 of file demo.cpp.

Monitor::DisplayType Demo::poll (  )  [virtual]

This is called by KMiloD when it polls.

Must return the type of event that has occurred, or None.

Reimplemented from KMilo::Monitor.

Definition at line 43 of file demo.cpp.

int Demo::progress (  )  const [virtual]

If poll() returns stating that a value has changed, this will be called by kmilod to determine the value (0.

.100) for the slider in the display, if necessary.

Reimplemented from KMilo::Monitor.

Definition at line 49 of file demo.cpp.


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

kmilo

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
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