diff options
Diffstat (limited to 'libkcal/event.h')
-rw-r--r-- | libkcal/event.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libkcal/event.h b/libkcal/event.h index 334c10392..39980556c 100644 --- a/libkcal/event.h +++ b/libkcal/event.h @@ -48,7 +48,7 @@ class LIBKCAL_EXPORT Event : public Incidence Event& operator=( const Event &e ); bool operator==( const Event & ) const; - QCString type() const { return "Event"; } + TQCString type() const { return "Event"; } /** Return copy of this Event. The caller owns the returned objet. @@ -58,22 +58,22 @@ class LIBKCAL_EXPORT Event : public Incidence /** Set end date and time. */ - void setDtEnd(const QDateTime &dtEnd); + void setDtEnd(const TQDateTime &dtEnd); /** Return end date and time. */ - virtual QDateTime dtEnd() const; + virtual TQDateTime dtEnd() const; /** Returns the day when the event ends. This might be different from dtEnd().date, since the end date/time is non-inclusive. So timed events ending at 0:00 have their end date on the day before. */ - QDate dateEnd() const; + TQDate dateEnd() const; /** Return end time as string formatted according to the users locale settings. */ - QString dtEndTimeStr() const; + TQString dtEndTimeStr() const; /** Return end date as string formatted according to the users locale settings. @@ -81,12 +81,12 @@ class LIBKCAL_EXPORT Event : public Incidence @param shortfmt if true return string in short format, if false return long format */ - QString dtEndDateStr( bool shortfmt = true ) const; + TQString dtEndDateStr( bool shortfmt = true ) const; /** Return end date and time as string formatted according to the users locale settings. */ - QString dtEndStr() const; + TQString dtEndStr() const; /** Set whether the event has an end date/time. @@ -118,11 +118,11 @@ class LIBKCAL_EXPORT Event : public Incidence protected: /** Return the end date/time of the base incidence. */ - virtual QDateTime endDateRecurrenceBase() const { return dtEnd(); } + virtual TQDateTime endDateRecurrenceBase() const { return dtEnd(); } private: bool accept( Visitor &v ) { return v.visit( this ); } - QDateTime mDtEnd; + TQDateTime mDtEnd; bool mHasEndDate; Transparency mTransparency; |