-rw-r--r-- | core/applets/volumeapplet/oledbox.cpp | 1 | ||||
-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 4 | ||||
-rw-r--r-- | core/applets/volumeapplet/volumeappletimpl.cpp | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/core/applets/volumeapplet/oledbox.cpp b/core/applets/volumeapplet/oledbox.cpp index 7547287..bf275a9 100644 --- a/core/applets/volumeapplet/oledbox.cpp +++ b/core/applets/volumeapplet/oledbox.cpp | |||
@@ -1,14 +1,13 @@ | |||
1 | 1 | ||
2 | #include <qpixmap.h> | ||
3 | #include <qbitmap.h> | 2 | #include <qbitmap.h> |
4 | #include <qpainter.h> | 3 | #include <qpainter.h> |
5 | 4 | ||
6 | #include "oledbox.h" | 5 | #include "oledbox.h" |
7 | 6 | ||
8 | 7 | ||
9 | #ifdef _QTE_IS_TOO_DUMB_TO_DRAW_AN_ARC | 8 | #ifdef _QTE_IS_TOO_DUMB_TO_DRAW_AN_ARC |
10 | 9 | ||
11 | /* XPM */ | 10 | /* XPM */ |
12 | static const char * ledborder_xpm[] = { | 11 | static const char * ledborder_xpm[] = { |
13 | "16 16 11 1", | 12 | "16 16 11 1", |
14 | " c None", | 13 | " c None", |
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index 38f827e..c736437 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp | |||
@@ -14,41 +14,37 @@ | |||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | 22 | ||
23 | #include "volume.h" | 23 | #include "volume.h" |
24 | 24 | ||
25 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
26 | #include <qpe/qpeapplication.h> | ||
27 | #include <qpe/applnk.h> | 26 | #include <qpe/applnk.h> |
28 | #include <qpe/config.h> | 27 | #include <qpe/config.h> |
29 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 28 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
30 | #include <qpe/qcopenvelope_qws.h> | 29 | #include <qpe/qcopenvelope_qws.h> |
31 | #endif | 30 | #endif |
32 | 31 | ||
33 | #include <qpainter.h> | 32 | #include <qpainter.h> |
34 | #include <qcheckbox.h> | 33 | #include <qcheckbox.h> |
35 | #include <qslider.h> | 34 | #include <qslider.h> |
36 | #include <qlayout.h> | 35 | #include <qlayout.h> |
37 | #include <qframe.h> | ||
38 | #include <qpixmap.h> | ||
39 | #include <qvbox.h> | 36 | #include <qvbox.h> |
40 | #include <qlabel.h> | 37 | #include <qlabel.h> |
41 | 38 | ||
42 | #include <qtoolbutton.h> | ||
43 | #include <qpushbutton.h> | 39 | #include <qpushbutton.h> |
44 | #include <qtimer.h> | 40 | #include <qtimer.h> |
45 | 41 | ||
46 | #include <opie/odevice.h> | 42 | #include <opie/odevice.h> |
47 | 43 | ||
48 | #include "oledbox.h" | 44 | #include "oledbox.h" |
49 | 45 | ||
50 | using namespace Opie; | 46 | using namespace Opie; |
51 | 47 | ||
52 | #define RATE_TIMER_INTERVAL 100 | 48 | #define RATE_TIMER_INTERVAL 100 |
53 | // Ten times per second is fine (RATE_TIMER_INTERVAL 100). A shorter time | 49 | // Ten times per second is fine (RATE_TIMER_INTERVAL 100). A shorter time |
54 | // results in "hanging" buttons on the iPAQ due to quite high CPU consumption. | 50 | // results in "hanging" buttons on the iPAQ due to quite high CPU consumption. |
diff --git a/core/applets/volumeapplet/volumeappletimpl.cpp b/core/applets/volumeapplet/volumeappletimpl.cpp index 4cbab31..9c7dea3 100644 --- a/core/applets/volumeapplet/volumeappletimpl.cpp +++ b/core/applets/volumeapplet/volumeappletimpl.cpp | |||
@@ -10,26 +10,24 @@ | |||
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "volume.h" | 20 | #include "volume.h" |
21 | #include "volumeappletimpl.h" | 21 | #include "volumeappletimpl.h" |
22 | #include <qpe/qcopenvelope_qws.h> | ||
23 | #include <qpe/config.h> | ||
24 | 22 | ||
25 | VolumeAppletImpl::VolumeAppletImpl() | 23 | VolumeAppletImpl::VolumeAppletImpl() |
26 | : volume(0) | 24 | : volume(0) |
27 | { | 25 | { |
28 | } | 26 | } |
29 | 27 | ||
30 | VolumeAppletImpl::~VolumeAppletImpl() | 28 | VolumeAppletImpl::~VolumeAppletImpl() |
31 | { | 29 | { |
32 | delete volume; | 30 | delete volume; |
33 | } | 31 | } |
34 | 32 | ||
35 | QWidget *VolumeAppletImpl::applet( QWidget *parent ) | 33 | QWidget *VolumeAppletImpl::applet( QWidget *parent ) |