author | harlekin <harlekin> | 2003-01-14 22:44:15 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-01-14 22:44:15 (UTC) |
commit | a3f38b108a5197d50a0fd7bc27fa204578a48d72 (patch) (unidiff) | |
tree | 3e53aed9d902f6eecbffd3e6e04ec4da9d96168e /core/applets/batteryapplet/batterystatus.cpp | |
parent | eb14b813e5cdb1f9fa9abd28f9301de88f5c6d1c (diff) | |
download | opie-a3f38b108a5197d50a0fd7bc27fa204578a48d72.zip opie-a3f38b108a5197d50a0fd7bc27fa204578a48d72.tar.gz opie-a3f38b108a5197d50a0fd7bc27fa204578a48d72.tar.bz2 |
changed caption, took for ipaq out
Diffstat (limited to 'core/applets/batteryapplet/batterystatus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/batterystatus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp index 2af3e99..28d6275 100644 --- a/core/applets/batteryapplet/batterystatus.cpp +++ b/core/applets/batteryapplet/batterystatus.cpp | |||
@@ -7,25 +7,25 @@ | |||
7 | 7 | ||
8 | #include <qpainter.h> | 8 | #include <qpainter.h> |
9 | #include <qpushbutton.h> | 9 | #include <qpushbutton.h> |
10 | #include <qdrawutil.h> | 10 | #include <qdrawutil.h> |
11 | #include <qfile.h> | 11 | #include <qfile.h> |
12 | #include <qtextstream.h> | 12 | #include <qtextstream.h> |
13 | #include <qmessagebox.h> | 13 | #include <qmessagebox.h> |
14 | 14 | ||
15 | using namespace Opie; | 15 | using namespace Opie; |
16 | 16 | ||
17 | BatteryStatus::BatteryStatus( const PowerStatus *p, QWidget *parent ) | 17 | BatteryStatus::BatteryStatus( const PowerStatus *p, QWidget *parent ) |
18 | : QWidget( parent, 0, WDestructiveClose), ps(p) { | 18 | : QWidget( parent, 0, WDestructiveClose), ps(p) { |
19 | setCaption( tr("Battery status for Ipaq") ); | 19 | setCaption( tr("Battery status") ); |
20 | QPushButton *pb = new QPushButton( tr("Close"), this ); | 20 | QPushButton *pb = new QPushButton( tr("Close"), this ); |
21 | pb->move( 70, 250 ); | 21 | pb->move( 70, 250 ); |
22 | pb->setMaximumHeight(20); | 22 | pb->setMaximumHeight(20); |
23 | pb->show(); | 23 | pb->show(); |
24 | if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { | 24 | if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { |
25 | getProcApmStatusIpaq(); | 25 | getProcApmStatusIpaq(); |
26 | } | 26 | } |
27 | connect( pb, SIGNAL( clicked() ), this, SLOT( close() ) ); | 27 | connect( pb, SIGNAL( clicked() ), this, SLOT( close() ) ); |
28 | percent = ps->batteryPercentRemaining(); | 28 | percent = ps->batteryPercentRemaining(); |
29 | show(); | 29 | show(); |
30 | } | 30 | } |
31 | 31 | ||