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 /kresources/kolab/kcal/journal.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 '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; }; } |