summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/knotes/note.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/kolab/knotes/note.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/knotes/note.h')
-rw-r--r--kresources/kolab/knotes/note.h34
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;
};