From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/todo.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'libkcal/todo.h') diff --git a/libkcal/todo.h b/libkcal/todo.h index d81576d55..1a7b050d4 100644 --- a/libkcal/todo.h +++ b/libkcal/todo.h @@ -39,7 +39,7 @@ class LIBKCAL_EXPORT Todo : public Incidence Todo& operator=( const Todo& ); bool operator==( const Todo& ) const; - QCString type() const { return "Todo"; } + TQCString type() const { return "Todo"; } /** Returns an exact copy of this todo. The returned object is owned by the @@ -53,7 +53,7 @@ class LIBKCAL_EXPORT Todo : public Incidence @param dtDue The due date/time. @param first Set the date of the first occurrence (if the todo is recurrent). */ - void setDtDue(const QDateTime &dtDue, bool first = false); + void setDtDue(const TQDateTime &dtDue, bool first = false); /** Returns due date and time. @@ -62,12 +62,12 @@ class LIBKCAL_EXPORT Todo : public Incidence current occurrence will be returned. If non-recurrent, the normal due date will be returned. */ - QDateTime dtDue( bool first = false ) const; + TQDateTime dtDue( bool first = false ) const; /** Returns due time as string formatted according to the users locale settings. */ - QString dtDueTimeStr() const; + TQString dtDueTimeStr() const; /** Returns due date as string formatted according to the users locale settings. @@ -75,12 +75,12 @@ class LIBKCAL_EXPORT Todo : public Incidence @param shortfmt If set to true, use short date format, if set to false use long format. */ - QString dtDueDateStr( bool shortfmt = true ) const; + TQString dtDueDateStr( bool shortfmt = true ) const; /** Returns due date and time as string formatted according to the users locale settings. */ - QString dtDueStr() const; + TQString dtDueStr() const; /** Returns true if the todo has a due date, otherwise return false. @@ -111,12 +111,12 @@ class LIBKCAL_EXPORT Todo : public Incidence If false and the todo recurs, the relative startdate will be returned, based on the date returned by dtRecurrence(). */ - QDateTime dtStart( bool first = false ) const; + TQDateTime dtStart( bool first = false ) const; /** Sets the startdate of the todo. */ - void setDtStart( const QDateTime &dtStart ); + void setDtStart( const TQDateTime &dtStart ); /** Returns an todo's starting time as a string formatted according to the users locale settings. @@ -125,7 +125,7 @@ class LIBKCAL_EXPORT Todo : public Incidence If false and the todo recurs, the relative startdate will be returned, based on the date returned by dtRecurrence(). */ - QString dtStartTimeStr( bool first = false ) const; + TQString dtStartTimeStr( bool first = false ) const; /** Returns an todo's starting date as a string formatted according to the users locale settings. @param shortfmt If true, use short date format, if set to false use @@ -135,7 +135,7 @@ class LIBKCAL_EXPORT Todo : public Incidence If false and the todo recurs, the relative startdate will be returned, based on the date returned by dtRecurrence(). */ - QString dtStartDateStr( bool shortfmt = true, bool first = false ) const; + TQString dtStartDateStr( bool shortfmt = true, bool first = false ) const; /** Returns an todo's starting date and time as a string formatted according to the users locale settings. @param first If true, the startdate of the todo will be returned. If the @@ -143,7 +143,7 @@ class LIBKCAL_EXPORT Todo : public Incidence If false and the todo recurs, the relative startdate will be returned, based on the date returned by dtRecurrence(). */ - QString dtStartStr( bool first = false ) const; + TQString dtStartStr( bool first = false ) const; /** Returns true if the todo is 100% completed, otherwise return false. @@ -171,16 +171,16 @@ class LIBKCAL_EXPORT Todo : public Incidence /** Returns date and time when todo was completed. */ - QDateTime completed() const; + TQDateTime completed() const; /** Returns string contaiting date and time when the todo was completed formatted according to the users locale settings. */ - QString completedStr() const; + TQString completedStr() const; /** Set date and time of completion. */ - void setCompleted( const QDateTime &completed ); + void setCompleted( const TQDateTime &completed ); /** Returns true, if todo has a date associated with completion, otherwise @@ -191,12 +191,12 @@ class LIBKCAL_EXPORT Todo : public Incidence /** Sets the due date/time of the current occurrence if recurrent. */ - void setDtRecurrence( const QDateTime &dt ); + void setDtRecurrence( const TQDateTime &dt ); /** Returns the due date/time of the current occurrence if recurrent. */ - QDateTime dtRecurrence() const; + TQDateTime dtRecurrence() const; /** Returns true if the date specified is one on which the todo will @@ -204,7 +204,7 @@ class LIBKCAL_EXPORT Todo : public Incidence check, which make it return false if there's an occurrence between the recurstart and today. */ - virtual bool recursOn( const QDate &date ) const; + virtual bool recursOn( const TQDate &date ) const; /** Returns true if this todo is overdue (e.g. due date is lower than today @@ -214,21 +214,21 @@ class LIBKCAL_EXPORT Todo : public Incidence protected: /** Return the end date/time of the base incidence. */ - virtual QDateTime endDateRecurrenceBase() const { return dtDue(); } + virtual TQDateTime endDateRecurrenceBase() const { return dtDue(); } private: bool accept(Visitor &v) { return v.visit( this ); } /** Returns true if the todo got a new date, else false will be returned. */ bool recurTodo(); - QDateTime mDtDue; // due date of todo + TQDateTime mDtDue; // due date of todo // (first occurrence if recurrent) - QDateTime mDtRecurrence; // due date of recurrence + TQDateTime mDtRecurrence; // due date of recurrence bool mHasDueDate; // if todo has associated due date bool mHasStartDate; // if todo has associated start date - QDateTime mCompleted; + TQDateTime mCompleted; bool mHasCompletedDate; int mPercentComplete; -- cgit v1.2.1