summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/event.cpp9
-rw-r--r--library/backend/event.h8
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
@@ -425,5 +425,5 @@ QMap<int, QString> Event::toMap() const
if ( !description().isEmpty() )
m.insert( DatebookDescription, description() );
- if ( !location().isEmpty() )
+ if ( !location().isEmpty() )
m.insert ( Location, location() );
if ( categories().count() )
@@ -586,5 +586,7 @@ Event::Type Event::type() const
return typ;
}
-
+QDateTime Event::start() const {
+ return start( TRUE );
+}
/*!
\internal
@@ -602,4 +604,7 @@ QDateTime Event::start( bool actual ) const
}
+QDateTime Event::end() const {
+ return end( TRUE );
+}
/*!
\internal
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
@@ -269,7 +269,7 @@ inline void Event::setAllDay(bool enable)
if (enable)
setType(AllDay);
- else
+ else
setType(Normal);
-};
+};
inline bool Event::isAllDay() const
@@ -342,5 +342,5 @@ inline void Event::setRepeatOnWeekDay(int day, bool enable)
pattern.days ^= 1 << (day - 1);
}
-
+/*
inline QDateTime Event::start( ) const
{
@@ -352,5 +352,5 @@ inline QDateTime Event::end( ) const
return end(FALSE);
}
-
+*/
#ifdef PALMTOPCENTER
class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent>