diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/event.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |