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

Applets

Battery Class Reference

#include <battery.h>

Inheritance diagram for Battery:

Inheritance graph
[legend]

List of all members.


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)
Qt::Orientations expandingDirections () const
void init ()
void paintInterface (QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect &contents)
void popupEvent (bool show)
void setPath (const QString &)
void showBatteryLabel (bool show)
 ~Battery ()

Protected Slots

void configAccepted ()
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
void readColors ()

Protected Member Functions

void createConfigurationInterface (KConfigDialog *parent)
void setEmbedded (const bool embedded)

Detailed Description

Definition at line 44 of file battery.h.


Constructor & Destructor Documentation

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

Definition at line 64 of file battery.cpp.

Battery::~Battery (  ) 

Definition at line 275 of file battery.cpp.


Member Function Documentation

void Battery::configAccepted (  )  [protected, slot]

Definition at line 224 of file battery.cpp.

void Battery::constraintsEvent ( Plasma::Constraints  constraints  ) 

Definition at line 152 of file battery.cpp.

void Battery::createConfigurationInterface ( KConfigDialog *  parent  )  [protected]

Definition at line 213 of file battery.cpp.

void Battery::dataUpdated ( const QString &  name,
const Plasma::DataEngine::Data &  data 
) [slot]

Definition at line 190 of file battery.cpp.

Qt::Orientations Battery::expandingDirections (  )  const

void Battery::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event  )  [protected, virtual, slot]

Definition at line 255 of file battery.cpp.

void Battery::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event  )  [protected, virtual, slot]

Definition at line 264 of file battery.cpp.

void Battery::init (  ) 

Definition at line 107 of file battery.cpp.

void Battery::paintInterface ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
const QRect &  contents 
)

Definition at line 840 of file battery.cpp.

void Battery::popupEvent ( bool  show  ) 

Definition at line 479 of file battery.cpp.

void Battery::readColors (  )  [protected, slot]

Definition at line 248 of file battery.cpp.

void Battery::setEmbedded ( const bool  embedded  )  [protected]

Definition at line 311 of file battery.cpp.

void Battery::setPath ( const QString &   ) 

void Battery::showBatteryLabel ( bool  show  ) 

Definition at line 912 of file battery.cpp.


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

Applets

Skip menu "Applets"
  • 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