kmilo
PowerBookMonitor Class Reference
#include <pb_monitor.h>
Inheritance diagram for PowerBookMonitor:

Detailed Description
Definition at line 27 of file pb_monitor.h.
Public Member Functions | |
| PowerBookMonitor (QObject *parent, const char *name, const QStringList &) | |
| virtual | ~PowerBookMonitor () |
| virtual bool | init () |
| virtual DisplayType | poll () |
| virtual int | progress () const |
Constructor & Destructor Documentation
| PowerBookMonitor::PowerBookMonitor | ( | QObject * | parent, | |
| const char * | name, | |||
| const QStringList & | ||||
| ) |
| virtual PowerBookMonitor::~PowerBookMonitor | ( | ) | [virtual] |
Member Function Documentation
| virtual bool PowerBookMonitor::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.
| virtual DisplayType PowerBookMonitor::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.
| virtual int PowerBookMonitor::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 file:
KDE 4.0 API Reference