From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/kolab/kcal/task.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kresources/kolab/kcal/task.h') diff --git a/kresources/kolab/kcal/task.h b/kresources/kolab/kcal/task.h index 6fe318e2c..624605a29 100644 --- a/kresources/kolab/kcal/task.h +++ b/kresources/kolab/kcal/task.h @@ -21,11 +21,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -58,7 +58,7 @@ public: /// Use this to parse an xml string to a task entry /// The caller is responsible for deleting the returned task static KCal::Todo* xmlToTask( const TQString& xml, const TQString& tz, KCal::ResourceKolab *res = 0, - const TQString& subResource = TQString::null, TQ_UINT32 sernum = 0 ); + const TQString& subResource = TQString(), TQ_UINT32 sernum = 0 ); /// Use this to get an xml string describing this task entry static TQString taskToXML( KCal::Todo*, const TQString& tz ); @@ -77,11 +77,11 @@ public: virtual void setPercentCompleted( int percent ); virtual int percentCompleted() const; - virtual void seStatus( KCal::Incidence::Status status ); - virtual KCal::Incidence::Status status() const; + virtual void setqStatus( KCal::Incidence::tqStatus status ); + virtual KCal::Incidence::tqStatus status() const; - virtual void setParent( const TQString& parentUid ); - virtual TQString parent() const; + virtual void setParent( const TQString& tqparentUid ); + virtual TQString tqparent() const; virtual void setHasStartDate( bool ); virtual bool hasStartDate() const; @@ -126,7 +126,7 @@ protected: int mKCalPriorityFromDom; int mPercentCompleted; - KCal::Incidence::Status mStatus; + KCal::Incidence::tqStatus mtqStatus; TQString mParent; bool mHasStartDate; -- cgit v1.2.1