diff options
Diffstat (limited to 'kresources/kolab/knotes/note.h')
-rw-r--r-- | kresources/kolab/knotes/note.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kresources/kolab/knotes/note.h b/kresources/kolab/knotes/note.h index 45769f97b..7a1c42407 100644 --- a/kresources/kolab/knotes/note.h +++ b/kresources/kolab/knotes/note.h @@ -54,10 +54,10 @@ class Note : 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 ); + static KCal::Journal* xmlToJournal( const TQString& xml ); /// Use this to get an xml string describing this journal entry - static QString journalToXML( KCal::Journal* ); + static TQString journalToXML( KCal::Journal* ); /// Create a note object and explicit Note( KCal::Journal* journal = 0 ); @@ -65,31 +65,31 @@ public: void saveTo( KCal::Journal* journal ); - virtual QString type() const { return "Note"; } + virtual TQString type() const { return "Note"; } - virtual void setSummary( const QString& summary ); - virtual QString summary() const; + virtual void setSummary( const TQString& summary ); + virtual TQString summary() const; - virtual void setBackgroundColor( const QColor& bgColor ); - virtual QColor backgroundColor() const; + virtual void setBackgroundColor( const TQColor& bgColor ); + virtual TQColor backgroundColor() const; - virtual void setForegroundColor( const QColor& fgColor ); - virtual QColor foregroundColor() const; + virtual void setForegroundColor( const TQColor& fgColor ); + virtual TQColor foregroundColor() const; virtual void setRichText( bool richText ); virtual bool richText() 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 note by reading the XML file - virtual bool loadXML( const QDomDocument& xml ); + virtual bool loadXML( const TQDomDocument& xml ); // Serialize this note to an XML string - virtual QString saveXML() const; + virtual TQString saveXML() const; protected: // Read all known fields from this ical incidence @@ -98,11 +98,11 @@ protected: // Save all known fields into this ical incidence void saveTo( KCal::Incidence* ) const; - QString productID() const; + TQString productID() const; - QString mSummary; - QColor mBackgroundColor; - QColor mForegroundColor; + TQString mSummary; + TQColor mBackgroundColor; + TQColor mForegroundColor; bool mRichText; }; |