diff options
Diffstat (limited to 'kresources/kolab/kcal/journal.h')
-rw-r--r-- | kresources/kolab/kcal/journal.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kresources/kolab/kcal/journal.h b/kresources/kolab/kcal/journal.h index d8b09bb96..7505e0703 100644 --- a/kresources/kolab/kcal/journal.h +++ b/kresources/kolab/kcal/journal.h @@ -54,48 +54,48 @@ class Journal : public KolabBase { public: /// Use this to parse an xml string to a journal entry /// The caller is responsible for deleting the returned journal - static KCal::Journal* xmlToJournal( const QString& xml, const QString& tz ); + static KCal::Journal* xmlToJournal( const TQString& xml, const TQString& tz ); /// Use this to get an xml string describing this journal entry - static QString journalToXML( KCal::Journal*, const QString& tz ); + static TQString journalToXML( KCal::Journal*, const TQString& tz ); - explicit Journal( const QString& tz, KCal::Journal* journal = 0 ); + explicit Journal( const TQString& tz, KCal::Journal* journal = 0 ); virtual ~Journal(); - virtual QString type() const { return "Journal"; } + virtual TQString type() const { return "Journal"; } void saveTo( KCal::Journal* journal ); - virtual void setSummary( const QString& summary ); - virtual QString summary() const; + virtual void setSummary( const TQString& summary ); + virtual TQString summary() const; - virtual void setStartDate( const QDateTime& startDate ); - virtual QDateTime startDate() const; + virtual void setStartDate( const TQDateTime& startDate ); + virtual TQDateTime startDate() const; - virtual void setEndDate( const QDateTime& endDate ); - virtual QDateTime endDate() const; + virtual void setEndDate( const TQDateTime& endDate ); + virtual TQDateTime endDate() 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 journal by reading the XML file - virtual bool loadXML( const QDomDocument& xml ); + virtual bool loadXML( const TQDomDocument& xml ); // Serialize this journal to an XML string - virtual QString saveXML() const; + virtual TQString saveXML() const; protected: // Read all known fields from this ical journal void setFields( const KCal::Journal* ); - QString productID() const; + TQString productID() const; - QString mSummary; - QDateTime mStartDate; - QDateTime mEndDate; + TQString mSummary; + TQDateTime mStartDate; + TQDateTime mEndDate; }; } |