#include </home/clem/local/src/opie/core/applets/batteryapplet/batterystatus.h>
Collaboration diagram for BatteryStatus:

Public Member Functions | |
| BatteryStatus (const PowerStatus *s, QWidget *parent=0, WFlags f=0) | |
| ~BatteryStatus () | |
| void | UpdateBatteryStatus () |
| void | updatePercent (int) |
| QSize | sizeHint () const |
Protected Member Functions | |
| void | drawSegment (QPainter *p, const QRect &r, const QColor &topgrad, const QColor &botgrad, const QColor &highlight, int hightlight_height) |
| void | paintEvent (QPaintEvent *pe) |
| bool | getProcApmStatusIpaq () |
Private Member Functions | |
| QString | statusText () const |
| QString | statusTextIpaq () const |
Private Attributes | |
| const PowerStatus * | ps |
| int | percent |
| int | ipaqPercent |
| int | jackPercent |
| int | jackMinutes |
| QString | perc1 |
| QString | sec1 |
| QString | perc2 |
| QString | sec2 |
| QString | ipaqStatus |
| QString | jackStatus |
| QString | ipaqChem |
| QString | jackChem |
| bool | bat2 |
| bool | bat2inserted |
| int | screenWidth |
| int | screenHeight |
|
||||||||||||||||
|
Definition at line 17 of file batterystatus.cpp. References UpdateBatteryStatus(). |
|
|
Definition at line 23 of file batterystatus.cpp. |
|
||||||||||||||||||||||||||||
|
Definition at line 115 of file batterystatus.cpp. Referenced by paintEvent(). |
|
|
Definition at line 38 of file batterystatus.cpp. References QString::append(), bat2, QValueList< T >::begin(), QFile::close(), QValueList< T >::end(), IO_ReadOnly, ipaqChem, ipaqPercent, ipaqStatus, QString::isEmpty(), jackChem, jackPercent, jackStatus, list, QString::mid(), QFile::open(), perc1, perc2, QString::prepend(), QTextStream::read(), sec1, sec2, QStringList::split(), stream, QString::toInt(), tr, and warning(). Referenced by UpdateBatteryStatus(). |
|
|
Definition at line 203 of file batterystatus.cpp. References PowerStatus::acStatus(), bat2, drawSegment(), Opie::Core::ODevice::inst(), ipaqChem, jackChem, jackPercent, Opie::Core::Model_iPAQ, NULL, PowerStatus::Offline, PowerStatus::Online, p, percent, ps, statusText(), statusTextIpaq(), text, tr, TRUE, and width. |
|
|
Definition at line 270 of file batterystatus.cpp. References bat2, height, qApp, statusText(), statusTextIpaq(), text, and width. |
|
|
Definition at line 135 of file batterystatus.cpp. References PowerStatus::acStatus(), QString::append(), PowerStatus::Backup, bat2, PowerStatus::batteryPercentAccurate(), PowerStatus::batteryStatus(), PowerStatus::batteryTimeRemaining(), PowerStatus::Charging, PowerStatus::Critical, PowerStatus::High, PowerStatus::Low, PowerStatus::Offline, PowerStatus::Online, percent, ps, text, tr, and PowerStatus::VeryLow. Referenced by paintEvent(), and sizeHint(). |
|
|
Definition at line 194 of file batterystatus.cpp. References jackStatus, perc2, sec2, text, and tr. Referenced by paintEvent(), and sizeHint(). |
|
|
Definition at line 25 of file batterystatus.cpp. References PowerStatus::batteryPercentRemaining(), getProcApmStatusIpaq(), Opie::Core::ODevice::inst(), jackPercent, Opie::Core::Model_iPAQ, percent, and ps. Referenced by BatteryStatus(). |
|
|
Definition at line 110 of file batterystatus.cpp. |
|
|
Definition at line 57 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), paintEvent(), sizeHint(), and statusText(). |
|
|
Definition at line 58 of file batterystatus.h. |
|
|
Definition at line 55 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), and paintEvent(). |
|
|
Definition at line 46 of file batterystatus.h. Referenced by getProcApmStatusIpaq(). |
|
|
Definition at line 53 of file batterystatus.h. Referenced by getProcApmStatusIpaq(). |
|
|
Definition at line 56 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), and paintEvent(). |
|
|
Definition at line 48 of file batterystatus.h. |
|
|
Definition at line 47 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), paintEvent(), and UpdateBatteryStatus(). |
|
|
Definition at line 54 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), and statusTextIpaq(). |
|
|
Definition at line 49 of file batterystatus.h. Referenced by getProcApmStatusIpaq(). |
|
|
Definition at line 51 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), and statusTextIpaq(). |
|
|
Definition at line 45 of file batterystatus.h. Referenced by paintEvent(), statusText(), UpdateBatteryStatus(), and updatePercent(). |
|
|
Definition at line 44 of file batterystatus.h. Referenced by paintEvent(), statusText(), and UpdateBatteryStatus(). |
|
|
Definition at line 60 of file batterystatus.h. |
|
|
Definition at line 59 of file batterystatus.h. |
|
|
Definition at line 50 of file batterystatus.h. Referenced by getProcApmStatusIpaq(). |
|
|
Definition at line 52 of file batterystatus.h. Referenced by getProcApmStatusIpaq(), and statusTextIpaq(). |
1.4.2