summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2002-09-21 12:19:02 (UTC)
committer zecke <zecke>2002-09-21 12:19:02 (UTC)
commit279f025b03efdade9c211dd9441eec0c2a91ad94 (patch) (unidiff)
tree39468f487c8fd6aa46ed6664314937daec7b1d99 /library
parent90b5f15ac863d5eb833d2d9e832b43d05c4079a4 (diff)
downloadopie-279f025b03efdade9c211dd9441eec0c2a91ad94.zip
opie-279f025b03efdade9c211dd9441eec0c2a91ad94.tar.gz
opie-279f025b03efdade9c211dd9441eec0c2a91ad94.tar.bz2
Remove the start(void)const and end(void)const stuff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/event.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/library/backend/event.h b/library/backend/event.h
index 4610d85..118523f 100644
--- a/library/backend/event.h
+++ b/library/backend/event.h
@@ -104,13 +104,11 @@ public:
104 104
105 void setStart( const QDateTime &d ); 105 void setStart( const QDateTime &d );
106 void setStart( time_t time ); // don't use me. 106 void setStart( time_t time ); // don't use me.
107 QDateTime start( ) const; 107 QDateTime start( bool actual = FALSE) const; // don't use me.
108 QDateTime start( bool actual ) const; // don't use me.
109 time_t startTime() const { return startUTC; } // don't use me. 108 time_t startTime() const { return startUTC; } // don't use me.
110 void setEnd( const QDateTime &e ); 109 void setEnd( const QDateTime &e );
111 void setEnd( time_t time ); // don't use me 110 void setEnd( time_t time ); // don't use me
112 QDateTime end( ) const; 111 QDateTime end( bool actual = FALSE ) const; // don't use me.
113 QDateTime end( bool actual ) const; // don't use me.
114 time_t endTime() const { return endUTC; } // don't use me. 112 time_t endTime() const { return endUTC; } // don't use me.
115 void setTimeZone( const QString & ); 113 void setTimeZone( const QString & );
116 const QString &timeZone() const; 114 const QString &timeZone() const;
@@ -341,17 +339,6 @@ inline void Event::setRepeatOnWeekDay(int day, bool enable)
341 if ( repeatOnWeekDay( day ) != enable ) 339 if ( repeatOnWeekDay( day ) != enable )
342 pattern.days ^= 1 << (day - 1); 340 pattern.days ^= 1 << (day - 1);
343} 341}
344
345inline QDateTime Event::start( ) const
346{
347 return start(FALSE);
348}
349
350inline QDateTime Event::end( ) const
351{
352 return end(FALSE);
353}
354
355#ifdef PALMTOPCENTER 342#ifdef PALMTOPCENTER
356class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent> 343class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent>
357{ 344{