-rw-r--r-- | core/applets/clockapplet/clock.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/applets/clockapplet/clock.cpp b/core/applets/clockapplet/clock.cpp index 3b13d74..7d396e7 100644 --- a/core/applets/clockapplet/clock.cpp +++ b/core/applets/clockapplet/clock.cpp | |||
@@ -20,12 +20,16 @@ | |||
20 | 20 | ||
21 | #include "clock.h" | 21 | #include "clock.h" |
22 | 22 | ||
23 | /* OPIE */ | ||
24 | #include <opie2/odebug.h> | ||
23 | #include <opie2/otaskbarapplet.h> | 25 | #include <opie2/otaskbarapplet.h> |
24 | #include <qpe/qpeapplication.h> | 26 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/qcopenvelope_qws.h> | 27 | #include <qpe/qcopenvelope_qws.h> |
26 | #include <qpe/config.h> | 28 | #include <qpe/config.h> |
27 | 29 | ||
30 | using namespace Opie::Core; | ||
28 | using namespace Opie::Ui; | 31 | using namespace Opie::Ui; |
32 | |||
29 | LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) | 33 | LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) |
30 | { | 34 | { |
31 | // If you want a sunken border around the clock do this: | 35 | // If you want a sunken border around the clock do this: |
@@ -55,9 +59,9 @@ void LauncherClock::readConfig() { | |||
55 | 59 | ||
56 | void LauncherClock::mouseReleaseEvent( QMouseEvent * ) | 60 | void LauncherClock::mouseReleaseEvent( QMouseEvent * ) |
57 | { | 61 | { |
58 | QCString setTimeApp; | 62 | QCString setTimeApp; |
59 | setTimeApp="systemtime"; | 63 | setTimeApp="systemtime"; |
60 | QCopEnvelope e("QPE/Application/"+setTimeApp, "raise()"); | 64 | QCopEnvelope e("QPE/Application/"+setTimeApp, "raise()"); |
61 | } | 65 | } |
62 | 66 | ||
63 | 67 | ||