summaryrefslogtreecommitdiff
path: root/library/backend/event.cpp
Side-by-side diff
Diffstat (limited to 'library/backend/event.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/event.cpp9
1 files changed, 7 insertions, 2 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