Applets
Battery Class Reference
#include <battery.h>
Inheritance diagram for Battery:

Detailed Description
Definition at line 38 of file battery.h.
Public Slots | |
| void | dataUpdated (const QString &name, const Plasma::DataEngine::Data &data) |
Public Member Functions | |
| Battery (QObject *parent, const QVariantList &args) | |
| void | constraintsEvent (Plasma::Constraints constraints) |
| QSizeF | contentSizeHint () const |
| Qt::Orientations | expandingDirections () const |
| void | init () |
| void | paintInterface (QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &contents) |
| void | setPath (const QString &) |
| ~Battery () | |
Protected Slots | |
| void | configAccepted () |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
| void | readColors () |
Protected Member Functions | |
| void | createConfigurationInterface (KConfigDialog *parent) |
Constructor & Destructor Documentation
| Battery::Battery | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Definition at line 43 of file battery.cpp.
| Battery::~Battery | ( | ) |
Definition at line 228 of file battery.cpp.
Member Function Documentation
| void Battery::configAccepted | ( | ) | [protected, slot] |
Definition at line 154 of file battery.cpp.
| void Battery::constraintsEvent | ( | Plasma::Constraints | constraints | ) |
Definition at line 109 of file battery.cpp.
| QSizeF Battery::contentSizeHint | ( | ) | const |
| void Battery::createConfigurationInterface | ( | KConfigDialog * | parent | ) | [protected] |
Definition at line 141 of file battery.cpp.
| void Battery::dataUpdated | ( | const QString & | name, | |
| const Plasma::DataEngine::Data & | data | |||
| ) | [slot] |
Definition at line 128 of file battery.cpp.
| Qt::Orientations Battery::expandingDirections | ( | ) | const |
| void Battery::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual, slot] |
Definition at line 208 of file battery.cpp.
| void Battery::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual, slot] |
Definition at line 217 of file battery.cpp.
| void Battery::init | ( | ) |
Definition at line 67 of file battery.cpp.
| void Battery::paintInterface | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| const QRect & | contents | |||
| ) |
Definition at line 469 of file battery.cpp.
| void Battery::readColors | ( | ) | [protected, slot] |
Definition at line 201 of file battery.cpp.
| void Battery::setPath | ( | const QString & | ) |
The documentation for this class was generated from the following files:
KDE 4.1 API Reference