kmilo
Demo Class Reference
#include <demo.h>
Inheritance diagram for Demo:

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 | |||
| ) |
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.
| 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.
| 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.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference