summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kcal/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/kcal/task.h')
-rw-r--r--kresources/kolab/kcal/task.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kresources/kolab/kcal/task.h b/kresources/kolab/kcal/task.h
index 96bcafd96..32095bcab 100644
--- a/kresources/kolab/kcal/task.h
+++ b/kresources/kolab/kcal/task.h
@@ -57,17 +57,17 @@ class Task : public Incidence {
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 QString& xml, const QString& tz, KCal::ResourceKolab *res = 0,
- const QString& subResource = QString::null, Q_UINT32 sernum = 0 );
+ static KCal::Todo* xmlToTask( const TQString& xml, const TQString& tz, KCal::ResourceKolab *res = 0,
+ const TQString& subResource = TQString::null, Q_UINT32 sernum = 0 );
/// Use this to get an xml string describing this task entry
- static QString taskToXML( KCal::Todo*, const QString& tz );
+ static TQString taskToXML( KCal::Todo*, const TQString& tz );
- explicit Task( KCal::ResourceKolab *res, const QString& subResource, Q_UINT32 sernum,
- const QString& tz, KCal::Todo* todo = 0 );
+ explicit Task( KCal::ResourceKolab *res, const TQString& subResource, Q_UINT32 sernum,
+ const TQString& tz, KCal::Todo* todo = 0 );
virtual ~Task();
- virtual QString type() const { return "Task"; }
+ virtual TQString type() const { return "Task"; }
void saveTo( KCal::Todo* todo );
@@ -80,31 +80,31 @@ public:
virtual void setStatus( KCal::Incidence::Status status );
virtual KCal::Incidence::Status status() const;
- virtual void setParent( const QString& parentUid );
- virtual QString parent() const;
+ virtual void setParent( const TQString& parentUid );
+ virtual TQString parent() const;
virtual void setHasStartDate( bool );
virtual bool hasStartDate() const;
- virtual void setDueDate( const QDateTime& date );
- virtual QDateTime dueDate() const;
+ virtual void setDueDate( const TQDateTime& date );
+ virtual TQDateTime dueDate() const;
virtual bool hasDueDate() const;
- virtual void setCompletedDate( const QDateTime& date );
- virtual QDateTime completedDate() const;
+ virtual void setCompletedDate( const TQDateTime& date );
+ virtual TQDateTime completedDate() const;
virtual bool hasCompletedDate() const;
// Load the attributes of this class
- virtual bool loadAttribute( QDomElement& );
+ virtual bool loadAttribute( TQDomElement& );
// Save the attributes of this class
- virtual bool saveAttributes( QDomElement& ) const;
+ virtual bool saveAttributes( TQDomElement& ) const;
// Load this task by reading the XML file
- virtual bool loadXML( const QDomDocument& xml );
+ virtual bool loadXML( const TQDomDocument& xml );
// Serialize this task to an XML string
- virtual QString saveXML() const;
+ virtual TQString saveXML() const;
protected:
// Read all known fields from this ical todo
@@ -113,15 +113,15 @@ protected:
int mPriority;
int mPercentCompleted;
KCal::Incidence::Status mStatus;
- QString mParent;
+ TQString mParent;
bool mHasStartDate;
bool mHasDueDate;
- QDateTime mDueDate;
+ TQDateTime mDueDate;
bool mHasCompletedDate;
- QDateTime mCompletedDate;
+ TQDateTime mCompletedDate;
};
}