author | zecke <zecke> | 2002-09-21 12:19:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-21 12:19:02 (UTC) |
commit | 279f025b03efdade9c211dd9441eec0c2a91ad94 (patch) (side-by-side diff) | |
tree | 39468f487c8fd6aa46ed6664314937daec7b1d99 | |
parent | 90b5f15ac863d5eb833d2d9e832b43d05c4079a4 (diff) | |
download | opie-279f025b03efdade9c211dd9441eec0c2a91ad94.zip opie-279f025b03efdade9c211dd9441eec0c2a91ad94.tar.gz opie-279f025b03efdade9c211dd9441eec0c2a91ad94.tar.bz2 |
Remove the start(void)const and end(void)const stuff
-rw-r--r-- | library/backend/event.h | 17 |
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 @@ -103,15 +103,13 @@ public: bool isAllDay() const; void setStart( const QDateTime &d ); void setStart( time_t time ); // don't use me. - QDateTime start( ) const; - QDateTime start( bool actual ) const; // don't use me. + QDateTime start( bool actual = FALSE) const; // don't use me. time_t startTime() const { return startUTC; } // don't use me. void setEnd( const QDateTime &e ); void setEnd( time_t time ); // don't use me - QDateTime end( ) const; - QDateTime end( bool actual ) const; // don't use me. + QDateTime end( bool actual = FALSE ) const; // don't use me. time_t endTime() const { return endUTC; } // don't use me. void setTimeZone( const QString & ); const QString &timeZone() const; void setAlarm( int minutes, SoundTypeChoice ); @@ -340,19 +338,8 @@ inline void Event::setRepeatOnWeekDay(int day, bool enable) { if ( repeatOnWeekDay( day ) != enable ) pattern.days ^= 1 << (day - 1); } - -inline QDateTime Event::start( ) const -{ - return start(FALSE); -} - -inline QDateTime Event::end( ) const -{ - return end(FALSE); -} - #ifdef PALMTOPCENTER class QPC_EXPORT EffectiveEventSizeSorter : public QSorter<EffectiveEvent> { public: |