-rw-r--r-- | library/backend/event.cpp | 9 | ||||
-rw-r--r-- | library/backend/event.h | 8 |
2 files changed, 11 insertions, 6 deletions
diff --git a/library/backend/event.cpp b/library/backend/event.cpp index 7110717..8f3f780 100644 --- a/library/backend/event.cpp +++ b/library/backend/event.cpp @@ -426,3 +426,3 @@ QMap<int, QString> Event::toMap() const m.insert( DatebookDescription, description() ); - if ( !location().isEmpty() ) + if ( !location().isEmpty() ) m.insert ( Location, location() ); @@ -587,3 +587,5 @@ Event::Type Event::type() const } - +QDateTime Event::start() const { + return start( TRUE ); +} /*! @@ -603,2 +605,5 @@ QDateTime Event::start( bool actual ) const +QDateTime Event::end() const { + return end( TRUE ); +} /*! diff --git a/library/backend/event.h b/library/backend/event.h index 7fe41a5..2b275a4 100644 --- a/library/backend/event.h +++ b/library/backend/event.h @@ -270,5 +270,5 @@ inline void Event::setAllDay(bool enable) setType(AllDay); - else + else setType(Normal); -}; +}; @@ -343,3 +343,3 @@ inline void Event::setRepeatOnWeekDay(int day, bool enable) } - +/* inline QDateTime Event::start( ) const @@ -353,3 +353,3 @@ inline QDateTime Event::end( ) const } - +*/ #ifdef PALMTOPCENTER |