summaryrefslogtreecommitdiff
authorzecke <zecke>2002-09-10 13:11:25 (UTC)
committer zecke <zecke>2002-09-10 13:11:25 (UTC)
commita73774e8ab1d14c76f17c854c6b6cdf801abfe82 (patch) (unidiff)
tree27b0ddb41a40133bfaad34781ce69890615e4acc
parent8064c0e86eed8a48c2c7745195bf991b1d83f504 (diff)
downloadopie-a73774e8ab1d14c76f17c854c6b6cdf801abfe82.zip
opie-a73774e8ab1d14c76f17c854c6b6cdf801abfe82.tar.gz
opie-a73774e8ab1d14c76f17c854c6b6cdf801abfe82.tar.bz2
Fix inline for Event::start
Diffstat (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
425 if ( !description().isEmpty() ) 425 if ( !description().isEmpty() )
426 m.insert( DatebookDescription, description() ); 426 m.insert( DatebookDescription, description() );
427 if ( !location().isEmpty() ) 427 if ( !location().isEmpty() )
428 m.insert ( Location, location() ); 428 m.insert ( Location, location() );
429 if ( categories().count() ) 429 if ( categories().count() )
@@ -586,5 +586,7 @@ Event::Type Event::type() const
586 return typ; 586 return typ;
587} 587}
588 588QDateTime Event::start() const {
589 return start( TRUE );
590}
589/*! 591/*!
590 \internal 592 \internal
@@ -602,4 +604,7 @@ QDateTime Event::start( bool actual ) const
602} 604}
603 605
606QDateTime Event::end() const {
607 return end( TRUE );
608}
604/*! 609/*!
605 \internal 610 \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)
269 if (enable) 269 if (enable)
270 setType(AllDay); 270 setType(AllDay);
271 else 271 else
272 setType(Normal); 272 setType(Normal);
273}; 273};
274 274
275inline bool Event::isAllDay() const 275inline bool Event::isAllDay() const
@@ -342,5 +342,5 @@ inline void Event::setRepeatOnWeekDay(int day, bool enable)
342 pattern.days ^= 1 << (day - 1); 342 pattern.days ^= 1 << (day - 1);
343} 343}
344 344/*
345inline QDateTime Event::start( ) const 345inline QDateTime Event::start( ) const
346{ 346{
@@ -352,5 +352,5 @@ inline QDateTime Event::end( ) const
352 return end(FALSE); 352 return end(FALSE);
353} 353}
354 354*/
355#ifdef PALMTOPCENTER 355#ifdef PALMTOPCENTER
356class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent> 356class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent>