author | zecke <zecke> | 2004-03-14 20:23:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:23:19 (UTC) |
commit | 740fd610a576b1a1afe95a4736c7c8c0db6ee1df (patch) (side-by-side diff) | |
tree | 71c1e3ecc9882bebd5ab6c8ca3438f36a5c7c092 /core/pim/today/plugins/datebook/datebookevent.cpp | |
parent | 18dc118b49dbfb2c4d986538002a1c8f771b33ed (diff) | |
download | opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.zip opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.gz opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.bz2 |
Compile fixes
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.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookevent.cpp b/core/pim/today/plugins/datebook/datebookevent.cpp index 9a820f2..f5b0d0a 100644 --- a/core/pim/today/plugins/datebook/datebookevent.cpp +++ b/core/pim/today/plugins/datebook/datebookevent.cpp @@ -1,49 +1,50 @@ /* * datebookevent.cpp * * copyright : (c) 2002, 2003, 2004 by Maximilian Reiß * email : harlekin@handhelds.org * */ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include "datebookevent.h" #include <qpe/config.h> #include <qpe/qcopenvelope_qws.h> #include <qpe/calendar.h> #include <opie2/odevice.h> -using namespace Opie; +using namespace Opie::Ui; +using namespace Opie::Core; DateBookEvent::DateBookEvent(const EffectiveEvent &ev, QWidget* parent, bool show_location, bool show_notes, bool timeExtraLine, int maxCharClip, const char* name, WFlags fl) : OClickableLabel(parent,name,fl), event(ev) { // setAlignment( AlignTop ); QString msg; Config config( "qpe" ); config.setGroup( "Time" ); // if 24 h format ampm = config.readBoolEntry( "AMPM", TRUE ); msg += "<B>" + (ev).description() + "</B>"; if ( (ev).event().hasAlarm() ) { msg += " <b>" + tr("[with alarm]") +"</b>"; } |