summaryrefslogtreecommitdiff
path: root/core/applets/clockapplet/clock.cpp
Unidiff
Diffstat (limited to 'core/applets/clockapplet/clock.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/clockapplet/clock.cpp10
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
30using namespace Opie::Core;
28using namespace Opie::Ui; 31using namespace Opie::Ui;
32
29LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) 33LauncherClock::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
56void LauncherClock::mouseReleaseEvent( QMouseEvent * ) 60void 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