summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookevent.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookevent.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookevent.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/pim/today/plugins/datebook/datebookevent.cpp b/core/pim/today/plugins/datebook/datebookevent.cpp
index e595047..e19a690 100644
--- a/core/pim/today/plugins/datebook/datebookevent.cpp
+++ b/core/pim/today/plugins/datebook/datebookevent.cpp
@@ -1,45 +1,43 @@
1/* 1/*
2 * datebookevent.cpp 2 * datebookevent.cpp
3 * 3 *
4 * copyright : (c) 2002, 2003 by Maximilian Reiß 4 * copyright : (c) 2002, 2003 by Maximilian Reiß
5 * email : harlekin@handhelds.org 5 * email : harlekin@handhelds.org
6 * 6 *
7 */ 7 */
8/*************************************************************************** 8/***************************************************************************
9 * * 9 * *
10 * This program is free software; you can redistribute it and/or modify * 10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by * 11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17#include "datebookevent.h" 17#include "datebookevent.h"
18#include <qpe/config.h> 18#include <qpe/config.h>
19#include <qpe/timestring.h>
20#include <qpe/qcopenvelope_qws.h> 19#include <qpe/qcopenvelope_qws.h>
21#include <qpe/qpeapplication.h>
22#include <qpe/calendar.h> 20#include <qpe/calendar.h>
23 21
24#include <opie/odevice.h> 22#include <opie/odevice.h>
25 23
26using namespace Opie; 24using namespace Opie;
27 25
28DateBookEvent::DateBookEvent(const EffectiveEvent &ev, 26DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
29 QWidget* parent, 27 QWidget* parent,
30 bool show_location, 28 bool show_location,
31 bool show_notes, 29 bool show_notes,
32 bool timeExtraLine, 30 bool timeExtraLine,
33 int maxCharClip, 31 int maxCharClip,
34 const char* name, 32 const char* name,
35 WFlags fl) : 33 WFlags fl) :
36 OClickableLabel(parent,name,fl), event(ev) { 34 OClickableLabel(parent,name,fl), event(ev) {
37 35
38 // setAlignment( AlignTop ); 36 // setAlignment( AlignTop );
39 37
40 QString msg; 38 QString msg;
41 39
42 Config config( "qpe" ); 40 Config config( "qpe" );
43 config.setGroup( "Time" ); 41 config.setGroup( "Time" );
44 // if 24 h format 42 // if 24 h format
45 ampm = config.readBoolEntry( "AMPM", TRUE ); 43 ampm = config.readBoolEntry( "AMPM", TRUE );