Diffstat (limited to 'core/applets/volumeapplet/volume.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index c736437..8fd88f6 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp @@ -20,6 +20,7 @@ -#include <stdio.h> - #include "volume.h" +#include "oledbox.h" +#include <opie2/odevice.h> +#include <opie2/otaskbarapplet.h> #include <qpe/resource.h> @@ -27,5 +28,3 @@ #include <qpe/config.h> -#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) #include <qpe/qcopenvelope_qws.h> -#endif @@ -37,3 +36,2 @@ #include <qlabel.h> - #include <qpushbutton.h> @@ -41,5 +39,3 @@ -#include <opie/odevice.h> - -#include "oledbox.h" +#include <stdio.h> @@ -739,2 +735,6 @@ VolumeApplet::~VolumeApplet() +int VolumeApplet::position() +{ + return 6; +} @@ -779 +779,5 @@ void VolumeApplet::paintEvent ( QPaintEvent * ) +Q_EXPORT_INTERFACE() +{ + Q_CREATE_INSTANCE( OTaskbarAppletWrapper<VolumeApplet> ); +} |